Before you start
- The chatbot owner is on the Scale plan or above. See Plans and limits.
- You have the Manager, Admin, or Super Admin role on the chatbot.
- Your Zendesk account is on Zendesk Suite Professional or above, with Sunshine Conversations access.
- You can sign in to Zendesk as an admin and open Admin Center.
- Your chatbot is not in a HIPAA workspace. Integrations are not available there. See HIPAA.
Connect SiteGPT to Zendesk
1
Open the Zendesk Messaging card
In SiteGPT, go to Advanced > Integrations > All Integrations. On the Zendesk Messaging card, click Get Started.
2
Start the Zendesk sign-in
Click Connect to Zendesk. Zendesk opens in the same window.
3
Allow access in Zendesk
Sign in with your Zendesk admin account and allow access.
4
Read the setup page
Zendesk sends you back to SiteGPT. A page titled You’re connected! shows a Finish setup list. It has the step that you do next in Zendesk Admin Center and a test of the full conversation.
https://sitegpt.ai/connect-zendesk. This is the page that the Zendesk Marketplace listing opens. Sign in, then click Connect next to the chatbot that Zendesk should use. A chatbot that is already connected shows Connected to your Zendesk address and a Manage button.
Make SiteGPT answer your Web Widget
These steps happen in Zendesk. SiteGPT cannot do them for you.1
Open the marketplace bots in Zendesk
In Zendesk Admin Center, go to AI > AI agents. In the Other section, click Manage marketplace bots.
2
Open the SiteGPT bot
Click SiteGPT AI Chatbot to open its settings.
3
Connect the bot to your Web channel
Under Basics > Connect to channels, select the checkbox for your Web channel. Click Save, then confirm.The Responder column for that channel changes from Basic response to SiteGPT AI Chatbot.
Lead forms show only on the Zendesk Web Widget. You can connect other Zendesk channels later for chat without forms.
Let agents end the session
When an agent is done, they end the messaging session. This gives the conversation back to SiteGPT. Zendesk hides the End session control until an admin turns it on.1
Open the messaging settings
In Zendesk Admin Center, go to Channels > Messaging and social > Messaging > Manage settings > Advanced.
2
Turn on ending sessions
Under Ending sessions, select Agents can end messaging sessions at any time. Click Save.
Check that it works
- Open your Zendesk Web Widget and ask a question that your content answers. SiteGPT replies with an answer from your content.
- Type “I want to talk to a human”. The conversation goes to a Zendesk agent, and Zendesk creates a ticket.
- Reply as the agent in Zendesk. The reply shows in the widget.
- As the agent, solve the ticket and click End session. In SiteGPT Chat History, the conversation shows as resolved.
How it works in Zendesk
The bot answers first
When a new conversation starts, SiteGPT sends your welcome message and your conversation starters as reply buttons. Then it answers each message from your content. If you set new conversations to start in human mode, SiteGPT sends only the welcome message. It does not answer, and it does not pass the conversation to your Zendesk agents. Keep new conversations in AI mode when you use Zendesk. See Set up human support.Reply buttons
Each answer can show up to 10 reply buttons:- Your follow-up suggestions and suggested follow-up questions. See Follow-up suggestions.
- An escalation button. It shows when Enable Human Support is on and the Request Human Support Prompt and Human Support Confirmation Message fields are not empty. The button text is your Request Human Support Prompt.
- 👍 and 👎 feedback buttons, unless you hide feedback buttons.
Hand-off to a Zendesk agent
A conversation goes to your Zendesk agents when:- The person taps the escalation button.
- SiteGPT decides that the person needs a human. This needs human support to be on.
- The person submits the lead form, and you set lead collection to escalate the conversation.
When the agent is done
When the agent ends the messaging session, Zendesk gives control back to SiteGPT. SiteGPT marks the conversation as resolved in your dashboard. What the visitor does next depends on your Zendesk account. If it uses multiple conversations, the ended conversation becomes read-only, and the visitor starts a new Zendesk conversation. Otherwise, the visitor writes again in the same Zendesk conversation. In both cases, SiteGPT starts a new conversation in your Chat History. The same happens after you resolve the conversation in the SiteGPT dashboard. The new conversation follows your chatbot’s chat mode. In AI mode, the AI answers. In human mode, it does not. Only a typed message starts the new conversation. Form responses, button replies, and reactions to messages from the resolved conversation get no answer.Idle conversations
If a conversation that SiteGPT answers gets no new message for 12 hours, SiteGPT gives control of the conversation back to Zendesk. SiteGPT checks every 6 hours, so this usually happens between 12 and 18 hours after the last message. It does not happen while a Zendesk agent has the conversation. SiteGPT is still the responder for your channel. If the visitor writes again in the same Zendesk conversation, the AI answers, because the conversation is still in AI mode. If your Zendesk account uses multiple conversations, the idle conversation becomes read-only, and the visitor starts a new Zendesk conversation. Like every new conversation, it follows your chatbot’s chat mode.Lead forms
When lead collection starts, SiteGPT shows a Zendesk form in the Web Widget. After the person submits it, the lead shows in your SiteGPT Leads, and the conversation continues. See Collect leads. Zendesk forms have these limits:- SiteGPT sends only the custom fields that you mark as required. Optional fields are not sent to Zendesk.
- A Zendesk form has at most 20 fields. Name, email, and phone count toward this limit.
- SiteGPT shortens field labels to 200 characters.
Messages without text
SiteGPT skips messages that have no text, for example a file or image with no caption.Disconnect Zendesk
1
Open the integration
In SiteGPT, go to Advanced > Integrations > All Integrations. On the Zendesk Messaging card, click Manage.
2
Disconnect
Click Disconnect Zendesk.
Troubleshooting
SiteGPT does not answer in the widget
SiteGPT does not answer in the widget
- Check that the Web channel is connected to the SiteGPT bot in Zendesk and that the Responder column shows SiteGPT AI Chatbot. See Make SiteGPT answer your Web Widget.
- Check that new conversations start in AI mode. See Set up human support.
- Check that the chatbot owner’s subscription is active. SiteGPT does not reply when the subscription has ended. See Billing.
- Check that your account is not a HIPAA workspace. After SiteGPT turns on HIPAA processing for your account, SiteGPT does not answer in Zendesk. See HIPAA.
- If the visitor writes again after an agent ended the session, only a typed message gets an answer. Form responses, button replies, and reactions get no answer. See When the agent is done.
The conversation stays with the agent after the ticket is solved
The conversation stays with the agent after the ticket is solved
Solving a ticket does not end the messaging session by itself. The agent must click End session in the conversation’s composer. If agents do not see the button, enable it under Admin Center > Channels > Messaging and social > Messaging > Manage settings > Advanced > Ending sessions.
Agents do not see End session
Agents do not see End session
An admin must turn it on. See Let agents end the session.
A lead form field is missing in Zendesk
A lead form field is missing in Zendesk
Zendesk gets only required custom fields, and at most 20 fields in total. Mark the field as required in your lead form settings. If you have many required fields, remove some.
You see an error after the Zendesk sign-in
You see an error after the Zendesk sign-in
SiteGPT shows the error at the top of the Zendesk Messaging dialog. For example: “Failed to register webhook with Zendesk. Please try reconnecting.” Click Connect to Zendesk again. If the error stays, contact support@sitegpt.ai with your chatbot ID and Zendesk subdomain.