Salesforce Integration
Authentication with Salesforce uses the OAuth 2.0 JSON Web Token (JWT) bearer flow. You need to configure this in your Salesforce account prior to setting up this integration.
Salesforce is a customer relationship management (CRM) application that focuses on sales, customer service, analytics, and more. It offers extensive API Las API le permiten automatizar determinadas funciones conectando su CXone sistema con otro software que utiliza su organización. resources that you can use for a variety of purposes, including:
- Working with objects.
- Organizing information.
- Writing or reading user and business data from the CRM.
Configure Salesforce Integrations
-
En CXone, haga clic en el selector de aplicaciones
y seleccioneCreador de bots.
- Click the bot you want to work with.
- Click Integrations
in the left icon menu.
- On the APIs tab, in the Native section, click Salesforce.
- Under Authentication, fill in the Username and Client ID fields. Upload a Private Key File. If you do not have this information, stop and complete the tasks to configure a JSON Web Token in Salesforce first.
Learn more about fields in this step
Field Details Username This is the username for your Salesforce account.
Client ID
Enter your Consumer Key from Salesforce.
Private Key File Upload the server.key file you created.
- Click Test Authentication to make sure you configured it correctly.
- 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.