
Prerequisites
- Access to Userlike.
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:Endpoint-specific settings
How to set up
Configure in Cognigy
Create a Userlike endpoint
Create a Userlike 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 Userlike Endpoint type.
- Specify a unique name.
- Select a Flow from the list and save changes.
- Go to the Configuration Information section and copy the URL from the Endpoint URL field. Save changes.
Configure in Userlike
Create a chatbot in Userlike
Create a chatbot in Userlike
- Log in to the Userlike Dashboard.
- From the left-side menu, select Settings > Chatbots.
- Click + Add to create a new chatbot.
- On the New chatbot page, configure the following settings:
- Name — enter the chatbot name.
- Operator group — select the group for the chatbot.
- Bot behavior mode — select Human.
- Bot type — select API.
- Save your changes. When the chatbot appears in the Chatbots list, go to the Actions column, click the three-dot button, then select Edit.
- In the Webhook URL field, paste the Endpoint URL from the Cognigy Userlike Endpoint.
- If you selected the Unified Messaging API in the Cognigy Userlike Endpoint, copy the following fields:
- API URL — copy and paste this URL into the Webhook URL field in the Cognigy Endpoint.
- API security token — copy and paste this token into the Security Token field in the Cognigy Endpoint.
- Save your changes. Go to Settings > Channels. Select Website, then click + Add widget. Copy the code from the Your Userlike Widget field and click Configure widget.
- When the widget appears in the Widgets list, go to the Actions column, click the three-dot button, then select Edit.
- In the Messenger URL, enter the URL where you want to display your widget. Open your website to see the widget and test the workflow.