Set Up API Integrations in CXone Bot Builder
CXone Bot Builder supports both native and custom API Met API's kunt u bepaalde functies automatiseren door uw CXone-systeem te koppelen aan andere software die binnen uw organisatie wordt gebruikt. integrations. Native integrations use APIs that call to other parts of CXone, or to applications that are already integrated with CXone. Custom integrations use APIs that call to your own database or to third-party systems.
Configure New Native Integrations
The steps to configure a native integration vary based on the integration you want to use. The following native integrations are available:
Configure New Custom Integrations
You can use a custom integration with your own database or third-party systems.
-
Klik in CXone op de app-kiezer en selecteerBot Builder.
- Click the bot you want to work with.
- Click Integrations in the left icon menu.
- On the APIs tab, in the Custom section, click New Integration.
- Click the title to rename the integration.
- Use the drop-down to select an Authentication Method. Enter the required information for each type.Learn more about available authentication methods
Field Details Public Your API Met API's kunt u bepaalde functies automatiseren door uw CXone-systeem te koppelen aan andere software die binnen uw organisatie wordt gebruikt. integration will not require authentication. No additional steps are required.
You can still add an authorization line in the JSON for any actions you create.
OAuth 2.0
Fill in the Authorization URL, Key, and Secret fields. Bot Builder uses the Client Credentials grant type of OAuth 2.0.
This information can be found in the account for your API Met API's kunt u bepaalde functies automatiseren door uw CXone-systeem te koppelen aan andere software die binnen uw organisatie wordt gebruikt..
Custom In the JSON Request Editor, add a line for authorization in the "headers" section and enter the authentication method you want to use. You can use Basic Authentication, JSON Web Token, Simple Web Token, or Bearer Token.
var(--codeSnippetCopyLabel){
"headers": {
"Content-Type": "application/json",
"Authorization": "[authentication_type] [token]"
}
} - Under Actions, there are a few actions built-in. You can choose to use and customize one of those, or click New Action.
- Type a name for the action and press Enter.
- Click the action to configure it.
- Write your configuration in the Request JSON window. Slot values can be used as variables in the format {{slot_name}}. You can use the mockSlots parameter for testing purposes.
- Click Test Request at any time to populate the Response window.
- You can use the Error Message field to determine what to show a customer in response to a failed API request.
- You can select the Debug Mode checkbox to add a suffix response to the error message.
- Ensure the action toggle at the top of the action configuration page is turned on. If the toggle is off, the action will not be available to use.
- If you want to add the integration to a bot skill, hover over the integration in the left column, then click Options > Add to Skill. If the skill already exists, select it from the list. You can select more than one. If you need to create a new skill for the data, type a name for your skill in the field, then click Create Skill "...".
- Click Train and Stage to train your bot on the new integration. You can also do more training and testing later.
- Add your action to a story, rule, or fallback. The APIs section of the bot action options will show all the API integration actions you have configured and turned on.