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
Navigate to any bot (preferably a Website bot for speed).
Go to “Third Party Apps Integration” in the left navigation.
Locate “Google Sheets” from the list or search bar.

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

Click “Connect” again and sign in using your Google account.
Grant all required Google permissions to authorize BotPenguin.

Once connected, click “Test Lead” to generate a demo sheet. This validates access and creates a reference spreadsheet.
B. Configure Google Sheets in Integrations
Go to the left-hand menu and click “More”.
Select “Integrations”.
From the integrations list, locate Google Sheets and click “Connect”.

Choose an existing configuration or click “Add New Configuration”.

Authorize once again via Google OAuth if prompted.
When complete, the configuration will be available for use across agents.
C. Prepare Metadata for AI Agent
Go to the AI Agent where Google Sheets will be used or click “Create Agent” for a new one.

Access the Agent Personality & Settings tab, "Meta Data" sub-tab.
Click on “Manage Attributes” to open Custom Attributes.

Create mandatory attributes such as:
Title
Phone Number
Email Address
Any additional custom fields

Ensure each attribute toggle is turned ON to keep it visible.
Return to the metadata panel and enable “Extract Metadata” for each attribute.

D. Add Google Sheets Tool Inside Prompt
Open the Prompt screen (Core Instructions or Conversation Flow).
Type a backslash ( \ ) to open the tool selector.

Search for or scroll to Google Sheets and select it.

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

Configure Tool Settings
Select the spreadsheet created earlier (from testing step).
Select the active sheet — default is Sheet 1.

Map metadata to Sheet columns: (3rd Party App Variables -> Map with Attributes)
Title → Title Field
Email → Email Attribute
Phone → Phone Attribute
Optional actions:
Add/remove mappings
Add fallback values
Make fields mandatory
Click Update & Next to finalize the mapping.
5. Test and Finalize Integration
Test the connection by entering mock values for mapped fields.
Click “Test Data” to validate interaction and sheet entry.
Once confirmed, click Finish to activate the integration.
🎉 Congratulations, you have successfully completed this section! You're one step closer to mastering BotPenguin.
FAQs
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?