Trigger a browser automation from Langflow
How to trigger a browser automation from Langflow: install the Chrome extension, click Build with Browser agent, tell the agent what you want, and follow its prompts. A working bot is built and tested in minutes.
Here is how the automation works. To trigger a browser automation from Langflow, add an API Request component to your flow that sends a POST to https://lar.axiom.ai/api/v3/trigger with your API key, the automation's name and the data to pass. The automation starts with a Receive data from another app step, which holds that data for the steps after it.
Build the Langflow trigger from a description
Describe it and click the button: the agent builds and tests the scraper in your Chrome extension. The request needs your axiom.ai API key, from Authentication.
- Take a list of URLs sent to me by Langflow
- Open each one and scrape the title and price
- Add everything scraped to my Google Sheet
Have a Langflow account, a Google Sheet for the results and a name for the automation you can type exactly, since the trigger matches it character for character. Langflow brings agents into your workflows; the automation adds a browser that opens pages, scrapes and fills forms with the data the flow passes in.
Build the Langflow trigger step by step
The steps the agent builds, as the Builder shows them: each step by its name, with the fields to set under it. Add them yourself in this order in the step-by-step builder, or open the agent's result there to adjust it.
- 1.0
Receive data from another appTest data: on, with a sample in the shape of the request'sdata, such as[["https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"]]
- 2.0
Loop through data- repeats for every row in
[webhook-data]
- 2.1
Go to pageURL: the first column of[webhook-data]
- 2.2
Get data from bot's current pageSelect: the title and price on the product page, one column each
- 2.3
Write data to a Google SheetSpreadsheet: your sheetDATA:[scrape-data]Write options: Add to existing data
- repeats for every row in
Common questions about triggering an automation from Langflow
How do I add the API Request component in Langflow?
Add an API Request component to the flow where the automation should start, with URLs set to https://lar.axiom.ai/api/v3/trigger and Method changed to POST. Under Headers, click Edit Headers, click + and add one property:
{
"Content-Type": "application/json"
}
In Body, enter the JSON payload: your API key, the automation's name and the data to send.
{
"key": "your-api-key-here",
"name": "Scrape product pages",
"data": [
["https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"]
]
}
See Trigger an automation for the full request format.
How does Langflow trigger the automation?
The flow runs as usual until the API Request component, which sends a POST to the trigger endpoint with your key, the automation's name and a data table. The automation starts, its first step, Receive data from another app, holds the table as [webhook-data], and the rest of the automation uses that data like any other.
How do I test the Langflow flow?
Run the flow; a chat window opens to run it. Langflow's own errors are covered in its documentation; for errors on axiom.ai's side, follow the message or see common errors.
What data can Langflow send to an axiom.ai automation?
Any table of rows and columns, in the request's data. Scrape results and values from Google Sheets both work, as long as Receive data from another app has test data in the same shape.
Why does the trigger answer Task not found?
No automation has that name. Check the name in the request body matches the automation exactly, including case and spaces.
Can I trigger a browser automation from Langflow without code?
Yes. The automation is built from steps in the Chrome extension, and the Langflow side is one API Request component with a JSON body; neither needs code written.
Can I trigger the automation from Zapier, Make or n8n instead of Langflow?
Yes. See trigger a web scraper from a webhook, which covers the same request from any tool.
Where do I get help?
Get in touch with support, or ask in the axiom.ai community.
Related guides
Trigger an automation from a GitHub webhook
- Start when GitHub sends a webhook for my repo
- Take the event details GitHub sends
- Log each event as a new row in Airtable
Trigger an axiom.ai automation from Apple Automator
- Start when Apple Automator sends me data
- Take the rows it sends
- Add them to my Google Sheet
Trigger an automation from Google Apps Script with sheet data
- Take the rows my Apps Script sends me
- Open Google search
- Type the text from column A into the search