Enabling AI Agent on Zendesk Sunshine Conversations


Cavalry Intelligence
Last Updated: 2 weeks ago

This guide outlines how to enable and configure the AI Agent on Zendesk Sunshine Conversations – Messaging.

⚠️ Note: You must have the Messaging feature enabled on your Zendesk account and Admin access to complete the integration.


How It Works

Once connected, the AI Agent acts as the first responder to incoming customer chat messages. If the AI cannot assist or if escalation is required, it will route the conversation to a live agent or initiate an email-based escalation.


Integration Instructions

If Zendesk Sunshine Conversations isn’t already enabled, you’ll need to activate it first.

Enable Zendesk Sunshine Conversations

Steps:

  1. In your Kodif Admin, go to AI Agent > Channels & Integrations.

  2. Click Enable under Zendesk Sunshine Conversations.

  3. Enter your Zendesk subdomain.

  4. Authorize app permissions when prompted.

  5. You’ll land on the Zendesk Sunshine Conversations Settings page.


Configurations

Channels

Choose which Zendesk messaging channels the AI Agent intercepts.

Channels are defaulted to ON

Once you land on the configuration page, we recommend disabling all of the channels. Enable when you're ready to have our AI agent to intercept.

Channel

What it covers

Chat

Zendesk’s Web Widget and mobile SDKs

Facebook Messenger

Messages from your connected Facebook Page

Instagram DM

Direct messages to your connected Instagram account

WhatsApp

Messages to your connected WhatsApp number

SMS

Text messages through your connected SMS number

Twitter DM

Direct messages to your connected X (Twitter) account

API (custom integrations)

Messages that other apps post for the customer through the Sunshine Conversations API, for example another chatbot

Other

LINE, Telegram, Viber, Apple Messages for Business, and any other channel


This allows logged-in users to be automatically authenticated and access their conversation history across sessions and devices.

Steps:

  1. In Zendesk Admin Center, go to:
    Account > End user authentication

  2. Click the Messaging tab and then Create key.

  3. Name the key Kodif AI, then click Next.

  4. Copy the Shared Secret key and save it for later.

  5. Click Hide forever.

  6. Copy the Key ID and save it for later.

  7. In the Kodif Admin, go to Zendesk Sunshine Conversations Settings:

    • Paste the Shared Secret in the Shared Secret field.

    • Paste the Key ID in the Key ID field.

  8. Click Save.


Greeting Message (Optional)

You can set a custom greeting message that appears when the customer opens the chat. If left blank, the AI will only respond once the customer sends a message.

Don’t forget to click "Save" after adding your message.


Additional Filters (For Multi-Brand Zendesk Accounts)

You can configure which brands the AI Agent should respond to.

Steps:

  1. Brands to Intercept: Enter the brand(s) the AI should respond to.

  2. Brands to Ignore: If our AI Agent is also intercepting other brands in the your organization, enter those brand(s) here. Otherwise, leave this field blank.

  3. Click Save.

⚠️ Important Note on Brand Filtering

If the brand filter is left blank, the AI will intercept conversations for all brands in your organization by default.

To prevent the AI from intercepting unintended brands, be sure to set up brand filters correctly in the Merchant Admin.

Example Scenarios:

  • If the AI should intercept both Brand A and Brand B:

    • Set the intercept brands filter to Brand A

    • Set the ignore brands filter to Brand B

    • (Repeat the reverse setup in the Brand B instance: intercept Brand B, ignore Brand A)

  • If the AI should only intercept Brand A (and Brand B is not enabled):

    • Set the intercept brands filter to Brand A

    • Leave the ignore brands filter blank


Escalation Method

By default, the AI escalates to a live agent when available. If no live agents are online, it will prompt the customer for an email and escalate via email.

You can choose between two escalation methods:

  • The original conversation is closed and tagged bot_resolved.

  • A new ticket is created titled "Escalated Chat Transcript", containing:

    • The original chat transcript

    • An internal note with the escalation summary

    • The shipped-ai-escalated tag

  • The closed conversation is then merged into the new ticket and tagged closed_by_merge.

Option 2: Existing Ticket

  • The conversation is tagged with shipped-ai-escalated.

  • An internal note is added with the escalation summary.

  • When the human agent responds to the customer, they would need to switch the channel to email as the ticket has been escalated via email.


Need Help?

If you have any questions or need assistance with the setup, please don’t hesitate to contact us. We’re here to help!


Was this article helpful?