Track legislation and send review digests with LegiScan and Google Sheets
Ready for 3.0What this workflow does
This workflow has 20 nodes and runs on a schedule (cron 0 7 * * *) (plus 1 other trigger). Along the way it connects Google Sheets. It also calls api.legiscan.com over HTTP.
How it runs
Trigger: On a schedule (cron 0 7 * * *) (plus 1 other trigger).
- If: checks a condition and branches into true / false
- Read Full Bill Tracker Sheets (Google Sheets): read
- Build Legislation Search Queries (Code): runs custom JavaScript code
- Draft Setup Needed Notice (Code): runs custom JavaScript code
- Compute Landscape Summary (Code): runs custom JavaScript code
- Fetch LegiScan Search Results (HTTP Request): calls api.legiscan.com (GET)
- Assign Digest Identifier (Code): runs custom JavaScript code
- Build Landscape Summary Email (Code): runs custom JavaScript code
- Parse LegiScan Search Results (Code): runs custom JavaScript code
- Append Digest Draft To Sheets (Google Sheets): append
…plus 8 more steps. See the full node list below.
Services it uses
HTTP calls to: api.legiscan.com
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 (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Send Email
n8n-nodes-base.emailSend
From the author
Quick Overview This workflow tracks new and updated US bills by searching the LegiScan API on a daily schedule, logging results in Google Sheets, and emailing a digest draft for human review, plus a weekly Google Sheets–based landscape summary email. How it…