Add Actions
Actions are how agents get things done. These are the tools the agent uses to do its job. Learn more about agent actions.
- Open your newly created topic, go to Topic Details, and open the Topics’s Actions tab.

-
Click New → Create New Action. Enter action details.
- Action Type: Flow.
- Under Reference Action, select your flow: Document ID from Email.
-
Click Next.
-
Start to configure the agent action.
- Agent Instructions: This action is used to identify the bank statement files associated with the contact as referred by the email address. Email address has to be given by the user.
- Loading Text: Finding contact.
-
Under Inputs
- Mark
contact_emailas Required input, and enter Instructions: "Ask user to enter the email address". - Leave the other listed inputs as they are, or blank or as
NA.
- Mark
-
Under Outputs: Check the "Show in conversation" checkbox for all outputs.
-
Click Finish

-
Open your newly created topic, go to Topic Details and open the Topics’s Actions tab.
-
Click New and then Create New Action. Enter action details.
- Action Type: Flow
- Under Reference Action, select your flow: Bank Statement Extraction
-
Click Next.
-
Start to configure the agent action.
- Agent Instructions: Copy the instructions below. Replace the Placeholder values with those you obtained in the prerequisite steps. See Prerequisite 1 - Create an External Client App and Prerequisite 2 - Retrieve Your Salesforce Domain URL.
- Loading Text: Invoking Document AI.
You don’t need to change anything under Inputs or Outputs. If needed, enter “NA” for mandatory fields.
- Click Finish.