[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Substack publication search](https://spiral.ai/integrations/n8n/substack-publication-search)

# How to Use Substack publication search in n8n

Find posts matching a topic within one publication using Substack's own archive search. Results contain post listings, so use it to locate relevant articles before reading their text.

|  |  |
| --- | --- |
| Model | Substack publication search |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Substack publication search in n8n

- Each Friday, use Substack publication search to check Noahpinion for tariffs. Report newly returned article links with their titles and free or paid status.
- Each Monday, use Substack publication search to check Lenny's Newsletter for onboarding. Give me a brief list of new matches since your previous check.
- Every Monday at 9am: use Substack publication search to look this up and give me the result as a table.
- Pull the latest numbers from Substack publication search and tell me what changed since last week.
- Check Substack publication search and summarize what you find in three bullet points.

## How to set up Substack publication search 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 Substack publication search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Substack publication search, 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 Substack publication search**: 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": "substack-com/newsletters/search",
    "input": {
      "query": "<query>",
      "publication": "<publication>"
    }
  }'
```

Then paste one of the prompts above: n8n finds Substack publication search on Spiral, shows the price and runs it.

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

## Substack publication search tools and prices

- [Substack · Search](https://spiral.ai/tools/alexandria/substack-com/newsletters/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | new, top, pinned | new | new = newest first, top = most popular, pinned = the publication's pinned posts only (usually one, a single page). |
| limit | 1 to 50 | 12 | Posts to return. Substack serves 25 per request, so larger pages take two requests. |
| cursor |  | — | next_cursor from the previous page of the same publication, sort and query. Takes precedence over offset. |
| offset | 0 to 10000 | 0 | Posts to skip. new listings reach at most 250 by offset; follow next_cursor for deeper pages. Ignored when cursor is set. |

## What can you do with Substack publication search in n8n?

Produce a recurring brief of new public Substack coverage on a defined subject. A scheduled agent can compare returned links with earlier checks and keep summaries limited to the text available.

### Prepare a newsletter reading brief

Browse recent publication entries, find articles about a chosen subject, and summarize the available text with links. Label paid previews so readers know which summaries cover only part of an article.

### Check an editorial pitch

Review a newsletter's recent titles, search the proposed subject, and read relevant public articles before pitching. Turn the findings into a short list of covered angles and questions still worth investigating.

### Compare published arguments

Select articles from public newsletters covering the same issue. Use their listings and available text to compare claims, dates, and supporting examples in a linked research memo.

### Build a topic reading list

Find relevant titles in a publication's archive or topic results, then inspect the available articles to write useful reading notes. Keep links and distinguish complete articles from previews.

### Prepare interview questions

Review a public newsletter's recent coverage and search an interview topic. Read selected articles to draft questions tied to the publication's actual claims and examples.

### Review product management advice

Find relevant Lenny's Newsletter articles through recent listings or topic searches. Compare the available text to identify recommendations a product team could discuss, with a source link for each.

## Overview

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

## Substack publication search in other agents

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

## More n8n guides

- [Substack publication archive](https://spiral.ai/integrations/n8n/substack-publication-archive)
- [TMDB TV season episodes](https://spiral.ai/integrations/n8n/tmdb-tv-season-episodes)
- [Substack post text](https://spiral.ai/integrations/n8n/substack-post-text)
- [TMDB actor and filmmaker profile](https://spiral.ai/integrations/n8n/tmdb-actor-and-filmmaker-profile)
- [Spaceflight News API topic news](https://spiral.ai/integrations/n8n/spaceflight-news-api-topic-news)
- [TMDB movie and TV credits](https://spiral.ai/integrations/n8n/tmdb-movie-and-tv-credits)

## Questions about Substack publication search in n8n

**Can n8n use Substack publication search?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Substack publication search like any built-in tool.

**How much does Substack publication search 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 Substack publication search in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Substack publication search on its own Alexandria account.

**How long does it take to set up Substack publication search in n8n?**

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

**Does n8n wait while Substack publication search runs?**

Substack publication search runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does a publication's website contain every email it sends?**

No. Substack posts addressed to free subscribers only are sent by email and do not appear on the publication page, so a public archive cannot represent every email.

**How much of a paid post is public?**

The writer decides where the paywall falls within the post. Public previews therefore vary in length, and post retrieval returns the preview for paid content.

**Can an older free article become paywalled?**

Yes. Substack lets publishers automatically paywall their free archive after a chosen period, so an article's public availability can change as it ages.

**Can published articles change after their original release?**

Yes. Writers can edit published posts, and those edits appear on the web and in Substack's apps. The available article can therefore differ from an earlier reading.

**Does the displayed publication date prove when an article first appeared?**

No. Substack allows writers to change a published post's displayed date to a past date, so that date alone does not establish its first public appearance.

