Sync webhook events to Google Sheets via lookup table

Developer ToolAPI IntegrationMarketingRecipe ToolsDocument/FileSales Enablement

What it does

When a new event arrives via HTTP webhook, this automation searches a lookup table and logs the result. It then creates messages from templates and syncs matching rows to Google Sheets so the data is current across systems.

Who it's for

Operations teams who need to route webhook events into Google Sheets based on lookup criteria without manual steps.

How teams use this

Route webhook events to a tracking sheet

Webhook events arrive and are automatically logged to Google Sheets with lookup table data appended. The sheet becomes the single source of truth for all incoming events without manual entry.

Filter events by lookup criteria before syncing

Add a condition to check the lookup table result and only sync rows that meet specific criteria. This keeps the sheet focused on relevant events and reduces noise.

Notify teams when events are synced

Include a notification step after rows are updated in Google Sheets so teams stay informed of incoming events without checking the sheet manually.

Archive old rows based on event type

Retarget this automation to move rows to an archive sheet after a set time or when the lookup table marks them as complete. This keeps the active sheet clean and organized.

How it works

  1. Receive the webhook event. A new event arrives in real-time via HTTP webhook with event data that starts this automation.
  2. Search the lookup table. Search entries in the S1Lookup lookup table in batch mode to find matching records based on the webhook event data.
  3. Create formatted messages. Create messages using the s-webhook-message-template and l1-list-template templates to structure the data for Google Sheets.
  4. Search and update sheet rows. Search rows in a sheet in batch mode, then loop through each result and update the row with the formatted message data.
  5. Add new rows to the sheet. Add a new row in the sheet for webhook events that do not match existing rows, keeping the spreadsheet in sync with incoming data.