Prerequisites
- Configured the Voice Gateway integration:
- If a Voice Copilot Endpoint is used voice or chat use cases.
- If a Webhook Endpoint is used for voice use cases.
Restrictions
- If you use a Webhook Endpoint, you will be charged for two conversations: one with the webhook and one with Agent Copilot.
Create an Endpoint
Mock a request via Postman or curl to validate the webhook accepts your session.- Voice Copilot
- Webhook
- 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 Voice Copilot Endpoint type.
- Specify a unique name.
- Select a Flow from the list. Save changes.
- Go to the Configuration Information section and copy the URL from the Endpoint URL field.
Mock a Request
Send aPOST request to the Endpoint which you configured in the previous step.
Your web server should accept POST requests and process the JSON payload sent by Cognigy.AI. For testing purposes, you can use webhook.site as a temporary web server.
- cURL
- Postman
Replace
https://<your-endpoint-url> with the Endpoint URL from your Endpoint’s settings.Configure the Agent Copilot URL
When setting up Agent Copilot, you can choose between embedded or standalone Agent Copilot versions. For standalone Agent Copilot, use the URL format to access the workspace:(Optional) Embed in the Agent Desktop
You can embed Agent Copilot into any contact center interface using an iframe. Some platforms may require additional setup, such as enabling scripts or granting API access. Embedding is specific to the contact center, so verify the integration on the provider’s side to ensure proper functionality.More Information
1: You must provide at least one of
text or data. You can send either, or both. If both are missing or invalid, the REST Endpoint throws an error.