WotNot Help Center
Create a ticketBook a demoProduct
  • 👋Welcome!
  • 🏁Getting Started
    • Building a chatbot
    • Testing a chatbot
    • Publishing your bot
      • Web
        • Embed chatbots on website
      • WhatsApp
        • Meta
        • 360Dialog
        • Twilio
        • GupShup
        • TechAlpha
      • Instagram
      • Facebook Messenger
      • SMS
      • Mobile app
      • API
    • Utility Tools
    • Contacts
      • Scheduling a Contact Report
      • Exporting a Contact List
      • Blocking contacts
    • Chatbot Appearance
      • Custom CSS
      • Image dimensions
      • Pop-up messages
  • ⚒️Bot builder
    • Action blocks
      • Trigger
      • Send message
      • Collect input
      • Buttons
      • Reply buttons
      • Carousel
      • Agent
      • Answer AI
      • Set AI
      • Send an email
      • List
      • Condition
      • Talk to human
      • Dynamic data
      • Javascript
      • Collect file
      • Form
      • Webhook
      • Flow
      • Jump
      • Options
      • Calendar
      • Delay
      • Codeblock
      • Slider
      • Image gallery
      • Send WhatsApp
      • Send SMS
      • Send Email
      • Send Status
      • WhatsApp flow
      • Catalogue
    • Outbound bots
      • Building One Off Campaign
      • Building Ongoing Campaign
    • Variables
    • Cloning bots
    • Requesting edit access
    • Connecting action blocks
    • Creating a loop
  • ✨AI Studio
    • Building a GPT chatbot
    • Knowledge base
    • Custom Answers
    • Functions
    • Prompts
    • AI credits
    • Refresh frequency
  • 💬Live Chat
    • Overview
    • Building a bot with live chat
    • Creating views
    • Adding labels
    • Saved replies
    • Settings
  • 🔗Integrations
    • Overview
    • HTTP request
    • Ready integrations
      • Google Calendar
      • Google Sheets
      • Google Analytics
        • Using Javascript
      • Salesforce
      • HubSpot
      • Calendly
      • Slack
      • Airtable
      • Zendesk
      • Freshdesk
      • DialogFlow
      • Zoho CRM
    • Events
    • Zapier
    • Public APIs
  • 💬WhatsApp Business API
    • Getting a WhatsApp API
      • Getting WhatsApp API (Old approach)
      • Sandbox WhatsApp API
    • Facebook Business Manager (FBM) Verification
    • Creating a WhatsApp Template
    • Cost
    • Messaging Limits, Quality Rating
    • Official Business Account (Green tick verification)
  • 📊Reporting
    • Overview
    • Chatbot Report
    • Agent Report
    • Outbound Report
    • Link analytics
    • Weekly email report
  • 🛠️Troubleshooting
    • Getting notification for leads
    • JS functions to trigger chat widget
    • Opt-out management
    • Setting up link tracking
    • How do I hard refresh my browser?
    • Cookies
    • Notifications
    • Tracking Facebook Pixel
    • Setting up SSO login
    • Inviting teammates
    • Teams
  • 🧑‍💻Support
    • Creating a ticket
    • Book a demo
    • Purchasing a subscription
    • Cancelling a subscription
    • Refund policy
    • Reset password
    • Deleting account
Powered by GitBook
On this page
  • Connecting your Google account
  • Creating records
  • Step 1: Choose your Google Sheet
  • Step 2: Choose the variables you want to send
  • Fetching records
  • Step 1: Choose the sheet to search
  • Step 2: Add your search criteria
  • Step 3: Saving responses
  • Updating records
  • Step 1: Choose the sheet to search
  • Step 2: Add your search criteria
  • Step 3: Update the data

Was this helpful?

  1. Integrations
  2. Ready integrations

Google Sheets

Push and fetch records from a Google Sheet.

Available in the STARTER plan and above.

Using the Google Sheets integration, you can perform two actions – i.e., create a record or fetch data from your desired Google Sheets.

Connecting your Google account

Before using this action block, you need to connect your Google account. Once connected, you will see the list of all Google Sheets that you have edit access to.

You can connect your account in two ways:

  1. Google Sheets action block – Click on the “+ Add account” option.

  2. App market – Click on Google Sheets > Sign in with Google

Once connected, you will see your Google email address in the account dropdown.

Ensure to grant all the necessary permissions on the account permission screen.

Creating records

To create a record on Google Sheets, here are the steps to be followed:

Step 1: Choose your Google Sheet

After choosing your Google account, and action as “Create records”, you need to choose your desired “Sheet” from the dropdown.

You will only see the sheets that you have edit access to. And when choosing a sheet, WotNot automatically creates a new worksheet under which the data will be pushed.

Step 2: Choose the variables you want to send

Now choose the variables that you want to push to the selected Google Sheet. Each selected variable will be added as a column on the sheet.

For example, if you want to push lead information you would select the following variables:

  • Name

  • Email

  • Phone

  • City

  • Country

  • Created at

Fetching records

You can fetch data from a Google Sheet based on criteria using this action.

Step 1: Choose the sheet to search

Choose the Google sheet and the worksheet that you want to search data from.

Enable the checkbox ‘First row contains..’ if the column heading is present.

Step 2: Add your search criteria

Define the search criteria based on which values will be fetched from the Google Sheet.

You can choose to add multiple conditions using the “ANY/ALL” operators.

For example, you want to fetch the leads whose city is New York and country is United States.

  • Condition 1: Column=city, Operator=equals to, Value=New York

  • Condition 2: Column=country, Operator=equals to, Value=United States

  • Choose the ALL operator, as you need both conditions to hold true.

Step 3: Saving responses

Choose the values from the columns you want to save into variables. Map them out, and the values fetched will be stored inside.

If more than one row gets qualified in the search criteria, the data will be stored in a JSON format in the variable. You can then use the dynamic data action block to parse the data.

For example, if we choose the above condition of city=New York and country=United States, we will receive multiple records as a response.

Taking the example of the name field, it would be stored as:

[{“name”: “Hardik Makadia”, “name”: “John Doe”}]

Updating records

You can update records on a Google Sheet based on your criteria.

Step 1: Choose the sheet to search

Choose the Google sheet and the worksheet that you want to search data from.

Enable the checkbox ‘First row contains..’ if the column heading is present.

Step 2: Add your search criteria

Define the search criteria based on which values will be fetched from the Google Sheet.

You can choose to add multiple conditions using the “ANY/ALL” operators.

For example, you want to fetch the leads whose city is New York and country is United States.

  • Condition 1: Column=city, Operator=equals to, Value=New York

  • Condition 2: Column=country, Operator=equals to, Value=United States

  • Choose the ALL operator, as you need both conditions to hold true.

Step 3: Update the data

Map the columns you want to update with a value or variable.

The column name from the first row of your sheet will be displayed in the column dropdown.

PreviousGoogle CalendarNextGoogle Analytics

Last updated 8 months ago

Was this helpful?

🔗