Integrating Gleen AI With Zendesk

Gleen can work with your existing Zendesk helpdesk and seamlessly integrate into your existing workflows. It can respond to website chat, email, and Whatsapp, passing on to a human when needed.

Configuring the Zendesk Integration

You can configure Gleen AI to start responding to your Zendesk tickets by enabling the integration from the Gleen dashboard. From the Settings page, click on integrations, and then click the toggle next to Zendesk to get started.

You'll now see a page with three values you need to get from Zendesk to proceed.

First, navigate to the admin center in Zendesk.

Now, navigate to "Apps and Integrations" > "Zendesk API" > "OAuth Clients" and click on "Add OAuth Client".

Fill out the following fields:

Client name - Enter any descriptive name you'd like, such as "Gleen AI"

Unique identifier - This will automatically be filled out based on the client name provided. Take note of this value as you will need to enter it into the Gleen dashboard.

Redirect URL - Use the following value exactly:

https://app.gleen.ai/external_integrations/zendesk_oauth_callback

When you click save, you will see a value appear called "Secret". Take note of this value, as you'll need to enter it in the Gleen dashboard! You will only be able to see it once, and will need to repeat this process if you lose it before completing the setup.

Now, you can go back to the Zendesk settings page in Gleen and enter these values.

Zendesk domain - Enter the subdomain of your Zendesk instance. For example, if your Zendesk URL is https://gleen2341.zendesk.com/, then enter gleen2341.

Zendesk Client ID - Enter the "unique identifier" from the steps above.

Zendesk Client Secret - Enter the "secret" value from the steps above.

Now click "Integrate." You will be taken to Zendesk's page to allow Gleen to access your Zendesk data.

Once you accept the permissions on Zendesk, you'll be redirected back to Gleen.

Zendesk Triggers for Gleen Bot

When you set up the Zendesk integration, Gleen will create a new agent in Zendesk called "Gleen Bot". The bot will only respond to open tickets that are assigned to this agent.

Once Gleen answers the ticket, it will move it back into the closed status. Zendesk automatically moves tickets back to the open status when a customer replies, and then Gleen will reply again.

In order to have Gleen automatically respond to your tickets, you can use triggers to automatically assign new tickets to Gleen Bot.

See this example of configuring Zendesk to assign all new email tickets to Gleen.

Human Transfer

Gleen will stop responding to users and transfer the query to a human for a few different scenarios:

  • The user asks for a human agent, i.e. they type "I want to talk to a person" or something similar.

  • The bot wasn't able to find an answer in its knowledge base.

  • A custom rule you've added in the answering guidelines for your bot was triggered.

By default, Gleen will unassign the ticket from itself in case of human transfer. If you would like the ticket to be assigned to a specific group for your human agents, reach out to our team for assistance.

Human agents can also manually respond to tickets from within Zendesk or reassign them away from Gleen Bot, and the bot will stop responding.

These guidelines apply to all sources (Email, Website, and Whatsapp).

Email Tickets

Gleen can automatically respond to tickets in Zendesk created by email. For each new message in a ticket, Gleen will generate a new answer, transferring the ticket to a human agent when needed.

There are some additional human transfer rules for email tickets:

  • An email that we suspect is from an automated system was assigned to the bot.

  • An email with "Fwd:" in the subject line.

Website Chat Tickets

Once your configure your Zendesk integration, Gleen will start syncing conversations from the Website SDK into Zendesk. You can see the conversations users are having with the bot in realtime from Zendesk. When a human is needed, the ticket will be transferred as described above.

When a ticket is transferred to human agents, the bot will ask users for the email address.

Users can upload images and files for human agents to see from the website SDK, and agents can send images and files back to the user.

Whatsapp Tickets

If you have Whatsapp configured in Zendesk, Gleen can respond to any tickets created through this channel. To enable this, you'll need to have access to the Sunshine Conversations API through the Zendesk Suite Professional plan or higher.

Enabling WhatsApp in Gleen AI:

First, make sure you've configured the Zendesk Integration with the instructions above.

From the Zendesk integration page in the Gleen dashboard, enabled the WhatsApp integration.

Click on "Create An API Key", or navigate to the Conversations API page in the Zendesk admin panel under "Apps and integrations."

Now click "Create API Key" in the Zendesk admin panel. You'll be prompted to name your API key. You can name it "Gleen AI" or anything you'd like.

Copy each of the three values from Zendesk's admin panel into Gleen's dashboard.

Click "Connect" in Gleen's dashboard. Your bot will now start automatically replying to any tickets assigned to the "Gleen Bot" agent.

You will most likely want to set up a trigger in Zendesk to automatically assign tickets to the bot. See these instructions for more information.

How it works:

  • A user sends a message to your Whatsapp number, and a new ticket is created in Zendesk.

  • There will be some delay before Gleen starts processing the ticket. Due to Zendesk limitations, it may take a couple of minutes before we receive the data.

  • We wait until the message is at least 30 seconds old to start processing, since Whatsapp users may type multiple messages in a row, and may need some time to attach images.

  • Gleen will process the messages and images it received as if they were sent together and generate an answer.

Bot Profile Mapping

If you have created multiple bot profiles for your organization in Gleen, you can have tickets from the same Zendesk account routed to the appropriate bot profile. For example, you have multiple products or websites where the tickets go to the same Zendesk account.

Reach out to Gleen support and we can configure this mapping. For common Zendesk configurations, like multiple email addresses or multiple Whatsapp numbers, we have support for mapping these sources to different bot profiles.

FAQs

How can I correct incorrect answers for tickets in Zendesk?

If you found a ticket in your Zendesk account where the bot gave a wrong answer, you can use the ticket ID to search in Gleen's dashboard, where you'll see the answer sources used. You can then check your provided documentation for any incorrect or outdated information, or provide feedback to the bot.

First, find the ticket ID in Zendesk

Now you can enter this ticket ID into the search box on Gleen, where you'll be able to locate the ticket and see the answer sources. You can also search by any text in the messages, phone number, or email address.

From there, you can either open links to the information Gleen used to generate the answer, edit existing feedback used, or add new feedback.

For more information on giving feedback to the bot, see this article.

Can I train my bot on past ticket responses in Zendesk?

Yes, Gleen can be trained on past Zendesk ticket responses. Please reach out to our team for assistance if you would like this.

Can I train my bot on Zendesk macros?

Yes, Gleen can be trained on Zendesk macros. Please reach out to our team for assistance if you would like this.

Last updated