Turning the Bot Off
Turning the bot off from responding to respond.io contacts using Dialogflow Intent Parameters.
A Dialogflow agent can be turned on/off manually in the Messages Module. In addition to that a bot can be turned off using parameters in Dialogflow intents or automation rules in the platform.
Using a Dialogflow intent to turn a contact's Bot Status off can be used in order to create a human handoff in your bot workflow.
When Bot is disabled for a contact, no messages are passed to Dialogflow. Contacts with Bot disabled will appear on the platform under Action Needed section in Dashboard.

Using The Bot Status Parameter

With RB_BOTSTATUS, you can turn the bot off for the specific user by setting the value to false.
Turning the Bot Off

Best Practices

The Fallback intent does not include a place to add parameters. When turning off the bot from Dialogflow you should create a quick reply in your Fallback intent asking the contact if they want to talk to a human. If the contact responds with the yes quick reply, that should take the to the intent with the RB_BOTSTATUS parameter.
When using this parameter to disable the bot, you may also want to update the user status on the platform with RB_MARKDONE and send a notification on the platform with the RB_NOTIFY parameter within a single intent.
​
Copy link
Outline
Using The Bot Status Parameter
Best Practices