New Tool Radar

AI Agents & Automation

How to Trigger an Agent Run From a Webhook on a Form Submission

Trigger an agent run from a webhook when a form is submitted, so each submission starts the agent with its answers attached.

Schematic with three steps: Create the webhook trigger and note its; Map the form fields to the agent; Submit a test form and check the.

A form submission is an event that arrives as a webhook: the form posts its answers to a URL, and the agent starts with those answers as its input. Zapier agents can be triggered via a Zap or an MCP server, and a webhook is the Zap-side trigger for events from outside apps, such as a new form submission. Keep the webhook URL private, because anyone with it can start your agent, and tell the agent which form fields to expect. A webhook that fires on every submission with no validation is an open door, not a trigger.

What you need

  • A form that can post its submissions to a webhook URL
  • A Zapier agent or Zap that accepts the webhook
  • A list of the form fields the agent should receive

Step 1: Create the webhook trigger and note its URL

Add the webhook trigger to the agent or Zap and copy its URL into the form settings. Treat the URL as a credential: do not post it publicly.

Step 2: Map the form fields to the agent input

Write down which form field goes where in the agent’s input, and tell the agent the field names it will receive. A field the agent does not expect is ignored or misread.

Step 3: Submit a test form and check the run

Submit the form once with known answers and confirm the agent runs once, receives the right field values, and does the right thing with them. If it runs twice, the form posted twice.

Worked example: synthetic webhook trigger

The table below is a synthetic example. It shows the expected result of the webhook trigger; no form was submitted.

Check Expected Result
Agent runs on submission Yes, once Pass
Receives the right fields Yes Pass
Runs for a test submission Yes Pass
Webhook URL stays private Yes Pass

Expected result (UNTESTED). one form submission starts one agent run with the right field values, and the webhook URL stays private. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • A webhook URL is a credential: anyone with it can start your agent.
  • The agent receives only the fields the form posts; a missing field is not filled in.
  • A form that posts twice starts the agent twice, so check for duplicate submissions.
  • A webhook trigger needs the receiving Zap or agent to be published before it fires.

Sources

See all