How to connect n8n and your bots
n8n is a workflow builder you can connect to axiom.ai in either direction. Trigger an n8n workflow when an axiom.ai automation runs, or trigger an automation from any n8n workflow.
Note: A subscription that includes Webhooks is required to use the Receive data from another app step or the Trigger webhook step. See pricing for details.
Trigger an n8n workflow from an automation
Use the Trigger webhook step to start an n8n workflow when your automation runs. You'll need an n8n instance.
In n8n:

- Create a new workflow.
- Add a trigger node and select Webhook.
- Set the Webhook node's
HTTP Methodto POST. - Copy the webhook URL n8n provides. Save it for the next section.
- Optionally configure the webhook to accept specific data or parameters.
- Build out the rest of your workflow with the nodes you need.
In axiom.ai:
- Open your automation and add a Trigger webhook step.
- Set
Endpointto the webhook URL you copied from n8n. - Set
Payloadto the data you want to send.
To test it:
- In n8n, click Listen for test event on the Webhook node.
- In axiom.ai, click Run.
- n8n shows the request as the node's output when the setup is correct.
Trigger an automation from an n8n workflow
You'll need:
- API key. Find it on the API key dashboard. It goes in the request body as
key, not in a header. - Automation name. The exact name of the automation you want to trigger.
- Endpoint.
https://lar.axiom.ai/api/v3/trigger.
In n8n:

- Add an HTTP Request node to your workflow.
- Set
URLto the axiom.ai endpoint above. - Set
Methodto POST. - Turn on Send Body, set
Body Content Typeto JSON andSpecify Bodyto using JSON. - Paste the request body into
JSON:{ "key": "your-api-key", "name": "My automation", "data": [["A1", "B1"], ["A2", "B2"]] }keyis your API key,nameis the automation's exact name, anddatais optional: the rows to pass into the automation, each a list of cells. The values above are dummy data; replace them with an expression from an earlier node, such as the output of a scraping node. See pass input data for the full format.
In axiom.ai:
- Add a Receive data from another app step at the start of your automation.
To test it:
- In n8n, click Execute step on the HTTP Request node.
- When the setup is correct, axiom.ai starts the run and returns a link to watch it live, which n8n shows as the node's output.
When the run is successful, axiom.ai returns a JSON response n8n can use in later nodes. See understanding the API response for the format. For the whole loop, scrape included, see trigger a web scraper from n8n and get the data back.
Quick starts: build from description with one click
How to trigger a scraper from n8n and get the data back. Each guide carries a Build from description button: one click opens the extension with the lines filled in and the agent builds it, or follow the steps yourself.
Trigger a web scraper from n8n and get the data back
- Take the URL someone submitted in my n8n form
- Open it and scrape the title and price
- Post what was scraped to my n8n webhook
Trigger a web scraper from a webhook
- Take a list of product URLs sent to me by webhook
- Open each one and scrape the title and price
- Post everything scraped to my results webhook
Send and receive webhooks in a browser automation
- Start when another app sends me data by webhook
- Open the page in each row and get its title
- Post the results to my app's webhook URL