Configuration On Zendesk
- Sign in to your Zendesk account and navigate to Admin Center > Apps and integrations > Integrations > Conversations integrations.
- Click Create an integration.
- In the integration configuration, copy the Webhook URL from the Sunshine Conversations channel configuration page on the platform and paste it into the corresponding field in Zendesk.
-
Under Subscriptions, select the following events:
- Switchboard pass control
- Switchboard release control
- Conversation message
- Click Save to create the integration.
- After the integration is created, click the three-dot menu next to the integration and select View details.
- Copy the App ID displayed in the integration details. You will need to enter this ID in the Sunshine Conversations channel configuration in the platform.
- Navigate to Admin Center > AI > AI Agents > AI Agents > Marketplace Bots.
- Locate the integration you created, click the three-dot menu, and select Set as Default for All Channels.
Configurations On Platform
- Log in to the Platform.
- Navigate to Channels & Flows > Channels > Digital > All > Sunshine Conversations Channel.
- Enter the App ID copied from Zendesk.
- Enter your Zendesk subdomain. For example, if your Zendesk URL is
https://koreai-1234.zendesk.com, enterkoreai-1234as the subdomain. - Navigate to: Admin > Apps and Integrations > APIs > Conversations API.
- Generate or copy (if applicable)
- API Key ID
- API Secret
- If you are using a third-party integration URL, copy the URL where you want to listen to the events sent by Zendesk.
- Navigate to the Zendesk Conversations Integrations page:
https://{{subdomain}}.zendesk.com/admin/apps-integrations/integrations/conversations-integrations/integrations. - Select the events you want to subscribe to.
- Copy the exact event names.
- Provide these event names in the Platform configuration.
- Click Authorize.
- Enter your Zendesk subdomain and click Sign In.
- When prompted, click Allow to grant the required permissions.
Additional Details
Configure Conversation Context Variables
To pass specific user and conversation details during agent transfer, use the following context variables:-
Zendesk Internal User ID:
context.session.BotUserSession.agentHandoffMeta.zendeskInternalUserId -
Zendesk Conversation ID:
context.session.BotUserSession.agentHandoffMeta.zendeskConversationId
Zendesk Account Usage Limitation
- A Zendesk account can be used with only one AI Agent at a time.
- If you want to reuse the same account:
- Remove the existing agent configuration first.
- Then configure it with the new AI Agent.