[Integrations](https://spiral.ai/integrations) › [Zapier](https://spiral.ai/integrations/zapier) › [Justice Laws legislation versions](https://spiral.ai/integrations/zapier/justice-laws-legislation-versions)

# How to Use Justice Laws legislation versions in Zapier

Returns available historical consolidations of a Canadian federal act or regulation. Use it to identify the document version covering a date before comparing the law's wording.

|  |  |
| --- | --- |
| Model | Justice Laws legislation versions |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Justice Laws legislation versions in Zapier

- Every two weeks, use Justice Laws legislation versions for the Canada Labour Code and report newly listed historical date ranges.
- Every Monday at 9am: use Justice Laws legislation versions to look this up and give me the result as a table.
- Pull the latest numbers from Justice Laws legislation versions and tell me what changed since last week.
- Check Justice Laws legislation versions and summarize what you find in three bullet points.
- Pull the newest data from Justice Laws legislation versions and give me the result as a table.

## How to set up Justice Laws legislation versions in Zapier

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

### Use the Spiral skill

1. **Send Zapier 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. **Add an MCP Client connection**: In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

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

2. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

3. **Run a Spiral tool in a Zap**: Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: `discover` finds the right model for a task, `estimate_cost` prices it and `run` runs it. For example, `run` with:

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

4. **Run Justice Laws legislation versions in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Justice Laws legislation versions, 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 Justice Laws legislation versions**: 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": "laws-lois-justice-gc-ca/legislation/list_versions",
    "input": {
      "code": "<code>"
    }
  }'
```

Then paste one of the prompts above: Zapier finds Justice Laws legislation versions on Spiral, shows the price and runs it.

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

## Justice Laws legislation versions tools and prices

- [Justice Laws Website (Canada) · List versions](https://spiral.ai/tools/alexandria/laws-lois-justice-gc-ca/legislation/list_versions) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| as_of |  | — | Point-in-time date, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |

## What can you do with Justice Laws legislation versions in Zapier?

Maintain a review queue for changes in published Canadian federal legislation. A scheduled agent can revisit Justice Laws material and compare it with earlier retrievals, accounting for the site's usual two-week update cycle.

### Prepare a federal privacy research handbook

Locate the Privacy Act and Privacy Regulations, map their contents, retrieve relevant sections with surrounding text, and compare historical wording for dated examples.

### Document access-to-information procedures

Find the Access to Information Act and related regulations, assemble cited passages for a procedures guide, and check which document versions support older guidance.

### Review references in a workplace policy

Locate Canada Labour Code references, check quoted provisions against their surrounding sections, and compare the text used when the policy was written with the current consolidation.

### Build an environmental legislation briefing

Identify relevant federal legislation for a Fisheries Act research question, organize its headings and regulations, and assemble current and historical passages for a dated briefing.

### Watch published legislative changes

Compare retrieved dates, version records, pages, and selected sections for a watchlist of federal laws. Produce a review queue showing which published texts changed.

### Compare historical tax wording

Identify Income Tax Act consolidations covering two dates after August 31, 2004, retrieve a selected section for both dates, and prepare a textual comparison.

### Check statutory quotations before publication

Locate a cited federal provision, verify its wording, and read neighboring provisions before publishing an article. Check historical versions when the article describes an earlier period.

## Overview

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

## Justice Laws legislation versions in other agents

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

## More Zapier guides

- [Justice Laws legislation search](https://spiral.ai/integrations/zapier/justice-laws-legislation-search)
- [Justice Laws section text](https://spiral.ai/integrations/zapier/justice-laws-section-text)
- [Justice Laws legislation page](https://spiral.ai/integrations/zapier/justice-laws-legislation-page)
- [Legistar government bodies](https://spiral.ai/integrations/zapier/legistar-government-bodies)
- [Justice Laws legislation directory](https://spiral.ai/integrations/zapier/justice-laws-legislation-directory)
- [Legistar legislation details](https://spiral.ai/integrations/zapier/legistar-legislation-details)

## Questions about Justice Laws legislation versions in Zapier

**Can Zapier use Justice Laws legislation versions?**

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run Justice Laws legislation versions like any built-in tool.

**How much does Justice Laws legislation versions cost in Zapier?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Zapier plan is separate.

**Do I need an Alexandria account to use Justice Laws legislation versions in Zapier?**

No. Spiral runs Justice Laws legislation versions on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Justice Laws legislation versions in Zapier?**

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

**Does Zapier wait while Justice Laws legislation versions runs?**

Justice Laws legislation versions runs in the background. Zapier starts the run, checks on it and gives you the json when it's ready.

**Does Justice Laws cover provincial legislation?**

The consolidated collection covers federal acts and regulations maintained by Canada's Department of Justice. It is not a directory of provincial or territorial legislation.

**How current is the legislation?**

Consolidations are generally updated every two weeks and typically reflect the law from two to three weeks earlier. The current-to date and last-amended date are separate, so an old amendment date does not by itself mean the consolidation is stale.

**How far back can I research the law?**

Historical coverage generally starts January 1, 2003 for acts and March 22, 2006 for regulations. The Income Tax Act and Income Tax Regulations have a separate starting date of August 31, 2004.

**Is the amendment list a complete history?**

No. The displayed amendment list covers amendments effective since January 1, 2019 and is limited to the last 10 amendments, so it should not be treated as the document's entire history.

**Are the consolidations official?**

Justice Laws consolidations have official status from June 1, 2009 and can be used for evidentiary purposes. That status does not make an agent's summary an official text.

