image for site

Create Condition in Zendesk Bot for Agent Availability

Learn how to set up a condition in Zendesk bot builder to check if agents are available using a custom solution with API configuration.

How can I create a condition in Zendesk bot builder to check agent availability?

To create a condition in the Zendesk bot builder to check if agents are available, you need to set up a custom solution. This involves creating a bearer token, establishing an API connection, and configuring a conditional statement in the bot builder.

First, generate a bearer token for the Zendesk Chat API. Then, create an API connection using this token and the domain 'rtm.zopim.com'. In the bot builder, add an HTTP API call to check the endpoint 'https://rtm.zopim.com/stream/agents/agentsonline'. Use the connection you created to authenticate this call. Finally, set up a conditional step to check if 'agentonline' is not zero, indicating that agents are available. For more details, visit theoriginal link.


More related questions

What are the steps to create a bearer token for Zendesk Chat API?

Creating a bearer token for the Zendesk Chat API is the first step in setting up a condition to check agent availability. This token is essential for authenticating API calls. To create a bearer token, follow the steps outlined in the Zendesk Chat…

How do I set up an API connection in Zendesk bot builder?

Setting up an API connection in Zendesk bot builder is crucial for checking agent availability. This involves using a bearer token and specifying the allowed domain. To set up the connection, select the 'Bearer token' option and enter the token you…

Can I use Zendesk's native business schedule for agent availability?

Yes, you can use Zendesk's native business schedule to manage agent availability without custom API configurations. This feature allows you to notify visitors of your operating hours directly through the messaging widget. While the custom solution…

Is the real-time API for checking agent availability available to all Zendesk plans?

The real-time API for checking agent availability is only available to Zendesk Enterprise plans. This API allows for more precise control over agent status and bot responses. If you're on a lower-tier plan, you might need to rely on the native…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites