Validate whether user sent a photo in a response to a question

(Levon ) #1

Hi guys, In my use case my bot suggests user to take a picture and send it back to the bot. I am using Ask a Question action and I would like to somehow to check if user really send a photo or replied with some text. If user replied with a photo then send a message “nice photo”. If user replied with a text “dont wanna take photo” then send a message “sorry to hear that”

Can you please help \ suggest how i can achieve it?
Thanks,
Levon

1 Like
(Levon ) #2

I have learned that if i use a trigger in a new Flow - Get File, then i have a parameter file_type. But i can’t use it because it will trigger every time when user send a photo.
in my use case there are several points when bot will ask to send a photo and each time a reply should be different depending on flow and a specific question. Besides that the flow also should continue with different set of actions.

Any hint i can realise that?

1 Like