Google Sheets

This section contains essential information and usage guidelines for integrating and using Google Sheets within BotPenguin AI Agents.

What is Google Sheets Integration?

Google Sheets integration enables BotPenguin AI Agents to automatically record and reference structured dataβ€”such as leads, responses, and attribute-level informationβ€”directly from live conversations. This streamlines data operations, supports automation workflows, and enhances AI agent intelligence through real-time sync capabilities.


Benefits of Google Sheets Integration

  • ⚑ Enables real-time data sync between chat interactions and Google Sheets.

  • πŸ“Š Supports structured lead tracking without manual data entry.

  • πŸ€– Enhances agent intelligence by using stored data in responses.

  • πŸ” Reusable configuration for multiple bots and use cases.

  • 🧩 Allows metadata mapping for dynamic and custom attributes.


How to Use Google Sheets Integration

A. Connect Google Sheets to a Bot

  1. Navigate to any bot (preferably a Website bot for speed).

  2. Go to β€œThird Party Apps Integration” in the left navigation.

  3. Locate β€œGoogle Sheets” from the list or search bar.

  1. Click β€œConnect”, review the use cases and documentation if visible.

  1. Click β€œConnect” again and sign in using your Google account.

  2. Grant all required Google permissions to authorize BotPenguin.

  1. Once connected, click β€œTest Lead” to generate a demo sheet. This validates access and creates a reference spreadsheet.


B. Configure Google Sheets in Integrations

  1. Go to the left-hand menu and click β€œMore”.

  2. Select β€œIntegrations”.

  3. From the integrations list, locate Google Sheets and click β€œConnect”.

  1. Choose an existing configuration or click β€œAdd New Configuration”.

  1. Authorize once again via Google OAuth if prompted.

  2. When complete, the configuration will be available for use across agents.


C. Prepare Metadata for AI Agent

  1. Go to the AI Agent where Google Sheets will be used or click β€œCreate Agent” for a new one.

  1. Access the Agent Personality & Settings tab, "Meta Data" sub-tab.

  2. Click on β€œManage Attributes” to open Custom Attributes.

  1. Create mandatory attributes such as:

    1. Title

    2. Phone Number

    3. Email Address

    4. Any additional custom fields

  1. Ensure each attribute toggle is turned ON to keep it visible.

  2. Return to the metadata panel and enable β€œExtract Metadata” for each attribute.


D. Add Google Sheets Tool Inside Prompt

  1. Open the Prompt screen (Core Instructions or Conversation Flow).

  2. Type a backslash ( \ ) to open the tool selector.

  1. Search for or scroll to Google Sheets and select it.

  1. Choose the credential from the dropdown and click Update & Next.

Configure Tool Settings

  1. Select the spreadsheet created earlier (from testing step).

  2. Select the active sheet β€” default is Sheet 1.

  1. Map metadata to Sheet columns: (3rd Party App Variables -> Map with Attributes)

    1. Title β†’ Title Field

    2. Email β†’ Email Attribute

    3. Phone β†’ Phone Attribute

  2. Optional actions:

    1. Add/remove mappings

    2. Add fallback values

    3. Make fields mandatory

  3. Click Update & Next to finalize the mapping.


5. Test and Finalize Integration

  1. Test the connection by entering mock values for mapped fields.

  2. Click β€œTest Data” to validate interaction and sheet entry.

  3. Once confirmed, click Finish to activate the integration.

πŸŽ‰ Congratulations, you have successfully completed this section! You're one step closer to mastering BotPenguin.


FAQs

Do I need to integrate Google Sheets separately for every agent?

No. Once configured globally under Integrations, you can reuse the same credentials across multiple agents by selecting them during mapping.

Why am I not seeing metadata variables during mapping?

Metadata fields must be created under Manage Attributes, enabled, and configured to Extract Metadata before they appear during tool mapping.

What happens if a user skips a required field?

If the field is mandatory and marked as required, the bot will prompt the user again. If fallback values are configured, those will be stored instead.

Can I write to multiple worksheets within the same file?

Yes. During mapping, you can choose any sheet inside the spreadsheet. Multiple tools can reference different sheets if required.

Is it possible to update existing records instead of creating new rows?

At this time, the integration supports append mode only. Update mode is planned for a future release.

Why is my sheet not created after clicking Test Lead?

Ensure Google OAuth permissions were fully granted and no pop-ups were blocked during authentication.


If you still have questions for our team, write to us at [email protected]. We’ll get back to you within 48 hours.

Last updated

Was this helpful?