Scope Wiser

Personalised Broadcasts From Google Sheets

Send a WhatsApp broadcast where each person gets their own data: custom fields, imported columns, template variables, and messaging each new sheet row.

Last updated Nov 15, 2026

What you'll do: send one WhatsApp campaign in which every person sees their own data, such as their balance, order number or due date.

Time: 30 minutes, plus template approval.

There's also an automatic option, where each new row added to a Google Sheet sends one message. That setup is for developers and is under Reference.

Before you start

  • ☐ Your spreadsheet has:

    • ☐ one row per person

    • ☐ a column of phone numbers in full international format

    • ☐ one column for each piece of data you want in the message

  • ☐ Everyone in it has agreed to hear from you. A row in a spreadsheet isn't an opt-in. Use the sheet as the source of truth for data, not for consent.

Tip: if a value looks wrong in the sheet, such as a leading zero disappearing or a date turning into a serial number, format the cell as text first.

1. Create the custom fields

A custom field is a slot on a subscriber that holds one piece of your data. Create the fields before you import anything: an import can only map a column to a field that already exists.

  1. Open Subscriber Manager.

  2. Click Manage and choose Custom Fields.

  3. Create one field for each column you want to bring in, for example balance_due, due_date, order_reference, with the right reply type on each.

Choose names carefully. They'll appear in template pickers, in the broadcast panel's Custom Field dropdown and in condition rules for months to come.

2. Import the spreadsheet

  1. In Subscriber Manager, click Export/Import and choose Import from CSV.

  2. In the dialog, choose Import from Google Sheet (or upload a CSV). Import from Google Contacts is the third option.

  3. Check the sample records.

  4. Map each column: pick the spreadsheet column under File Header and where it goes under Data Field. Phone number and name go to the built-in fields. Every other column goes to a custom field you created.

  5. Give the import a label, something specific such as oct_statement_run. That label is how you target the broadcast. If you leave it blank, the file name is used instead.

The import mapping step pairing File Header columns with Data Field custom fields

Importing Contacts From Google Sheets & Google Contacts covers the import screens in detail.

3. Build a template with variables

  1. Go to Chatbot Manager β†’ Automation β†’ Message Templates and create a template as usual.

  2. In MESSAGE BODY (1024)*, type # to pick a custom field or the name, or #! to pick a variable.

  3. Save it.

  4. Click Sync Templates and read the STATUS column. It normally shows Pending at first: Meta's review takes minutes to a few hours.

  5. Sync again after a wait. Carry on once it reads Approved.

Write for the shortest and longest values. A message that assumes a two-digit number looks broken when a five-digit one arrives.

4. Send the campaign

  1. Open Broadcasting and check the Current bot: chip names the right account.

  2. Click + Create Campaign. The Flow Builder opens in a new tab with the Configure Action Button panel already showing.

  3. Set Campaign name.

  4. Choose the Anytime broadcast type. A personalised statement almost always goes to people outside their 24-hour window.

  5. Pick your template under Select template.

  6. Put your import label into Include label ids.

  7. Check the Targeted subscribers figure against the number of rows you imported.

  8. Save the panel.

  9. Build the message flow behind Start Bot Flow, then save the campaign.

Running a WhatsApp Broadcast Campaign covers the rest of the panel in full.

Tip: to narrow the audience further, you don't need a second spreadsheet. Custom Field with Custom field contains value filters on the data you just imported. Selecting plan and typing trial sends only to trial customers.

βœ… Done when…

  • ☐ Your custom fields are filled in on the imported subscribers

  • ☐ Your template reads Approved

  • ☐ Targeted subscribers matches your row count, or you know why it doesn't

  • ☐ A test to yourself, with an awkward row, looked right

If something doesn't work

Targeted subscribers is lower than your row count. Three usual causes:

  • Rows whose phone numbers had no country code were never imported.

  • People you already had were added but not updated or re-labelled.

  • The label, country and custom-field filters in the same panel narrowed the number.

Other checks:

  • Test with a deliberately awkward row before the real run: a long name, a missing value, an unusual date. Send it to yourself.

  • Never leave a variable empty. A template with a missing variable is rejected rather than delivered with a gap, so leave incomplete records out of the audience.

  • Old values are being sent. Custom fields hold whatever the last import put there, and a balance from three months ago will still send. Import again to refresh the values.

Reference

Message every new sheet row automatically

A workflow can watch a Google Sheet and message each new row as it appears. Useful for form submissions, order records and bookings. Two rules apply to the sheet, whoever builds the link:

  • Fill the last column last. A part-filled row doesn't send while its final column is blank, so use that column as the "this row is ready" signal.

  • Don't insert columns in the middle afterwards. Values are read by position, so a new column changes what each field receives.

For developers: set up the sheet workflow

  1. Go to Chatbot Manager β†’ Automation β†’ Webhook Workflows and click Create. If that sub-tab is missing, WHATSAPP - WEBHOOK WORKFLOW is its own permission under Control Panel β†’ User Permission.

  2. Fill in WORKFLOW NAME * and choose your template under MESSAGE TEMPLATE *. A TEMPLATE INFO panel previews it.

  3. Click Create Workflow. The other settings only appear after it's saved. An AI assistant panel can fill in the mapping for you (optional).

  4. On the saved workflow, the Configure Webhook Data section shows a read-only Webhook Callback URL for this workflow, with a Google Sheet Instruction button beside it.

  5. Click Google Sheet Instruction. A panel headed Google Sheet Trigger Instruction opens, with the setup steps and the complete Apps Script (your workflow's URL already filled in), plus a Copy button.

The Google Sheet Trigger Instruction panel with the four steps, the generated Apps Script and its Copy button

The panel's four steps are:

  1. Go to the Apps Script Editor β€” open your Google Sheet, then Extensions > Apps Script.

  2. Add the Code β€” paste the onChange function into the script editor.

  3. Set Up a Trigger β€” click the Triggers (clock) icon, click Add Trigger, and set it up for the onChange function with the event type On change.

  4. Test the Function β€” insert or delete rows to trigger the function.

Don't skip step 3. People often do, and the result is a sheet that looks connected and sends nothing. Pasted code only runs when a trigger calls it.

onChange handles INSERT_ROW (reads the row just added) and EDIT (reads the row you're working in, skipping it if the last cell is still empty). Both call sendToWebhook, which POSTs { rowNumber, rowData, type } to your workflow as JSON.

Mapping the data:

  1. Add a test row.

  2. On the Real-time Response tab, click the green Capture Webhook Response button to load it. Alternatively, paste a payload into the Custom JSON Body tab and click Run Test to load the mapping fields with no external trigger.

  3. The mapping table lists Phone Number and each template variable. Next to each, pick the matching sheet column from the dropdown.

  4. If phone numbers start with +, choose the Trim Left formatter and enter +.

  5. Save the workflow. From then on, every new row sends a message.

Tests aren't free. A test run counts towards the workflow's TARGETED number and appears in the report alongside real sends.

Read the mapping, don't just trust it. It's filled in automatically and is usually right, but a wrong mapping delivers perfectly and says nothing useful.

Checking results: the workflow list shows the columns TARGETED, PROCESSED, DELIVERED, OPENED, FAILED, SKIPPED and UNREACHED, plus a Workflow Report button. To see exactly what one row sent, reopen the workflow and read the Raw Data panel.

The Webhook Workflows list with each workflow's delivery columns

Next: WhatsApp Broadcast Analytics & Reporting, to read the results of the send you just made. If this campaign is one of a series, the ready-made sequences in WhatsApp Sequences With Template Messages set up follow-ups for people who did and didn't respond.

Was this helpful?
Edit this page