> For the complete documentation index, see [llms.txt](https://docs.deepconverse.com/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.deepconverse.com/product-docs/conversational-flow-builder/conversation-blocks/salesforce-blocks/agent-availability-block.md).

# Agent Availability Block

{% hint style="info" %}
The Salesforce connector is available is part of the **Enterprise** plan
{% endhint %}

You can make use of the **Salesforce - Agent Availability** block to check if the agents are available to do live chat in a specific group.

<figure><img src="/files/eVJnuO8xTLMNlBQVfLkA" alt=""><figcaption></figcaption></figure>

### Setup

<figure><img src="/files/aSiuM2PbKPdGJzGNbolk" alt=""><figcaption></figcaption></figure>

You will need to define the following parameters:

1. Live Agent Url
2. Salesforce Organization Id
3. Deployment Id
4. Button Id

Once you define the node, the node will check for availability of agents and then set the parameter

```
availability = available (if agents are available)
availability = no (if no agents are available)
```

You can then use the parameter in subsequent rules to route the conversation accordingly.
