- CategoryCRM
- AuthService account
- Scopes1
Overview
Connect Google Sheets so your campaigns can start from new rows in a spreadsheet and add or update rows as they run. You share each spreadsheet with a MessageMind service account, then add it under Connections > Integrations. You can connect several spreadsheets and pick the one each campaign step uses.
What MessageMind can do with it
- Start a campaign when someone new is added to a tab, with the Google Sheet Connection trigger.
- Each row that starts the campaign becomes a contact. The columns you map fill the contact's name, phone, email, address, company, birthday, language or custom fields, and a row with the email or phone of an existing contact is matched to that contact instead of creating a second one.
- Columns mapped to Custom field become variables in the later steps of the same campaign, so you can put them in a message.
- Add Row appends one row, or up to 25 rows, to a tab. Each cell takes a variable, such as the contact's email, or plain text.
- Update Row changes cells in the row that started the run, or in rows found by a value.
- In a Condition, Google Sheet value checks whether a matching row exists or what one of its cells says.
- Several spreadsheets can be connected at once, each under its own name.
Requirements
- A MessageMind Starter, Professional or Enterprise plan.
- A Google account that can share the spreadsheet with someone else as Editor.
- Column names in row 1 of every tab you want to use. Row 1 is always read as the header row.
- For the trigger, an email or phone column that you map to Contact Email or Contact Phone.
How to connect
- In the top bar, click Connections, then Integrations.
- Find Google Sheet (it's listed under CRM, or type it into Search integrations...) and click Connect.
- Under 1. Share your spreadsheet, click the copy icon next to the service account email.
- Open your spreadsheet in Google Sheets and click Share.
- Paste the email, set its role to Editor, and click Send (or Share).
- Copy the spreadsheet's address from your browser's address bar.
- Back in MessageMind, paste it into the box under 2. Add the spreadsheet and click Verify.
- Wait for the green panel with "✓ read + write" and the names of your tabs. The Name in MessageMind field starts with the file's title. Change it if you like, since it's the name you'll pick in campaigns.
- Click Connect spreadsheet. The file now appears under Connected spreadsheets.
- To add another spreadsheet, click Add file, share the new file with the same email, paste its address, click Verify and then Connect spreadsheet. Click Done when you've finished.
Authentication and permissions
- Mechanism
- You share each spreadsheet with the service account email shown in the Google Sheet window, the same way you'd share it with a colleague, and MessageMind opens the file through that account.
- Credentials
- Two things: the service account email, which you copy from step 1 of the Google Sheet window, and the address (or ID) of each spreadsheet you connect.
Required scopes
Editor access on each spreadsheet, chosen in Google's Share window.
Available data and actions
Reads
- The spreadsheet's title and the names of its tabs.
- Column names from row 1 of each tab, which fill the column lists in campaign steps.
- The rows of the tab a Google Sheet Connection trigger watches, checked every five minutes.
- The row a Condition or an Update Row step looks for: the row that started the run, or one found by a match column and a match value.
Writes
- New rows at the end of a tab, from Add Row.
- New values in the cells an Update Row step names. The other cells in that row are left alone.
- New column names in row 1, when a step writes to a column the tab doesn't have yet.
AI agent use cases
- A customer asks the AI agent for a quote. An AI Action trigger lets the AI agent start a campaign during the chat, and an Add Row step writes the customer's name, phone and the details the AI agent collected into your sales team's sheet.
- In the same campaign, an Update Row step can find the customer's row in your leads sheet by email and set Status to Quoted, so your team sees who the AI agent has already handled.
- Before a payment reminder goes out, a Condition with Let AI Decide reads the Status cell in the customer's row and checks a rule you write in plain words, for example whether the status means the invoice is settled.
Configuration
- Once a spreadsheet is connected, the Google Sheet row on the Integrations page has a + button next to Disconnect. It reopens the Google Sheet window, where you add, rename or remove files.
- The pencil icon renames a connected spreadsheet. Only the name in MessageMind changes; the file in Google keeps its own name.
- The link icon next to each spreadsheet opens it in Google Sheets.
- In the Google Sheet Connection trigger, Which rows start this automation? offers New rows only (the default for a new trigger) and Every row. Every row includes everyone already in the tab who hasn't been through the campaign.
- Which tab (worksheet)? picks the tab the trigger watches. First tab (default) uses whichever tab comes first in the spreadsheet.
- Under Map columns to contact fields, each line pairs a Sheet column with the Contact field it fills. You can map a second Phone or Email column, and it's saved as an extra number or address on the contact.
- In Update Row, Which rows? chooses between Only the first match and Every matching row. If the row is not found, the step can add the row instead.
- A Condition on Google Sheet value can use Row exists, Row does not exist, a comparison such as Equals or Greater than, or Let AI Decide, where you describe what should be true about the cell.
Example workflows
Message every new lead added to a sheet
- Put column names in row 1 of your tab, for example Name, Phone, Email and Status, and connect the spreadsheet.
- In the Workspace, open Campaigns and click Create campaign. Type a name, keep Create an Automation selected and click Create.
- Click Add a Trigger and choose Google Sheet Connection under Google Sheets.
- Keep New rows only, pick your spreadsheet under Select Google Sheet, then pick the tab.
- Map Name to Contact name, Phone to Contact Phone and Email to Contact Email, then click Save.
- Add an Action step that sends your WhatsApp template or SMS.
- Add an Update Row action. Under Which row?, pick The row that triggered this run, add the Status column with the value Contacted, and click Done.
- Switch the campaign from Draft to Published and click Save.
- A teammate adds a row for a new lead. Within about five minutes the lead gets your message and the row's Status changes to Contacted.
Skip customers who have already paid
- Keep a Payments spreadsheet with an Email column and a Status column, and connect it.
- In your reminder campaign, add a Condition step and choose Google Sheet value.
- Under Find the row, pick the Payments spreadsheet, set Match column to Email and set Match value to the Contact Email variable.
- Under Check, set the operator to Equals, Column to check to Status and the value to Paid.
- Put the reminder on the No path. Customers whose row says Paid go down Yes, and customers with no row at all go down No and get the reminder.
- Save the campaign.
Log the quotes the AI agent collects
- Connect your leads spreadsheet.
- Create a campaign, click Add a Trigger and choose AI Action under AI Triggers.
- Type an Event Name, such as quote_request. In Trigger Description, say when the AI agent should use it, for example when a customer asks for a quote.
- Under AI Parameters, click Add parameter for each detail the AI agent should collect, such as budget, then click Save.
- Add an Add Row action and pick the spreadsheet and tab.
- Add a column for each value: Name with the Contact name variable, Phone with Contact Phone, and Budget with the Budget variable. Click Done.
- Switch the campaign to Published and click Save.
- A customer asks the AI agent for a quote in a chat. The AI agent starts the campaign, and a new row with the customer's details appears in your sheet.
Disconnect and reconnect
- To remove one spreadsheet, go to Connections > Integrations, click the + button on the Google Sheet row (just left of Disconnect), then click the trash icon next to that spreadsheet. The others stay connected.
- Removing the last spreadsheet in that list disconnects Google Sheet.
- To remove every spreadsheet at once, click Disconnect on the Google Sheet row. You'll see "Integration Successfully Removed".
- Contacts created from sheet rows stay in your Contacts.
- To take away access on Google's side too, remove the service account email in the spreadsheet's Share window.
- To reconnect, share the file as Editor again if you removed the service account, then add it with Connect or Add file. For New rows only, the rows in it at that moment count as already there.