How Actions Work
- Configure an integration for the external application you want to connect to.
- Create an action tool using the configured integration.
- Select the action to expose and associate an authentication profile.
- Add the configured action as a tool to an agent or workflow.
- At runtime, the agent invokes the action to interact with the external application and uses the returned response to continue execution.
Prerequisite
Before you create an action:- The external application (for example, Gmail, Jira, Slack, or Salesforce) must already be integrated with Agent Platform. Learn More.
- If the integration requires authentication, ensure that a valid authentication profile is configured. Learn More.
Create an Action
To create an action tool:- Navigate to Tools.
- Click New Tool.
- Select Action.
- Select an Integration. The integration catalog displays all supported providers grouped into categories such as:AI & Development, Communication, CRM & Sales, and others. Use the search box or browse the categories to locate the required integration.
- Click Continue. T
-
Next, configure the Action by providing the required information.
Basic Information
Provide the following details:
Integration & Action Select the connector action that the tool should execute. All the supported actions are listed in the drop down.Some integrations require authentication before the available actions can be retrieved. Authentication Profile
- Authentication profiles contain the credentials required to access the selected integration.
- Select an existing authentication profile or create one if necessary.
- The selected credentials are automatically used whenever the tool runs.
- Parameter name
- Data type
- Required or optional status
- Description
- Default value
Output Parameters Choose how the connector response should be returned. You can:- If the agent supplies a value during execution, that value overrides the configured default.
- Leave a parameter empty if you want the agent to determine its value at runtime.
- Return the complete connector response.
- Return only selected fields by defining a custom output. Use custom output when your agent needs only a subset of the connector response.
- Save the Action. Click Save to add the action to the project.
Edit an Action
To modify an existing action:- Navigate to Tools.
- Open the required action.
- Select the Configuration tab and update as required.
Test an Action
Use the Testing tab to verify that the configured action executes successfully before assigning it to an agent. Testing validates:- Authentication.
- Required parameters.
- Connector execution.
- Response returned by the external application.
Assign an Action to an Agent
After creating an action:- Open the required agent.
- Navigate to Tools.
- Add the required action.
Use an Action in a Workflow
Actions can also be used from workflow Tool steps. When used in a workflow:- The integration is inherited from the action tool.
- The selected action is reused.
- Authentication is reused.
- Input parameters can be mapped to workflow variables.
- Output can be consumed by subsequent workflow steps.