Blog
guide

How to Connect Google Sheets to Grok Bot Using Sequel

Musthaq Ahamad
Musthaq Ahamad
How to Connect Google Sheets to Grok Bot Using Sequel

Plenty of real business data still lives in a spreadsheet: the budget, the content calendar, the pricing model nobody has migrated yet. Grok Bot is xAI's bot builder, an agent that keeps context and reaches your tools through plugins. Connect a sheet through Sequel and the bot can read it alongside your database, which is where spreadsheets usually become useful.

TL;DR

What you're connectingOne Google Sheets spreadsheet to Grok Bot
Setup timeAbout 4 minutes
Setup methodOne chat message. Grok Bot has no MCP config file
AuthGoogle OAuth with the drive.file scope
Access levelOnly the spreadsheet you pick in the file picker
Scope of a connectionOne spreadsheet
AvailabilityAccount-wide, including scheduled and background runs

What You'll Accomplish

Once this is wired up, you can ask your bot:

  • "Which line items in the budget tab are more than 20% over plan this quarter?"
  • "Summarise the content calendar: what ships in the next two weeks and who owns it?"
  • "Compare the forecast tab against actual revenue from Stripe."

Prerequisites

  • A Sequel account: sign up free at sequel.sh
  • A Google account with read access to the spreadsheet
  • A Grok account with a bot you can send messages to

Step 1: Connect Google Sheets to Sequel

Sign in to sequel.sh and open Data Sources.

Sequel Data Sources page

Click New Connection and choose Google Sheets.

Choose a connector

StepWhat happens
Sign in with GoogleGoogle's consent screen asks for the drive.file scope
Pick a spreadsheetA file picker opens, filtered to spreadsheets. Select one
ConfirmSequel verifies access, indexes the tabs and column headers, and goes live

Scoped by design. drive.file grants access to the one file you selected. Sequel cannot enumerate or open anything else in your Drive.

Step 2: Add Sequel to Grok Bot

Grok Bot has no MCP config file and no settings form to fill in. You add a server by asking the bot.

Open a chat with your bot and send this:

Add a custom MCP server called sequel at https://api.sequel.sh/mcp

Say custom server explicitly. Leave those words out and the bot searches the plugin marketplace instead of registering your endpoint.

Sequel's Grok Bot install card

The bot reads the name and URL back to you. Check both, confirm, and it posts a connect card in the chat. Click Authorize, sign in to Sequel, and approve access. The OAuth token stays on the connector side, so there is no API key to copy and nothing to keep in sync.

To confirm it registered, open Settings → Plugins → Yours. Every server on your account is listed there, including the ones you added by chat.

Grok's plugins panel

Then attach it to a task: type @ in the chat and pick sequel.

Using Grok chat rather than a bot? The steps do not carry over. On grok.com, open Plugins → New Connector → Custom, set the name to Sequel and the Server URL to https://api.sequel.sh/mcp, click Add Connector, and sign in.

Grok custom connector form

Step 3: Ask Grok Bot About Your Spreadsheet

Attach @sequel and ask:

Which budget line items are more than 20% over plan this quarter?
Summarise the content calendar tab: what ships in the next 14 days, and who owns each item?
Which rows in the pricing tab have a missing or zero margin?

What You Can Do Now

  • Spreadsheet questions without scrolling: ask for the answer rather than hunting through 4,000 rows.
  • Plan versus actual: with Stripe or your database connected, compare the forecast tab against what really happened.
  • Data hygiene checks: "Which rows are missing an owner or a due date?" on a schedule.
  • Summaries for stakeholders: turn a sprawling tracker into three sentences.
  • Reference data for joins: keep mappings and lookup tables in a sheet and let the bot join them against production data.

Troubleshooting

SymptomLikely fix
The bot searched the marketplace instead of adding the serverResend the message with the words "custom server" in it.
The server is not listed under Settings → Plugins → YoursThe registration did not complete. Resend the message and confirm the name and URL when the bot reads them back.
The bot answers without touching your dataYou did not attach it. Type @ in the chat and pick sequel before asking.
The picker shows no spreadsheetsYou signed in with a Google account that does not have access to the file. Reconnect with the right account.
Columns look wrong in answersHeaders changed. Refresh the schema from the connection settings.
You need a second sheetOne connection is one spreadsheet. Add another connection.

Related Guides

Try Sequel

Build your company brain.

Sequel connects the systems your company runs on and learns how your team defines every metric, so any AI agent can answer from it. Free for up to 3 seats, no credit card required.

Get started free

Frequently asked questions

How do I add Sequel to Grok Bot?

Ask the bot. Send "add a custom MCP server called sequel at https://api.sequel.sh/mcp", confirm the name and URL it reads back, then click Authorize on the connect card and sign in to Sequel. Say "custom server" explicitly so the bot adds the endpoint instead of searching the plugin marketplace.

Do I need a Sequel API key for Grok Bot?

No. Sequel is a remote MCP server with OAuth. The bot posts a connect card, you authorize in the browser, and the token stays on the connector side. There is no key to paste into a chat.

Is this the same as Grok chat or Grok Build?

No, and the steps do not carry over. Grok chat on grok.com adds servers under Plugins, New Connector, Custom. Grok Build is the terminal coding agent and uses grok mcp add. Grok Bot is the bot builder, where you add servers by asking the bot.

Can Sequel see my whole Google Drive?

No. Sequel requests Google's drive.file scope, which grants access only to the spreadsheet you pick in the file picker. It cannot read, list, or modify any other file in your Drive.

Do I paste a spreadsheet URL or ID?

Neither. After you sign in with Google, a file picker opens filtered to spreadsheets and you select the one you want. There is nothing to copy.

Can I connect more than one spreadsheet?

Yes. One connection represents one spreadsheet. Repeat the flow for each sheet you want your bot to reach.

Does the bot read every tab?

Sequel indexes the spreadsheet's tabs and column headers at connect time, so the bot knows which tabs and columns exist before it reads any rows.

What if someone changes the column headers?

Refresh the schema from the connection settings. Sequel re-reads the tab and header layout so generated queries match the current sheet.

Written by

Musthaq Ahamad
Musthaq Ahamad

Co-founder and CEO of Sequel. Previously built developer tools and data infrastructure. Passionate about making data accessible for everyone.