Pause bot feature

(Bryan Song) #1

Hi Is there a way to toggle a pause bot feature. so that when it is connected to zendek or when the agent like to take over the chat the bot can be pause and retoggle on?

And if the syntax use in facebook messenger can be use eg. phone_number payload format

1 Like
(Kellsey Shaw) #2

Hi Bryan,

There’s no pause feature but you can use Attributes to set indicators/flags where you need to.

If you are using the Messaging service, you would be able to use it with a catch-all trigger.

If this was not your only catch-all trigger or you want to ensure the agent is having a conversation with the user, you may want to set an attribute to indicate that the user is in a conversation. This can be used to figure out if other catch-all flows should continue to run after being triggered.

If do need to set an attribute to indicate the user is in a conversation, you would need to use another flow, triggered by a keyword perhaps something like Bye or you could tell the user to send a phrase such as ‘end chat’? This flow would be used to reset the attribute so that you know the user is no longer in conversation with an agent.

Hopefully, this all makes sense :slight_smile: