Skip to main content

Overview

n8n is a workflow automation tool that enables you to connect apps and automate tasks. After you deploy your Agent, you can trigger it directly from n8n and process the results within your workflows.

Run your deployed Agent from n8n

1

Open connection settings

Navigate to your Agent’s build page and click Connect, then select n8n from the dropdown.
Open connection settings for n8n
2

Add the Airtop node

In your n8n workflow, add the Airtop Run Agent node.
Add Run Agent node in n8n
3

Configure the Webhook URL

Enter the Webhook URL from the connection modal into the Webhook URL field.
# Example of a Webhook URL
https://api.airtop.ai/api/hooks/agents/{agent-id}/webhooks/{webhook-id}
4

Set Agent parameters

Copy the Agent’s parameters from the connection modal and paste them into the Parameters field in the n8n node. Adjust the values as needed.
// Example of Agent parameters
{
  "configVars": {
    // Your Agent's configuration variables
  }
}
When configured correctly, the node settings should look like this:
n8n node configuration
5

Run the workflow

Save your changes and execute the workflow to test the integration.