How do I set up a response when someone types in something random?

(Don Jordan) #1

So in my BOT 90% of the responses I ask for are BUTTONs, its a real estate bot, so I ask How many bedrooms do you need? 1,2 3 4 My question is if a person types in something, anything
How do I set up messages to reply ?

(Daniel Beckett) #2

Hi Don,

You can have a catch-all setup on another flow that can handle any messages that you’re not expecting.

Something like Bot > Catch All (needs to be the trigger for the flow, i.e. first action)
And then Bot > Send a Message > “Sorry, I wasn’t expecting you to say that. Please type ‘Menu’ to see a list of options that I can support.”

It’s worth noting that the catch-all won’t trigger if the user is types something random in response to a question. There’s a pre-built error message for that scenario though.

Thanks,
Dan

(Sebastian Weiß) #3

It would be good to change those Default output. Also good would be to enter several textmessages which will the bot return randomly. So then the conversation would look more natural.

(Don Jordan) #4

I dont understand how to set up more than one message…
I have set up a Catchall trigger flow, and the first action is a send message, in which i have a message, but how would I rotate different message? Thanks

(Matt Durr) #5

Hey @Donjordan, if you mean how to have a Flow alternate between different responses for the same input, FlowXO doesn’t support that yet. It’s been requested before, but not sure if it’s on the roadmap yet.

For now, you could set that up yourself with a Code block. For example, set an array of strings, and use a random calc to choose one, then use that result for the Send Message response.

1 Like