afraid-scarlet•2y ago
how to save photos from user to variable?
hi guys! how can i take photos (one or multiple) the user sends and save them to a variable? (WITHOUT voiceglow, as i'm making an assistant for whatsapp)
1 Reply
To save photos from a user to a variable in a WhatsApp assistant, you would need to use a platform that supports media input, as Voiceflow does not currently support this feature directly.
Once you have the media input, you can save the URL or data of the photo to a variable. In Voiceflow, you can create a variable by starting to type in the input field with the left (curly) brace '{' and hit Create. You can set the value of your variable by inputting in the desired field in the Variables menu.
However, please note that the handling of media files like photos may require additional steps or tools outside of Voiceflow, depending on the platform you are using for your WhatsApp assistant.
For more information on creating and using variables in Voiceflow, you can refer to this documentation.