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

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 More -> Third Party Apps, and search for Google Sheets

  1. Click “About”, review the use cases and documentation if visible.

  1. Click “Add Configuration” and fill the configuration name. Then, click on "Continue to Google Sheets" to start OAuth Flow.

  1. Once Oauth flow is compelted, click on Save Configuration to add the configruation.


B. Prepare Metadata for AI Agent

  1. Access the "More" -> "Custom Attribute" sub-tab.

  2. Click on "Add Attribute" to create mandatory attributes such as:

    1. Title

    2. Phone Number

    3. Email Address

    4. Any additional custom fields

  1. Once the attributes are made, ensure each attribute toggle is turned ON.

  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.

  2. Click on Add Tools 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 Continue.

Configure Tool Settings

  1. Select all the actions that you want to allow the sheet to have.

  1. Configure the sheet prompt, making sure to mention when the tool should be activated.


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.


Support

If you still have questions for our team, write to us at support@botpenguin.com. We’ll get back to you within 48 hours.

Last updated