Generate monthly BigQuery KPI PDF reports with Claude, Google Docs, Outlook and Teams
Ready for 3.0What this workflow does
This AI workflow has 24 nodes and runs on a schedule (cron 0 7 1 * *). Along the way it connects Google BigQuery, Anthropic Chat Model, Google Drive and Google Docs and 3 more.
How it runs
Trigger: On a schedule (cron 0 7 1 * *).
- Calculate Previous Month (Code): runs custom JavaScript code
- Fetch Revenue KPIs (Google BigQuery): uses Google BigQuery
- Fetch Top Sales Categories (Google BigQuery): uses Google BigQuery
- Fetch Weekly Sales Trend (Google BigQuery): uses Google BigQuery
- Fetch Top Customers (Google BigQuery): uses Google BigQuery
- Label Revenue Data (Code): runs custom JavaScript code
- Label Category Data (Code): runs custom JavaScript code
- Label Weekly Data (Code): runs custom JavaScript code
- Label Customer Data (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
…plus 12 more steps. See the full node list below.
Services it uses
Other Google Drive + Google Docs templates (100) · Other Anthropic + Google Drive templates (68) · Other Anthropic + Google Docs templates (28)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Google BigQuery
n8n-nodes-base.googleBigQuery - Merge
n8n-nodes-base.merge - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Google Drive
n8n-nodes-base.googleDrive - Google Docs
n8n-nodes-base.googleDocs - Microsoft OneDrive
n8n-nodes-base.microsoftOneDrive - Microsoft Outlook
n8n-nodes-base.microsoftOutlook - Microsoft Teams
n8n-nodes-base.microsoftTeams
From the author
Quick overview This workflow runs monthly to query KPI data from Google BigQuery, generates a narrative with Anthropic Claude, fills a Google Docs report template, exports it as a PDF, archives it to OneDrive, emails it via Microsoft Outlook, and posts a…