How to accept an image as the first text to a bot (twillio)

(dog dog) #1

I need have the text bot look for an image as the first text (going to human interaction), but if the user doesn’t follow directions have it auto respond.

So say our bot only wants images of frogs to be sent to start a flow (we frame frog pictures so we need to give them a quote). The user doesn’t follow directions and instead types “Hi, I have some questions about how all this works and what you charge to rate my frog photo.”

I want the bot to respond back with a “Hey you are not following directions here is how things works… you first need to send text a photo…”

Now if they send a photo or if they sent one to begin with, I want that photo to be sent to a human. The human makes sure it is a frog. Then the human quotes the customer back and says “Please select YES or NO if you accept the offer of $15? We can get to the details or answer your questions in a minute, but we need to make sure you are ok with this price, as we don’t bargain.”

If the customer responds with anything else but YES or NO we just need to repeat “Please select YES or NO if you accept the offer of $15? We can get to the details or answer your questions in a minute, but we need to make sure you are ok with this price, as we don’t bargain.”

If they say NO, then we say thanks for stopping by.
However, if they respond YES then we ask for email, phone, address, etc…

Then we say do you have any other questions and it will then need to be sent to a human again.

So my question is how do we accept and image, and then how can we send that image to S3 or some other web app?

(Daniel Beckett) #2

@jdog

It sounds like you could use a combination of two things here:

  1. The Bot > New File trigger (see Bot Triggers & Actions)
  2. An implementation for Human Takeover in your flows.

Hopefully that gives you an idea of where to start but if you get stuck with anything please feel free to email the support team at support@flowxo.com :slight_smile:

Thanks,
Dan