
Generic endpoint settings
Override snapshot connections
If you activate the Override Snapshot Connections toggle, the endpoint overrides the connections in the snapshot with connections from the project. If only the snapshot has a connection, the connection isn’t overridden. If necessary, you need to update such connections manually. To override the connection of the agent in production, you can:- Make the necessary changes in a staging environment, create a snapshot of the same agent, and select the snapshot in the endpoint settings. Deactivate the Override Snapshot Connections toggle.
- Import connections from another agent using a package. Activate the Override Snapshot Connections toggle.
Mocking
In the Advanced Settings section, you can toggle on the Enable Mocking setting to activate mocking for the endpoint. Mocking lets you change node behaviors and test how they perform through the endpoint without changing the original node settings. Make sure that you also activate mocking at the node level.Additional endpoint settings
You can use the following additional settings to customize the endpoint:- NLU connectors
- Data protection & analytics
- Transformer functions
- Real-time translation
- Session management
- Copilot
- Inject and Notify
Endpoint-specific settings
How to set up
1. Create a Sunshine Conversations endpoint
1. Create a Sunshine Conversations endpoint
- In the left-side menu of your Project, click Deploy > Endpoints.
- On the Endpoints page, click + New Endpoint.
- In the New Endpoint section, do the following:
- Select the Sunshine Conversations Endpoint type.
- Specify a unique name.
- Select a Flow from the list.
- In the Configuration Information section, copy the URL from the Endpoint URL field.
2. Create a Sunshine Conversations app
2. Create a Sunshine Conversations app
- Go to the Sunshine Conversations Dashboard and log in with your Zendesk account.
- If you don’t have a workspace yet, create one first. Otherwise, select your existing workspace.
- Click Create App. Enter the name and description for your app. Click Create.
- Go to the Channels or Integrations tab. Add the messaging channels you want, for example, WhatsApp, Facebook Messenger, Slack. Follow the Sunshine Conversations instructions for each integration.
- Open the Settings tab of your app. Go to API Keys and click + Create new secret key.
- Copy the Key ID and Secret for later use in the Cognigy Endpoint. Save Changes.
3. Complete the endpoint configuration
3. Complete the endpoint configuration
- In the Cognigy interface, open the Sunshine Conversations Endpoint you created.
- In the Sunshine Conversations Setup section, fill in the required fields:
- API Version - select either v1.1 or v2, matching your Sunshine Conversations app.
- Key ID - paste the key ID you copied from Sunshine Conversations.
- Secret - paste the secret you copied.
- URI - use your app’s base URI, for example,
https://app.smooch.io(omit the trailing/).
- Save changes.
4. Add a webhook in Sunshine Conversations
4. Add a webhook in Sunshine Conversations
- In your Sunshine Conversations app, go to Settings > Integrations > Webhooks.
- Click Add Webhook.
- Paste the Cognigy Endpoint URL you copied earlier into the URL field.
- For Triggers, select at least the following options:
AppUser messagesPostbacks
- Ensure the API Version matches your Cognigy Endpoint version (v1.1 or v2). Save the webhook.