[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Alberta Hansard index](https://spiral.ai/integrations/n8n/alberta-hansard-index)

# How to Use Alberta Hansard index in n8n

Returns the Assembly's debate index headings and, in detailed results, speaker and page references. Use it to locate discussions of a subject before opening the full transcript.

|  |  |
| --- | --- |
| Model | Alberta Hansard index |
| Available through | Alexandria |
| Category | Industry Data |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Alberta Hansard index in n8n

- Each Friday, use Alberta Hansard index to collect newly appearing detailed references for Accessible Alberta Act and report the cited speakers and pages.
- Every Monday at 9am: use Alberta Hansard index to look this up and give me the result as a table.
- Pull the latest numbers from Alberta Hansard index and tell me what changed since last week.
- Check Alberta Hansard index and summarize what you find in three bullet points.
- Pull the newest data from Alberta Hansard index and give me the result as a table.

## How to set up Alberta Hansard index in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **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

1. **Create a key**: Create a key under API keys in the console.

2. **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:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Alberta Hansard index in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Alberta Hansard index, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Alberta Hansard index**: One request; the result comes back by polling or a webhook.

```bash
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": "assembly-ab-ca/legislative-records/hansard_index",
    "input": {
      "docid": 1,
      "index_type": "speaker"
    }
  }'
```

Then paste one of the prompts above: n8n finds Alberta Hansard index on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Alberta Hansard index tools and prices

- [Legislative Assembly of Alberta · Hansard index](https://spiral.ai/tools/alexandria/assembly-ab-ca/legislative-records/hansard_index) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| mode | summary, detailed | detailed | detailed lists every entry with page references; summary lists the headings and sub-headings only. |
| letter |  | A | Initial letter of the headings; "0" is the site's 0-9 group. Pattern: ^[A-Za-z0]$. |
| committee |  |  | Committee code for a committee index (as the site's comm= parameter); empty for the House Hansard index. Pattern: ^[A-Za-z]{0,5}$. |
| heading_contains |  | — | Keep only headings containing this text (case-insensitive). |

## What can you do with Alberta Hansard index in n8n?

Keep a weekly Alberta legislative reading queue current as the Assembly publishes records. A scheduled agent can compare bill stages, roster entries, index references, and document links with its previous check.

### Build a bill passage timeline

Find an Alberta proposal, retrieve its recorded stages, locate related debate references, and collect sitting document links for a dated research timeline.

### Prepare for public accounts research

Collect Public Accounts transcript links, find indexed discussion references, and identify the public roles of MLAs named in the material.

### Assemble a water policy reading pack

Find water-related bills and their sponsors, gather debate references and sitting PDFs, and add relevant committee transcript links. Use official MLA profiles to explain the public roles of the people cited.

### Create a public library issue guide

Prepare a non-commercial guide to an Alberta issue using bill records, debate references, chamber documents, and committee transcript links. Add a directory of relevant elected representatives using the roster and official profiles.

### Teach Alberta's legislative process

Build a classroom exercise around a real bill: identify its sponsor, inspect its stages, locate debate pages, and compare chamber records with committee proceedings. Use the roster and profile to explain representation.

### Maintain a committee reading queue

Collect newly published committee transcript links and indexed references for an Alberta research topic. Keep related chamber sitting documents beside the committee material for comparison.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Alberta Hansard index in other agents

- [Amp](https://spiral.ai/integrations/amp/alberta-hansard-index)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/alberta-hansard-index)
- [Claude](https://spiral.ai/integrations/claude-desktop/alberta-hansard-index)
- [Claude Code](https://spiral.ai/integrations/claude-code/alberta-hansard-index)
- [Cline](https://spiral.ai/integrations/cline/alberta-hansard-index)
- [Codex](https://spiral.ai/integrations/codex/alberta-hansard-index)
- [Cursor](https://spiral.ai/integrations/cursor/alberta-hansard-index)
- [Devin](https://spiral.ai/integrations/devin/alberta-hansard-index)
- [dots](https://spiral.ai/integrations/dots/alberta-hansard-index)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/alberta-hansard-index)
- [Gemini](https://spiral.ai/integrations/gemini/alberta-hansard-index)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/alberta-hansard-index)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/alberta-hansard-index)
- [goose](https://spiral.ai/integrations/goose/alberta-hansard-index)
- [Grok](https://spiral.ai/integrations/grok/alberta-hansard-index)
- [Grok Build](https://spiral.ai/integrations/grok-build/alberta-hansard-index)
- [Hermes](https://spiral.ai/integrations/hermes/alberta-hansard-index)
- [Instinct](https://spiral.ai/integrations/instinct/alberta-hansard-index)
- [Manus](https://spiral.ai/integrations/manus/alberta-hansard-index)
- [Muse](https://spiral.ai/integrations/muse/alberta-hansard-index)
- [Muse Code](https://spiral.ai/integrations/muse-code/alberta-hansard-index)
- [Notion](https://spiral.ai/integrations/notion/alberta-hansard-index)
- [OpenClaw](https://spiral.ai/integrations/openclaw/alberta-hansard-index)
- [opencode](https://spiral.ai/integrations/opencode/alberta-hansard-index)
- [Perplexity](https://spiral.ai/integrations/perplexity/alberta-hansard-index)
- [Raycast](https://spiral.ai/integrations/raycast/alberta-hansard-index)
- [VS Code](https://spiral.ai/integrations/vscode/alberta-hansard-index)
- [Windsurf](https://spiral.ai/integrations/windsurf/alberta-hansard-index)
- [Zapier](https://spiral.ai/integrations/zapier/alberta-hansard-index)

## More n8n guides

- [AUC regulatory documents](https://spiral.ai/integrations/n8n/auc-regulatory-documents)
- [Alberta MLA profile](https://spiral.ai/integrations/n8n/alberta-mla-profile)
- [AUC hearing calendar](https://spiral.ai/integrations/n8n/auc-hearing-calendar)
- [Alberta MLA roster](https://spiral.ai/integrations/n8n/alberta-mla-roster)
- [AUC featured projects](https://spiral.ai/integrations/n8n/auc-featured-projects)
- [Alberta bill details](https://spiral.ai/integrations/n8n/alberta-bill-details)

## Questions about Alberta Hansard index in n8n

**Can n8n use Alberta Hansard index?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Alberta Hansard index like any built-in tool.

**How much does Alberta Hansard index 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 Alberta Hansard index in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Alberta Hansard index on its own Alexandria account.

**How long does it take to set up Alberta Hansard index in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Alberta Hansard index runs?**

Alberta Hansard index runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Which jurisdiction do these records cover?**

They cover Alberta's provincial Legislative Assembly and its committees. The Assembly represents 87 constituencies or electoral districts.

**How far back do the Assembly's collections go?**

The Assembly's bill archive extends from 1906 to the current legislature. Alberta Hansard dates to 1972.

**When are final debate transcripts published?**

The Assembly's procedural guide says final afternoon transcripts are available online by 11 p.m. that day. Final transcripts for standing and select special committees are usually posted within two days.

**Is Hansard an exact transcription?**

Alberta Hansard is substantially verbatim and edited under the Assembly's Standing Orders. Editing can correct grammar and remove redundancy.

**Does royal assent mean an Alberta Act is already in force?**

An Act can come into force on proclamation or a specified date. If neither is indicated, it comes into force upon royal assent.

