How to Use California bill history in n8n
Returns the complete procedural history published for a California bill. Use it to trace the bill’s path through the Legislature, including earlier actions that a current-status summary leaves out.
Prompts to try with California bill history in n8n
Copy an example into n8n, or ask in your own words.
Each weekday morning, use California bill history for AB 2793 from the 2025-2026 session and report any actions added since the previous check.
Every Monday at 9am: use California bill history to look this up and give me the result as a table.
Pull the latest numbers from California bill history and tell me what changed since last week.
Check California bill history and summarize what you find in three bullet points.
Pull the newest data from California bill history and give me the result as a table.
How to set up California bill history in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run California bill history in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds California bill history, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run California bill history
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "leginfo-legislature-ca-gov/legislation/bill_history", "input": { "bill_id": "<bill_id>" } }'
Then paste one of the prompts above: n8n finds California bill history on Spiral, shows the price and runs it.
California bill history providers and prices
Spiral runs California bill history through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
What can you do with California bill history in n8n?
Produce a recurring California policy digest that flags changes in published legislative or statutory records. A scheduled agent can repeat topic searches or revisit selected bills and code provisions, then compare the retrieved material with its previous check.
Prepare a consumer privacy policy brief
Find California consumer privacy bills, read their proposed changes, and document their status, procedural history, and votes. Use the Civil Code’s contents, relevant articles, and cited sections to compare those proposals with current statutory text.
Build a housing legislation research packet
Research bills mentioning tenant protections or housing development, then assemble their text, status, action timelines, and recorded votes. Locate the relevant code headings and read the affected provisions together and individually for a proposal-versus-current-law comparison.
Review employment policy proposals
Find bills about wages, leave, or employment contracts and examine their wording, progress, history, and votes. Navigate the relevant Labor Code or Business and Professions Code headings to assemble the current provisions for an HR policy review.
Assemble an energy policy dossier
Search a session’s bill text for electricity or energy storage proposals and collect the relevant measures’ text, status, history, and votes. Browse Public Utilities Code headings and retrieve the articles and individual sections needed to explain the existing statutory context.
Fact-check a legislative news story
Find the measure behind a policy announcement, read its actual wording, and check its published status. Use the complete action history and recorded votes to verify claims about how it moved through the Legislature.
Teach a bill-to-code research exercise
Have students discover a bill, read its text, and reconstruct its published status, history, and votes. Then use the code contents, article text, and individual sections to explain the difference between a legislative measure and current statutory language.
Maintain a public policy watch
Repeat topic searches and check selected bills for changes to text, status, history, or votes. Revisit the relevant code contents and statutory text to identify published changes that deserve a closer review.
More on California bill history and n8n
Overview
California bill history in other agents
Questions about California bill history in n8n
Can n8n use California bill history?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run California bill history like any built-in tool.
How much does California bill history cost in n8n?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need an Alexandria account to use California bill history in n8n?
You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs California bill history on its own Alexandria account.
How long does it take to set up California bill history in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while California bill history runs?
California bill history runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.
What California law does this source cover?
California Law includes 29 subject-area codes, the State Constitution, and statutes. Its code collection presents laws currently in effect.
How far back do the bill records go?
The newer California Legislative Information bill database covers the 1999/2000 session onward. The older leginfo.ca.gov site is an archive and stopped updating on November 30, 2016.
How quickly do bill actions appear?
The Assembly Chief Clerk’s November 2020 guide describes the public LegInfo website as receiving nightly updates with information entered that day. That describes source publication, rather than a refresh guarantee for an extracted response.
Does a bill’s current text show the law currently in effect?
The bill record contains the measure’s current text, digest, and version list. The California Law collection separately presents laws currently in effect, so use the code text when your question concerns an existing statutory provision.
What can I check beyond a bill’s latest status?
California Legislative Information also publishes complete bill history and roll-call votes. Those records let you examine earlier procedural actions and recorded votes rather than relying on the status alone.
Start using California bill history in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


