Playbook ยท Data enrichment

Spreadsheet-to-enrichment sync

Keeps your SDRs working in Google Sheets while a Google Apps Script pushes new rows to a Clay webhook table on a timer, where they are enriched and routed.

Use this when

Your team builds lists in spreadsheets and enrichment depends on manual CSV exports and uploads.

Tools in this playbook

  • Clay
  • Google Sheets
  • Google Apps Script
  • HubSpot
  • Instantly

The workflow

How it works

  1. 01

    Create a webhook table

    We create a new Clay table with a webhook source and copy its webhook URL.

  2. 02

    Set up the Google Apps Script

    A Google Apps Script project holds a short sync script that loops over rows with a blank status, posts each as JSON to the webhook and writes "sent" or the error, plus a timestamp, to a status column it creates on first run. It needs three values: the spreadsheet ID, the sheet name and the webhook URL.

  3. 03

    Run once to test

    We approve permissions, run the script and check that unsent rows arrive in Clay and each is marked as sent or errored. The status column is never created by hand.

  4. 04

    Automate with a time trigger

    A time trigger runs the script every 10 to 15 minutes rather than every minute, so half-typed rows are not synced. Each use case keeps its own sheet, rows are not edited once marked, and the script is owned from a shared Google account.

  5. 05

    Enrich and route

    In Clay the enrichment waterfalls run on each new row, then the result is pushed to HubSpot or Instantly.

Run this playbook in your systems

We build it into your stack and run it for you. Start with a free strategy call.

The workflow: Spreadsheet-to-enrichment sync