Add an External Service Action

Add an action from a registered external service in Bot Builder to allow your bot to send and receive data between Salesforce and external API providers. Deliver personalized customer experiences without writing a single line of code.

Required Editions

View supported editions.
User Permissions Needed
To build and manage Einstein Bots:

Customize Application

OR

Modify Metadata

OR

Manage Bots

Before you begin, make sure that the external service you want to integrate with your dialog is registered in your Salesforce org. If not, register the external service. To register an external service, you must have the Customize Application user permission.

  1. From the Dialog Component Library, drag the External Service Action step onto the canvas.
  2. In the Step Properties panel, select the name of the external service associated with your desired action, and then select the action.
    Specify the external service and action
  3. Specify input and output variables.

    These variables are supported:

    • Text
    • Number
    • Boolean
    • Object
    • Date
    • DateTime
    • Currency
    • Id
    • A single-level list (in other words, a collection of variables of the same type, such as a list of text values)

    Bot Builder doesn’t support map inputs or nested lists (in other words, lists of lists).

    Specify input and output variables
  4. Save the dialog.

When an external service action is used in a bot dialog, you can’t edit the settings for the associated service or delete the service from your Salesforce org—even when a bot is inactive. To edit or delete an external service, confirm that it’s not included in any bot dialogs. If you try to edit or delete a service that’s used in a bot dialog, you receive an error message and your changes aren’t saved.