Audit Google Cloud inventory and IAM changes with BigQuery and Google Sheets
Ready for 3.0What this workflow does
This workflow has 41 nodes and runs on a schedule (every day at 03:00) (plus 1 other trigger). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (every day at 03:00) (plus 1 other trigger).
- Configuration (Edit Fields (Set)): sets or maps fields
- Initialize run (Code): runs custom JavaScript code
- Ensure run registry (Data table): create (table)
- Register running (Data table): create or update
- Create dataset (HTTP Request): calls an HTTP API (POST)
- Prepare setup job (Code): runs custom JavaScript code
- Record failure (Code): runs custom JavaScript code
- Submit BigQuery job (HTTP Request): calls an HTTP API (POST)
- Register failure (Data table): create or update
- Validate submitted job (Code): runs custom JavaScript code
…plus 29 more steps. See the full node list below.
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)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Send Email
n8n-nodes-base.emailSend - Stop and Error
n8n-nodes-base.stopAndError
From the author
Quick Overview This workflow runs on a manual or daily schedule to inventory Google Cloud resources and IAM policy signals via Cloud Asset Inventory, store snapshots and change history in BigQuery, update a review-ready Google Sheets dashboard, and optionally…