Import data with a webhook

Use a webhook to trigger an axiom.ai automation from another app and pass data into it at the same time. For background on the API and how to find your API key, see the API reference. For a worked example using Zapier forms, see the Zapier forms guide.

Start a new automation


On the Dashboard, click New automation then Add first step. Build it with test data first and connect the webhook once it runs.

Add a Receive data from another app step


The Receive data from another app step receives data from the webhook and returns a token ([webhook-data-1]) that later steps can use.

The Receive data from another app step, showing the endpoint, method and your API key to copy, a JSON payload example and the Test data toggle

  1. Open the step finder, search for receive, and add the step.
  2. Toggle Test data on and add a 2D array of test data, for example [["Row 1 colA", "Row 1 colB", "Row 1 colC"], ["Row 2 colA", "Row 2 colB", "Row 2 colC"]].

Add a Go to page step


This step loads the web page you want to interact with.

  1. Open the step finder, search for go, and add the step.
  2. Click Insert data and select [webhook-data-1] to pass a URL in from the Receive data from another app step.

Build out the rest of the automation


Add any further steps you need. Click Insert data and select the [webhook-data-1] token to pass values from the webhook into later steps.

Run it with the test data


Run the automation to confirm it works end to end. Failed runs do not count against your usage.

Set up the POST request


To trigger the automation from outside axiom.ai, send a POST request to https://lar.axiom.ai/api/v3/trigger with your API key, the automation's name, and the data as a 2D array.

{
    "key": "1jf8SSbf73gfa",
    "name": "My Axiom",
    "data": [["A1", "B1", "C1"], ["A2", "B2", "C2"]]
}

Go live


Once the run succeeds, toggle Test data off on the Receive data from another app step so it uses the data your webhook sends. For details on rate limits and authentication, see the API reference.

Quick starts: build from description with one click


How to trigger an automation and pass data in from Zapier, Make, n8n, cURL and other apps. 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.