[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Cámara de Diputados law articles](https://spiral.ai/integrations/n8n/c-mara-de-diputados-law-articles)

# How to Use Cámara de Diputados law articles in n8n

Fetch article text from a consolidated Mexican federal law or regulation, including inline amendment notes. Use it to quote a provision and inspect its recorded changes.

|  |  |
| --- | --- |
| Model | Cámara de Diputados law articles |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Cámara de Diputados law articles in n8n

- Every Friday, use Cámara de Diputados law articles to retrieve article 76 of the Ley Federal del Trabajo. Report differences in the wording or amendment notes since the previous check.
- Every Monday at 9am: use Cámara de Diputados law articles to look this up and give me the result as a table.
- Pull the latest numbers from Cámara de Diputados law articles and tell me what changed since last week.
- Check Cámara de Diputados law articles and summarize what you find in three bullet points.
- Pull the newest data from Cámara de Diputados law articles and give me the result as a table.

## How to set up Cámara de Diputados law articles 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 Cámara de Diputados law articles in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Cámara de Diputados law articles, 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 Cámara de Diputados law articles**: 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": "diputados-gob-mx/legislation/law_articles",
    "input": {
      "code": "<code>"
    }
  }'
```

Then paste one of the prompts above: n8n finds Cámara de Diputados law articles on Spiral, shows the price and runs it.

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

## Cámara de Diputados law articles tools and prices

- [Cámara de Diputados LeyesBiblio · Law articles](https://spiral.ai/tools/alexandria/diputados-gob-mx/legislation/law_articles) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| code |  | — | Law code; the consolidated file is https://www.diputados.gob.mx/LeyesBiblio/doc/<CODE upper-cased>.doc. Either `code` or `doc_url` is required. Pattern: ^[A-Za-z0-9_-]{1,40}$. |
| limit | 1 to 50 | 10 | Articles per page when `article` is not given. |
| cursor |  | — | Continuation cursor from a previous page (ignored when `article` is given). Pattern: ^[0-9]{1,6}$. |
| article |  | — | One article identifier as the law numbers it: `1o.-A`, `1-A`, `9`, `18-J`, `2o.`. Matching ignores case, the `o.` ordinal suffix and punctuation. |
| doc_url |  | — | Exact .doc URL from list_laws (`doc_url`) or law_reforms (`current_text.doc_url`). Either `code` or `doc_url` is required. Pattern: ^https://www\.diputados\.gob\.mx/LeyesBiblio/[A-Za-z0-9_./-]+\.doc$. |

## What can you do with Cámara de Diputados law articles in n8n?

Keep a recurring Mexican federal legislation brief ready for review. A scheduled agent can compare returned catalog records, article text, reform entries, or update summaries with its previous results and report what changed.

### Prepare a tax law review

Find the VAT and income tax laws, collect relevant articles, trace their reform decrees, and check update entries before preparing questions for a tax adviser.

### Review an employee handbook

Locate the Ley Federal del Trabajo, retrieve provisions cited in the handbook, and use reform history and update summaries to identify sections for legal review.

### Research an import procedure

Locate the Ley Aduanera and its regulation, collect cited provisions, and check reform decrees and update summaries for changes relevant to an import procedure.

### Maintain a consumer policy reference

Find the Ley Federal de Protección al Consumidor, assemble article citations for policy review, and check its reform history and recorded updates for changes.

### Check citations in a legal research draft

Resolve abbreviated law names against the catalog, retrieve the cited article wording, and locate reform decrees supporting statements about amendments.

## Overview

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

## Cámara de Diputados law articles in other agents

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

## More n8n guides

- [Cámara de Diputados federal law catalog](https://spiral.ai/integrations/n8n/c-mara-de-diputados-federal-law-catalog)
- [Cámara de Diputados law reform history](https://spiral.ai/integrations/n8n/c-mara-de-diputados-law-reform-history)
- [CourtListener opinion search](https://spiral.ai/integrations/n8n/courtlistener-opinion-search)
- [Cámara de Diputados legislation updates](https://spiral.ai/integrations/n8n/c-mara-de-diputados-legislation-updates)
- [CourtListener docket search](https://spiral.ai/integrations/n8n/courtlistener-docket-search)
- [Data.gov.au dataset details](https://spiral.ai/integrations/n8n/data-gov-au-dataset-details)

## Questions about Cámara de Diputados law articles in n8n

**Can n8n use Cámara de Diputados law articles?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Cámara de Diputados law articles like any built-in tool.

**How much does Cámara de Diputados law articles 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 Cámara de Diputados law articles in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Cámara de Diputados law articles on its own Alexandria account.

**How long does it take to set up Cámara de Diputados law articles in n8n?**

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

**Does n8n wait while Cámara de Diputados law articles runs?**

Cámara de Diputados law articles runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does this cover Mexican state and municipal laws?**

The documented coverage is Mexican federal legislation. The law catalog and separate regulations catalog should not be treated as a nationwide collection of state and municipal rules.

**Are laws and regulations listed together?**

LeyesBiblio maintains separate catalogs for federal laws and regulations of federal laws in force. The regulations catalog provides DOF publication information and current texts in PDF and Word.

**Can a reform appear before the consolidated text is updated?**

Yes. When checked, the income tax law page listed a November 13, 2026 reform while marking its current text as 'En actualización'.

**Is a reform's publication date its effective date?**

Those dates can differ. The income tax reform published November 13, 2026 says it enters into force January 1, 2027 in its transitory provision.

**How far back can the source documents go?**

History depends on the law. The VAT law documents identify its original publication on December 29, 1978; its reform page displayed November 12, 2021 as the latest reform when checked.

