Skip to main content
Connect SiteGPT to Zendesk Messaging with the SiteGPT app from the Zendesk Marketplace. SiteGPT becomes the AI agent on your Zendesk Web Widget. It answers first, and it passes the conversation to your Zendesk agents when a person needs a human. You connect with Zendesk sign-in (OAuth). You do not need API keys or webhook setup.

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.
You can also start from 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.
For more detail, see Zendesk’s guide to ending messaging sessions. You do not need to change the Conversation control setting in Zendesk. SiteGPT works with both Pass control and Release control.

Check that it works

  1. Open your Zendesk Web Widget and ask a question that your content answers. SiteGPT replies with an answer from your content.
  2. Type “I want to talk to a human”. The conversation goes to a Zendesk agent, and Zendesk creates a ticket.
  3. Reply as the agent in Zendesk. The reply shows in the widget.
  4. As the agent, solve the ticket and click End session. In SiteGPT Chat History, the conversation shows as resolved.
For step 2 to work, turn on human support in SiteGPT. See Set up human support.

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. Zendesk gets the answer as plain text, so a link in an answer shows as its words followed by the address in brackets. See What visitors see with the answer. 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. Zendesk does not use working hours. Use the business hours of your Zendesk account instead. With Let the Visitor Choose, Zendesk does not ask the question, and new conversations start with the AI. 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.
SiteGPT then passes control to Zendesk, and Zendesk creates a ticket. SiteGPT sends a confirmation message to the person, for example your Human Support Confirmation Message. Conversations that SiteGPT answers alone do not create a ticket. SiteGPT also sends the usual escalation email. When SiteGPT hands off and picks one of your hand-off topics, the email goes to the people of that topic, and Chat History shows the topic, for example Escalated to Sales. SiteGPT does not send the topic to Zendesk. See Send each hand-off to the right people. An agent can also take a conversation directly in Zendesk. SiteGPT sees this and stops replying. While an agent has the conversation, SiteGPT does not reply and does not save the messages. The Zendesk ticket has the agent part of the conversation. Your SiteGPT Chat History shows the conversation as escalated.

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 no optional fields, so the form has only the fields that are required:
  • Name, email, and phone number show only when they are Required under Contact Fields. An Optional field does not show. See Choose the contact fields.
  • SiteGPT sends only the custom fields that you mark as required. Optional fields are not sent to Zendesk.
  • The phone number field shows the example +1 202 555 0143, because Zendesk has no country list. The person must type the number with its country code.
  • A Zendesk form has at most 20 fields. Name, email, and phone count toward this limit when they show.
  • SiteGPT shortens field labels to 200 characters.
If SiteGPT cannot save the details, it sends the reason and the form again, for example “Enter the phone number with its country code. Please share your contact details:”. The reason is “Fill in” and the labels of the empty required fields, for example “Fill in Name, Phone.”, or “Leave an email or a phone number.”, or “Enter the phone number with its country code.”. When you changed these texts in the Lead Form section of Language & Region, Zendesk gets your text. See What the visitor sees. The text after the reason is the Form Heading of the Lead Form section in Language & Region. See Change the widget language and text. SiteGPT does not send the form again after your team takes over or resolves the conversation.

Messages without text

SiteGPT skips messages that have no text, for example a file or image with no caption.

Blocked visitors

When you block a visitor in Chat History, the chatbot stops answering them in Zendesk and sends no text. The conversation stays with your Zendesk team. See Block a visitor.

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.
SiteGPT stops getting conversations from Zendesk and tries to remove its webhook from your Zendesk account. Your conversation history stays in SiteGPT. If you uninstall the SiteGPT bot in Zendesk instead, SiteGPT marks the connection as disconnected. To connect again, click Connect to Zendesk. Each Zendesk account connects to one SiteGPT chatbot. To use a different chatbot, disconnect the current one first, then connect the new one. If you connect a second chatbot to the same Zendesk account, the connection fails and SiteGPT shows “An unexpected error occurred. Please try again.”

Troubleshooting

  • 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. SiteGPT does not answer in Zendesk for a HIPAA workspace. SiteGPT turns on HIPAA processing only after Zendesk is disconnected. See Disconnect Zendesk and 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.
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.
An admin must turn it on. See Let agents end the session.
Zendesk gets only required fields, and at most 20 fields in total. Set the name, email, or phone number to Required under Contact Fields, or mark the custom field as required in your lead form settings. If you have many required fields, remove some.
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.