Google Sheets Integration
Let your agents read from and write to Google Sheets. This turns any spreadsheet into a live data source or a place to log information — leads, orders, survey responses, and more.Connecting Google Sheets
Step 1: Start the OAuth Flow
- Navigate to Agents and select your agent.
- Go to the Tools section and click Add Tool.
- Select Google Sheets.
- Click Connect Google Account.
Step 2: Authorize Access
- Sign in with the Google account that has access to your spreadsheets.
- Review and approve the permissions:
- View your Google Sheets — read spreadsheet data
- Edit your Google Sheets — write and update data
- Click Allow.
Step 3: Configure the Tool
Available Actions
Reading Spreadsheet Data
The agent can read data from your spreadsheet and use it to answer questions:Writing to Spreadsheets
The agent can also write data back to your sheets:Using Sheets as a Data Source
Google Sheets is a powerful way to give your agent structured knowledge without building a database:Common Use Cases
Setting Up a Data Sheet
- Create a Google Sheet with clear column headers in the first row.
- Fill in your data starting from row 2.
- Connect the sheet to your agent using the steps above.
- In your agent instructions, describe the data:
Example: Lead Tracking Agent
Build an agent that captures and manages leads in a Google Sheet.Sheet Setup
Create a Google Sheet called “Leads” with these columns:Agent Instructions
Sample Conversation
Tips
- Column headers matter — Use clear, descriptive headers. The agent reads them to understand the data structure.
- Keep data clean — Consistent formatting helps the agent parse data accurately.
- Use named ranges — If your sheet is complex, named ranges make it easier for the agent to find the right data.
- Multiple sheets — You can connect multiple sheets to the same agent, each serving a different purpose (e.g., one for products, one for leads).
- Formulas are respected — The agent reads computed values from formulas, not the formula text itself.
Troubleshooting
Next Steps
- Gmail — Send follow-up emails after capturing leads.
- Google Calendar — Book appointments from sheet data.
- Custom Tools — Push sheet data to your CRM via API.

