Integration

WhatsApp Google Sheets integration: save new leads to a sheet

Avox can add a row to your Google Sheet when a lead arrives, and read one back when a customer asks a question. It does not copy every chat. Here is the real shape of it, limits included.

6 min read

Picture a bakery owner who takes custom cake enquiries on WhatsApp. At closing time she scrolls through the day's chats and types each name, number and date into a spreadsheet, because the spreadsheet is where her sister prints the week's orders from. It takes twenty minutes and she gets one digit wrong most weeks.

That's the job a WhatsApp Google Sheets integration can take off her. First, a correction to the tempting headline: Avox doesn't turn every chat into a row. It adds a row when something you've chosen happens, such as a lead being saved or a customer submitting a Flow. That's better than it sounds, because a sheet full of every message would be unreadable.

What a WhatsApp Google Sheets integration can do

Google is one connection in Avox, covering Calendar, Meet and Sheets. For Sheets, it can do exactly two things:

  • Read rows. A block of cells on a tab, like A1:D50, up to 500 rows of 50 cells.
  • Add a row. One new row at the end of a tab, in columns like A:D, up to 50 cells.

That's all. Avox doesn't edit existing rows, delete rows, create spreadsheets, or list your Drive. Values go in exactly as given and are never run as formulas, so a customer who types =SUM(...) as their name just gets that text in a cell.

Those ranges use Google's A1 notation, which its Sheets API documentation describes, and the spreadsheet is identified by the long ID in its link (docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit). In Avox you paste the whole link and it picks out the ID.

Connect Google

  1. Open Apps in the dashboard sidebar, then Google, and click Connect.
  2. Click Continue to Google, sign in with the account that can open your sheet, and leave every box ticked. One of them reads "Read and add rows in Google Sheets".
  3. You land back in Avox with a connected status. Test connection checks it any time.

The Google account you connect must be able to open the sheet you point at. If a card on the Apps page says Coming soon, that app isn't ready to connect in Avox yet; per the docs, every other app works as soon as it's connected. Connecting needs the Manage connected apps permission, and your plan sets how many apps one Switchboard can hold.

Build the leads sheet

The cleanest pattern is two parts: leads go into an Avox table, and an automation copies each new one to Google.

Part one: somewhere for leads to land. Make a table from the premade Leads table: name, phone, email, interested in, source, stage, follow-up date, notes. Leads reach it from a Flow, the API, an import or by hand.

Part two: the automation. The premade Add new leads to Google Sheets (one of the premade automations; the steps are described in automations with tables and Flows) starts when a row is added to Leads and adds a row to your sheet. It costs no credits, because it sends no message.

To set it up:

  1. Open the premade from the automation library.
  2. In the Use a connected app step, paste the spreadsheet's whole link and type the tab's name.
  3. Click Read the column names, so the values line up with your columns.
  4. Check the order. The premade writes Name, Phone, Email, Interested in, Source. Add a header row to your sheet in that order, or reorder the values in the step.
  5. Switch it on, then add a test lead and watch the row appear.

Each cell takes a value like {{row.name}} or {{row.phone}}. A fallback after a pipe, like {{row.email|}}, leaves a cell empty instead of stopping the run when a lead has no email.

Skipping the table

You don't have to use a table. An automation that starts when a customer submits a Flow can add a row directly, filling cells with the customer's answers, like {{flow.name}}. Use a table when you want the leads visible inside Avox as well; skip it when the sheet is the only place they need to live. The Flow submitted trigger is the one that starts from a submission, so that's the one to pick.

The other direction: look something up

The same connection can read. A Find a row in a sheet step reads a tab (its first row holds the column names), keeps the first row where a column matches your value, and ignores upper and lower case. Later steps can use that row's columns by name: a column called First Name becomes {{sheet.first_name}}.

That makes a sheet a cheap price list or stock list. A customer asks about a product, the automation finds its row, and the reply quotes what the sheet says today. If nothing matches, you choose whether the run stops or carries on, so you can answer "I couldn't find that" instead of going quiet.

Where this is the wrong tool

Three honest cautions.

  • You probably need Tables more. Avox's own tables sit next to the inbox, trigger automations and show who's who, which a sheet can't. Treat Sheets as the place a lead goes to be shared, printed or opened by someone who never logs in to Avox. We cover the table side in Avox Tables as a lightweight CRM.
  • Personal data now lives in Google. Names and phone numbers will sit in a spreadsheet that people can share by accident. Avox's log masks personal details, but your sheet doesn't. Only copy what you need, and keep sharing tight.
  • Avox doesn't watch the sheet. It reads or writes only when a step runs, so a change someone makes in the sheet won't start anything. Treat Avox as the writer and the sheet as the copy.

If you'd rather have records you can update and de-duplicate, the Airtable route does more. Avox can find, add, update and delete records there; see Airtable as a simple WhatsApp CRM.

Check what Avox did

Open Google, then Sheets in Avox. You'll see the spreadsheets Avox has read or added to, how often, their tabs and first rows, and an Open sheet link button. Avox can only show sheets it has touched. Activity has the log of every call, whether it worked, and its error code. The CRM and Sheets guide lists the codes.

Questions people ask

Can Avox add a row for every message?

Not by design. You pick the event: a lead added, a Flow submitted, a date in a row. Ask yourself what a person would need to see in the sheet, and trigger on that.

Will it overwrite my existing rows?

No. It adds a row after the last filled one and doesn't touch the rest.

Can one account use several sheets?

Yes. Each step names its own spreadsheet link and tab, so different automations can write to different sheets, as long as the connected Google account can open them.

Can it work with Excel?

Avox has no Excel connection. The sheet apps it connects are Google Sheets and Airtable.

Next step: make a Leads table from the premade, connect Google, and run the premade automation on one test lead before you point it at your real sheet.

Thanks for reading!

Thanks for reading

How did this land? 0 reactions

Was this helpful?

Try it yourself

A WhatsApp Google Sheets integration with Avox: connect Google once, then add a row for each new lead or Flow answer, or look a value up mid-chat.

Share this story

Follow Avox on Google

Pick Avox as a preferred source and Google shows our stories more often in Top Stories and its search results.

Add Avox as a preferred source on Google(opens Google)

Related articles

More stories on the same topics, picked for you.

Bring your team onto Avox today

No switch, no lost history: just faster replies from day one.

Signing up also gets you product updates, now and then. Unsubscribe any time. Privacy