New Tool Radar

AI Agents & Automation

How to Trigger an Agent Run When a New Spreadsheet Row Appears

Trigger an agent run from a new spreadsheet row so each row is handled as soon as it is added, without anyone starting the agent.

Schematic with three steps: Add the new-row trigger to the agent; Tell the agent which columns to read; Add the test row and check the.

A spreadsheet row is an event, and an agent can treat it as one: Zapier lets you select an app trigger such as a new row in Google Sheets, and the agent receives the row data when the trigger fires. That is the shape for intake work: a form writes a row, the agent reads it, and the result goes back to the sheet or to a person. Point the trigger at the exact spreadsheet and sheet, and tell the agent which columns it may read; a trigger on the wrong sheet fires on the wrong rows.

What you need

  • A Google Sheet the agent may read, with named columns
  • A Zapier agent with the sheet trigger available
  • One test row with known values to add

Step 1: Add the new-row trigger to the agent

In the agent’s Trigger section, select the Google Sheets app and the new-row event, then pick the exact spreadsheet and sheet. Confirm the trigger names the sheet you mean.

Step 2: Tell the agent which columns to read

Write into the instructions the column names the agent should read and what to do with each row, such as draft a reply or update a status column. The agent receives the row data when the trigger fires.

Step 3: Add the test row and check the run

Add the test row and confirm the agent runs once for it, reads the right values, and does the right thing with them. If it runs twice or reads the wrong row, the trigger is misconfigured.

Worked example: synthetic new-row trigger

The table below is a synthetic example. It shows the expected result of the new-row trigger; no row was added.

Check Expected Result
Agent runs on the new row Yes, once Pass
Reads the right columns Yes Pass
Result goes to the right place Yes Pass
No run for other sheets 0 runs Pass

Expected result (UNTESTED). the agent runs once for the new row, reads the right columns, and puts the result in the right place. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • The trigger fires on the sheet it points at, so a wrong sheet means wrong rows.
  • The agent only receives the row data the trigger sends; it cannot see rows added before the trigger was set.
  • A row edited after it was added may or may not fire again, depending on the trigger.
  • Until you publish, the trigger is inactive and the agent only runs during testing.

Sources

See all