# Turning the Bot Off

A Dialogflow agent can be turned on/off manually in the [Contacts Module](https://carliff-1.gitbook.io/yeshellold/contacts/contacts) or [Messages Module](https://carliff-1.gitbook.io/yeshellold/messages) or turned off using parameters in Dialogflow intents.

Using a Dialogflow intent to turn a contacts Bot Status off can be used in order to create a human handoff in your bot workflow.

{% hint style="info" %}
When Bot Status if off for a contact, no messages are passed to Dialogflow.
{% endhint %}

{% hint style="info" %}
Contacts Bot Status off will appear on the platform [Dashboard](https://carliff-1.gitbook.io/yeshellold/dashboard) under [Action Needed](https://carliff-1.gitbook.io/yeshellold/dashboard#action-needed).
{% endhint %}

## Using The Bot Status Parameter

With `RB_BOTSTATUS`, you can turn the bot off for the specific user by setting the value to `false`.&#x20;

![Turning the Bot Off](https://gblobscdn.gitbook.com/assets%2F-L8qsmIDw5_reabURkaE%2F-LDGCrHdy2iPpOsbNPgw%2F-LDGEggXsq_WuLtQKSTc%2FScreen%20Shot%202018-03-01%20at%205.34.41%20PM.png?alt=media\&token=7775dc86-2186-4d26-bddb-d8aeaef9c697)

## 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 shut the bot off, you may also want to update the user status on the platform with [`RB_MARKDONE`](https://carliff-1.gitbook.io/yeshellold/dialogflow-integration/dialogflow-parameters/broken-reference) and send a notification on the platform with the [`RB_NOTIFY`](https://carliff-1.gitbook.io/yeshellold/dialogflow-integration/dialogflow-parameters/broken-reference) parameter within a single intent.
