Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add New Row

Overview

The Add New Row action in Ownchat allows you to automatically capture chatbot responses and store them directly inside a Google Sheet as new spreadsheet rows.

Using this integration, you can:

  • Save customer details automatically

  • Store chatbot responses inside Google Sheets

  • Capture lead information from WhatsApp

  • Sync customer data in real-time

  • Automate spreadsheet updates without manual entry

This functionality is ideal for lead collection, CRM syncing, customer data storage, order management, and reporting workflows.

Prerequisites

Before configuring the Add New Row action, ensure the following:

  • A Google account is available

  • Google Sheets access permissions are enabled

  • The target spreadsheet already exists

  • Required spreadsheet columns are created

  • Your chatbot flow is already configured inside Ownchat

Connecting Google Sheets with Ownchat

Step 1: Open Apps Section

To begin:

  1. Log in to Ownchat

  2. Navigate to the left sidebar

  3. Click the Apps icon

This opens the applications and integrations marketplace.

Step 2: Open CRM Integrations

Inside the Apps section:

  1. Click the CRM filter

This displays all available CRM applications and integrations supported by Ownchat.

Step 3: Select Google Sheet

From the CRM integrations list:

  1. Locate the Google Sheet app card

  2. Click the card to open integration details

This redirects you to the Google Sheet connections page.

Step 4: Create a New Connection

Inside the Google Sheet integration page:

  1. Click Add a New Connection

This starts the Google Sheets authentication process.

Authenticating Google Sheets

Step 5: Select Gmail Account

To authenticate Google Sheets:

  1. Choose the Gmail account where your spreadsheets are stored

Once connected, Ownchat automatically fetches all available spreadsheets linked to the selected account.

Step 6: Advanced Authentication

If Google displays a verification warning:

  1. Click Advanced

  2. View additional options

This allows you to continue the authentication process.

Step 7: Continue to Ownchat

After opening advanced options:

  1. Click:

  • Go to Ownchat.app (unsafe)

This proceeds to the Ownchat authorization screen.

Step 8: Grant Access

To complete authentication:

  1. Click the Continue button

This grants Ownchat access to your Google Sheets account.

Step 9: Enter Connection Name

Inside the Create Connection dialog:

  1. Enter your preferred connection name

Example:

Sample GSheet Uploading

Using descriptive names helps identify integrations easily later.

Step 10: Create Connection

After entering the connection name:

  1. Click Create connection

This finalizes and saves your Google Sheets integration.

Configuring the Bot Workflow

Step 11: Open Bot Section

To configure the chatbot action:

  1. Click Bot from the left sidebar

This opens the bot management screen.

Step 12: Search for Bot

Inside the Bots section:

  1. Use the search field

  2. Search for the required bot by name

This helps quickly locate the target chatbot workflow.

Step 13: Open Builder

To edit the workflow:

  1. Click Open Builder

This opens the chatbot flow builder interface.

Step 14: Add a New Node

Inside the bot builder:

  1. Click Add Node

This creates a new workflow node for the Google Sheets action.

Configuring Google Sheets Add New Row Action

Step 15: Select Google Sheet Integration

From the Connections panel:

  1. Click Google Sheet

This opens available Google Sheets actions.

Step 16: Select Add New Row

Under Google Sheet actions:

  1. Click Add New Row

This opens the Add New Row configuration window.

Add New Row Configuration Fields

The configuration window contains the following fields:

Field

Description

Action Name

Name of the workflow action

Select Connection

Google Sheets connection

Spread Sheet

Target spreadsheet

Sheet

Target worksheet tab

Column Name

Spreadsheet column name

Value

Variable or static value

Store Response in Variable

Stores API response data

Step-by-Step Action Configuration

Step 17: Enter Action Name

Inside the Action name field:

  1. Enter a descriptive action name

Example:

Add Gsheet Row

This helps identify the action inside complex workflows.

Step 18: Select Connection

Under Select Connection:

  1. Open the dropdown menu

  2. Select:

  • Sample GSheet Uploading

This connects the action to the configured Google Sheets account.

Step 19: Select Spreadsheet

Under Spread Sheet:

  1. Open the dropdown menu

  2. Select:

  • Sample upload

This specifies the spreadsheet where data will be stored.

Step 20: Select Sheet

Under Sheet:

  1. Open the dropdown menu

  2. Select:

  • Sheet1

This defines the worksheet tab inside the spreadsheet.

Mapping Spreadsheet Columns

Step 21: Configure Name Column

To map customer names:

  1. Select the column:

  • name

  1. Click Add variable

  2. Select the customer name variable

Example:

{{customer.name}}

This stores the customer name inside the Name column.

Step 22: Add Another Column

To insert additional fields:

  1. Click New value

This creates another column-value pair configuration.

Step 23: Configure Phone Number Column

To map customer phone numbers:

  1. Select the column:

  • phoneNo

  1. Click Add variable

  2. Select the customer phone variable

Example:

{{customer.phone}}

This stores the phone number inside the spreadsheet row.

Configure Response Variable

Step 24: Store Response Data

To store the Google Sheets response:

  1. Open the Store response in variable dropdown

  2. Click:

  • Create new variable

  1. Enter a response variable name

Example:

addnewrow_response

This variable stores the API response returned after the row is inserted successfully.

Step 25: Create the Action

After completing all fields:

  1. Click the Create button

This saves the Add New Row action inside the workflow.

Publish the Bot Workflow

Step 26: Publish the Bot

To deploy the workflow:

  1. Click the Publish button

This publishes and activates the updated bot workflow.

Connecting Additional Actions

After the Add Gsheet Row action:

  • You can connect additional workflow actions

  • Customer details will continue flowing through the bot

  • Spreadsheet records will remain synchronized automatically

This allows you to build complete lead management or CRM automation workflows.

Example Configuration

Setting

Example Value

Action Name

Add Gsheet Row

Connection

Sample GSheet Uploading

Spreadsheet

Sample upload

Sheet

Sheet1

Column 1

name

Value 1

{{customer.name}}

Column 2

phoneNo

Value 2

{{customer.phone}}

Response Variable

addnewrow_response

Common Use Cases

Lead Collection

Automatically store:

  • Customer names

  • Phone numbers

  • Email addresses

  • Inquiry details

WhatsApp CRM Sync

Capture WhatsApp leads directly into spreadsheets for sales tracking.

Order Management

Store:

  • Order details

  • Delivery information

  • Payment status

  • Customer records

Campaign Tracking

Track:

  • Ad campaign leads

  • Form submissions

  • Customer responses

  • Event registrations

Best Practices

Use Structured Column Names

Use clean spreadsheet column names such as:

  • name

  • phoneNo

  • email

  • city

  • order_status

Use Variables Dynamically

Always use variables instead of static values for customer data.

Store API Responses

Save responses for:

  • Error handling

  • Workflow tracking

  • Conditional automation

  • Logging activities

Verify Spreadsheet Access

Ensure:

  • Spreadsheet permissions are active

  • The worksheet exists

  • Column names match exactly

Troubleshooting

Spreadsheet Not Loading

Possible causes:

  • Incorrect Google authentication

  • Spreadsheet access denied

  • Expired Google session

Solution

Reconnect the Google Sheets integration.

Columns Not Appearing

Possible causes:

  • Empty spreadsheet header row

  • Invalid sheet selection

Solution

Ensure the first row contains valid column names.

Row Not Added

Possible causes:

  • Variable mapping issue

  • Invalid spreadsheet permissions

  • Missing required values

Solution

Verify all mapped variables and spreadsheet permissions.

Authentication Warning

Google may display:

  • “Google hasn’t verified this app”

Solution

Click:

  1. Advanced

  2. Go to Ownchat.app (unsafe)

  3. Continue

Only proceed if you trust the application.

Summary

The Add New Row action enables Ownchat bots to automatically insert customer data into Google Sheets in real time.

By configuring this integration, you can:

  • Capture chatbot responses automatically

  • Sync WhatsApp data into spreadsheets

  • Store customer information instantly

  • Build CRM and reporting workflows

  • Automate lead management processes

This functionality helps businesses centralize customer data efficiently using Google Sheets automation inside Ownchat.

Last updated