Connect
BigQuery to
n8n
- Can it run every morning?
https://mcp.lemonado.io/mcpBuild n8n workflows that use your BigQuery data to join raw events to ad cost on a schedule, and post the result where your team works. Lemonado connects them in about 5 minutes with one Lemonado token.
https://mcp.lemonado.io/mcpWhy connect BigQuery to n8n?
n8n runs on triggers and schedules, so a question you ask once can become a check that runs every morning. Connected through Lemonado, it reads your BigQuery GA4 events, datasets, tables and scheduled queries, so it can join raw events to ad cost with today's numbers.
All your BigQuery data
Datasets and tables your account can read, ready to ask about.
Always today's numbers
Google Ads and Search Console bulk exports, if you run them, synced from BigQuery automatically, so answers use today's numbers.
Connect all your tools
Questions like "What did paid sessions earn?" use BigQuery and GA4, Snowflake at once.
How to connect BigQuery to n8n
Before you start
- A Google BigQuery account you can sign in to
- n8n installed
- A Lemonado account (the free trial works)
- 1
Connect Google BigQuery in Lemonado
In Lemonado, open Connectors, find Google BigQuery and sign in. Sign in with a Google account that can read the dataset holding your GA4 export, and pick that project. The BigQuery Data Viewer and Job User roles are enough.
- 2
Turn on external access
In the company's settings, open External tools, turn the connection on, choose which sources it can reach and copy the server URL.
texthttps://mcp.lemonado.io/mcp - 3
Create a token in Lemonado
In External tools, open your connection's guide, choose n8n, pick an expiry and click Generate Token. Copy it.
- 4
Add the MCP Client Tool
In your workflow, add an AI Agent node, then add an MCP Client Tool under its tools. Use node version 1.1 or later; version 1 only speaks SSE.
- 5
Configure it
Set the endpoint to the server URL, the transport to HTTP Streamable (pick it yourself on node version 1.1, which defaults to SSE) and authentication to Bearer Auth. Create a Bearer Auth credential and paste the raw token, without a "Bearer " prefix.
texthttps://mcp.lemonado.io/mcp - 6
Test and save
Test the connection, save the workflow and ask the agent about your data.
- 7
Ask n8n about BigQuery
Try "Every morning at 8, check yesterday's BigQuery numbers and post anything unusual to #marketing." Or ask: "Did the export land?" or "Weekly funnel from raw events"
Good to know
- If the MCP Client Tool only shows an SSE Endpoint field, it's the version 1 node: replace it with a newer one. Keep the /mcp URL and choose HTTP Streamable.
- Regenerating a token in Lemonado invalidates the old one, so update n8n when you do.
What can n8n do with BigQuery?
n8n's AI Agent reads your BigQuery data on a trigger or a schedule, then posts, logs or files the result in the next node.
Every morning at 8, check yesterday's BigQuery numbers and post anything unusual to #marketing.
Running daily. Today's post flagged one change against the 7-day average, with the number and a link to the source.
Source: Google BigQuery
Every morning, check that yesterday's GA4 events table exists in BigQuery and has at least 70% of the usual event count, and post in #analytics if not.
Today: the table landed with 96% of the usual events. Nothing to post.
Source: Google BigQuery
Each Monday, send last week's view_item, add_to_cart and purchase counts from the GA4 export, by device.
Last week: 4.1% of product views became purchases on desktop, 1.7% on mobile. Sent to #ecommerce.
Source: Google BigQuery
From the GA4 export in BigQuery, what were the last three pages people viewed before a purchase in October?
The most common path ends on the size guide, then the product page, then the cart. 41% of buyers read the size guide first.
Source: Google BigQuery
Using the GA4 export, which first-touch campaigns brought users who purchased twice or more within 90 days?
The spring "Trail kit" email brought the most repeat buyers: 22% bought again. Paid social first touches came back at 9%.
Source: Google BigQuery
Join GA4 purchase revenue from BigQuery with Google Ads cost by campaign for last month.
Brand search returned $11.80 per dollar, Performance Max $3.10. Two PMax asset groups spent $4,200 with no GA4 purchases at all.
Source: BigQuery + Google Ads
Connect BigQuery to another AI app.
Claude
Connect BigQuery to Claude
ChatGPT
Connect BigQuery to ChatGPT
Claude Code
Connect BigQuery to Claude Code
Cursor
Connect BigQuery to Cursor
VS Code (GitHub Copilot)
Connect BigQuery to VS Code (GitHub Copilot)
Codex
Connect BigQuery to Codex
Perplexity
Connect BigQuery to Perplexity
Google Antigravity
Connect BigQuery to Google Antigravity
Windsurf (Devin Desktop)
Connect BigQuery to Windsurf (Devin Desktop)
Zed
Connect BigQuery to Zed
Other integrations for n8n
All n8n integrations- Google Analytics in n8nAsk Claude, ChatGPT or Cursor about GA4 traffic, conversions and funnels, next to your ad spend.
- Google Ads in n8nAsk Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- Google Search Console in n8nAsk Claude, ChatGPT or Cursor about your search queries, rankings and lost clicks.
- Instagram organic in n8nAsk Claude or ChatGPT which posts and reels grow your account, and which ones to turn into ads.
- Pinterest Ads in n8nAsk Claude or ChatGPT which pins get saved, clicked and bought.
- Snapchat Ads in n8nAsk Claude or ChatGPT which Snapchat ads get swipes and which ones sell.
Reading this as an AI agent?
Everything an agent needs to set this up, in plain text. Paste this page's link into n8n and ask it to connect you, or copy the block.
# Connect Google BigQuery to n8n (Lemonado MCP) - Server URL: https://mcp.lemonado.io/mcp - Transport: Streamable HTTP - Auth: Bearer token the user generates in Lemonado (External tools → n8n) - In Lemonado: connect the Google Cloud project. Sign in with a Google account that can read the dataset holding your GA4 export, and pick that project. The BigQuery Data Viewer and Job User roles are enough. - In n8n: AI Agent → MCP Client Tool ```text https://mcp.lemonado.io/mcp ``` First question to try: "Every morning at 8, check yesterday's BigQuery numbers and post anything unusual to #marketing." More: https://lemonado.io/integrations/bigquery · https://lemonado.io/llms.txt
Frequently Asked Questions
Yes, through Lemonado. Connect your Google Cloud project in Lemonado, add Lemonado as an MCP Client Tool on an n8n AI Agent node, and n8n can join raw events to ad cost with your live data.
Yes. Google's BigQuery MCP server is hosted, so n8n can use it too. It covers Google BigQuery only. Lemonado covers Google BigQuery plus your ad platforms, GA4 and the rest of your stack in one connection, so n8n can answer questions across them.
Use Test step on the MCP Client Tool. A 401 means the token expired or was regenerated, so paste a new one into the Bearer credential. In Lemonado, check that Google BigQuery is connected and External tools is on for the company. If yesterday's GA4 data is missing, the daily export may not have landed yet. GA4 writes the events_ table for a day several hours after it ends.
Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Join GA4 purchase revenue from BigQuery with Google Ads cost by campaign for last month."
MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.
Still have a question?
Shoot us an email at hello@lemonado.io.
Try for freeStop fighting with data. Start feeding your AI.
Connect your data to AI and free your team from reporting and busywork.
Try Lemonado free