How to Use Elections Canada polling station results in n8n
Returns candidate votes within a riding at polling station level, with elector counts, rejected ballots, and merged or void poll indicators. Use it to examine local voting patterns beneath the riding total.
Prompts to try with Elections Canada polling station results in n8n
Copy an example into n8n, or ask in your own words.
Each month, use Elections Canada polling station results to check Halifax's 2021 candidate votes and merged poll indicators against the previous snapshot. Summarize only differences.
Every Monday at 9am: use Elections Canada polling station results to look this up and give me the result as a table.
Pull the latest numbers from Elections Canada polling station results and tell me what changed since last week.
Check Elections Canada polling station results and summarize what you find in three bullet points.
Pull the newest data from Elections Canada polling station results and give me the result as a table.
How to set up Elections Canada polling station results 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 Elections Canada polling station results in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Elections Canada polling station results, 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 Elections Canada polling station results
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": "elections-ca/elections/poll_results", "input": { "election": "42", "district_number": "<district_number>" } }'
Then paste one of the prompts above: n8n finds Elections Canada polling station results on Spiral, shows the price and runs it.
Elections Canada polling station results providers and prices
Spiral runs Elections Canada polling station results through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Election | 42 to 44 | General election number: 44 (2021-09-20), 43 (2019-10-21) or 42 (2015-10-19). Elections Canada publishes these official voting results under the Open Government Licence - Canada; the 45th general election and by-elections are not yet released under that licence and are not served. | |
| Limit | 1 to 500 | 100 | Polls per page. |
| Offset | a number from 0 | 0 | Index of the first poll to return. |
Every API field of Elections Canada official voting results and political contributions · Poll results is on its tool page: open its card above.
What can you do with Elections Canada polling station results in n8n?
Keep an election reference brief current by checking published results and contribution records against an earlier snapshot. Report changes to political recipient totals separately from changes to historical voting tables.
Prepare a provincial election backgrounder
Build an Ontario briefing with a district overview, candidate margins, selected polling station breakdowns, and provincial totals. Add a separate section summarizing published contributions to the federal parties discussed.
Build a federal election teaching exercise
Let students move from national totals to riding outcomes and polling station results. Include recipient-level contribution summaries as a separate exercise in reading political financing disclosures.
Study party funding alongside electoral outcomes
Compare published party contribution totals with vote shares and seats, then examine selected ridings and polling stations. Keep funding and voting measures separate and describe associations without claiming that contributions caused an outcome.
Create a public election reference browser
Provide province and riding navigation, candidate results, polling station tables, national comparisons, and aggregate funding summaries for political recipients. Keep contribution displays focused on institutions and campaigns.
Check an election analysis against official totals
Match district identifiers, total candidate votes, inspect merged polling stations, and compare the resulting figures with official riding and summary tables.
More on Elections Canada polling station results and n8n
Overview
Elections Canada polling station results in other agents
Questions about Elections Canada polling station results in n8n
Can n8n use Elections Canada polling station results?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Elections Canada polling station results like any built-in tool.
How much does Elections Canada polling station results 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 Elections Canada polling station results in n8n?
You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Elections Canada polling station results on its own Alexandria account.
How long does it take to set up Elections Canada polling station results in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while Elections Canada polling station results runs?
Elections Canada polling station results runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.
Does Elections Canada provide results outside the national totals?
Yes. Its 2021 official results are available for individual federal electoral districts, each province or territory, and all of Canada.
How detailed are the official voting results?
The polling station files report candidate votes, rejected ballots, and listed electors. They also identify void polls and results merged into another polling station.
What do the election summary tables cover?
The 2021 release has 13 summary tables. They cover turnout, voting methods, special ballots, party votes and seats, candidate results, electoral districts, and returning officers.
How far back do the maintained contribution downloads go?
The maintained downloads cover contributions to all political entities from January 2004 to the present. Elections Canada updates those downloads weekly; that schedule does not establish when an individual search result changes.
How soon do financial reports become public?
Elections Canada generally publishes an original financial report within approximately 10 business days of receiving a complete signed version. That interval starts when the report is received, rather than when a contribution is made.
Start using Elections Canada polling station results 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


