[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [New Hampshire election results index](https://spiral.ai/integrations/n8n/new-hampshire-election-results-index)

# How to Use New Hampshire election results index in n8n

Returns the published results listings for a New Hampshire general election or state primary. Use it to discover available offices and result files before requesting vote counts.

|  |  |
| --- | --- |
| Model | New Hampshire election results index |
| 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 New Hampshire election results index in n8n

- Each morning, use New Hampshire election results index to check the 2026 New Hampshire general election. Report newly listed offices and result files.
- Every Monday at 9am: use New Hampshire election results index to look this up and give me the result as a table.
- Pull the latest numbers from New Hampshire election results index and tell me what changed since last week.
- Check New Hampshire election results index and summarize what you find in three bullet points.
- Pull the newest data from New Hampshire election results index and give me the result as a table.

## How to set up New Hampshire election results 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 New Hampshire election results index in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds New Hampshire election results 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 New Hampshire election results 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": "sos-nh-gov/elections/election_results_index",
    "input": {
      "year": 2016
    }
  }'
```

Then paste one of the prompts above: n8n finds New Hampshire election results index on Spiral, shows the price and runs it.

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

## New Hampshire election results index tools and prices

- [New Hampshire Secretary of State elections · Election results index](https://spiral.ai/tools/alexandria/sos-nh-gov/elections/election_results_index) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| year | 2016 to 2026 | — | Even state election year, 2016 to 2026. Defaults to 2026. |
| party | democratic, republican | — | Party primary; required for state_primary results. |
| election | general, state_primary | — | general (November) or state_primary (September). Defaults to general. |

## What can you do with New Hampshire election results index in n8n?

Keep a New Hampshire election briefing current as the state publishes dates, candidate documents, nominees, and tallies. Compare successive retrievals and report changes, including amendments to reported vote counts.

### Prepare a local newsroom's election reference

Build a New Hampshire election reference with voting dates, official candidate publications, party nominees, available result files, and reported vote totals. Give reporters the source links needed to check each stage of the election.

### Maintain a public library's election guide

Create a New Hampshire reference page that connects election dates to candidate documents and party nominees, then adds links and vote tallies as results are published.

### Teach how a state election unfolds

Assemble a New Hampshire civics lesson using the election calendar, candidate publications, nomination lists, results directory, and vote tallies. Have students distinguish filing, nomination, and the general-election outcome.

### Assemble an election-cycle archive

Preserve New Hampshire's published dates alongside an election year's candidate documents, nominees, results links, and tallies. Keep the calendar's stated period visible when it differs from the archived election year.

### Review changes after a recount

Find the state's recount documents and relevant result files, then compare retrieved tallies with an earlier report. For 2026, follow the state's direction to check recount results on the original tally sheets.

### Build a county results reference

Discover the published New Hampshire result files and organize returned tallies into a county reference, such as a Hillsborough County election report. Keep each contest tied to its official source.

## Overview

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

## New Hampshire election results index in other agents

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

## More n8n guides

- [New Hampshire election documents](https://spiral.ai/integrations/n8n/new-hampshire-election-documents)
- [New Hampshire legislator profile](https://spiral.ai/integrations/n8n/new-hampshire-legislator-profile)
- [New Hampshire election calendar](https://spiral.ai/integrations/n8n/new-hampshire-election-calendar)
- [New Hampshire legislator search](https://spiral.ai/integrations/n8n/new-hampshire-legislator-search)
- [New Hampshire bill search](https://spiral.ai/integrations/n8n/new-hampshire-bill-search)
- [New Hampshire legislator voting record](https://spiral.ai/integrations/n8n/new-hampshire-legislator-voting-record)

## Questions about New Hampshire election results index in n8n

**Can n8n use New Hampshire election results index?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run New Hampshire election results index like any built-in tool.

**How much does New Hampshire election results 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 New Hampshire election results index in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs New Hampshire election results index on its own Alexandria account.

**How long does it take to set up New Hampshire election results index in n8n?**

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

**Does n8n wait while New Hampshire election results index runs?**

New Hampshire election results index runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**How far back do New Hampshire's published election archives go?**

The Secretary of State's main elections page links six regular-election results archives spanning 2016 through 2026. That describes the linked archives, rather than a complete history of every election held in New Hampshire.

**Does New Hampshire separate presidential primaries from state primaries?**

Yes. The state's 2024 results directory has separate entries for the presidential primary and state primary, so a request for primary results needs that distinction.

**Can published vote totals change?**

Yes. The 2026 general-election results page says its tallies reflect clerks' reported returns and remain subject to amendments from those clerks.

**Where does the state publish recount changes?**

The 2026 election details page directs readers to the original tally sheets on the election results pages. Check those sheets when reconciling a recount with an earlier tally.

**How detailed are the state's legislative results?**

The 2024 general-election page lists State Senate districts 1 through 24 and organizes State Representative files by county. It also lists Executive Council districts 1 through 5.

