Spiral gives your agent every tool with one account. Browse the tools →

n8n · News & Media

How to Use Substack publication archive in n8n

Get a publication's post listings with titles, dates, links, free or paid status, word counts, and engagement counts. Use it to browse recent coverage or build a reading list before opening individual posts.

Prompts to try with Substack publication archive in n8n

Copy an example into n8n, or ask in your own words.

Every Monday, use Substack publication archive to check Astral Codex Ten's newest posts. Report titles, dates, and links that were absent from the previous check.

Substack publication archiven8n
Try asking
  • At the end of each month, use Substack publication archive to review Lenny's Newsletter's recent posts. List the titles dated within that month with links, word counts, and free or paid status.

  • Every Monday at 9am: use Substack publication archive to look this up and give me the result as a table.

  • Pull the latest numbers from Substack publication archive and tell me what changed since last week.

  • Check Substack publication archive and summarize what you find in three bullet points.

How to set up Substack publication archive 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:

    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:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Substack publication archive 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 archive, 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.

    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 archive

    One request; the result comes back by polling or a webhook.

    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/archive",
        "input": {
          "publication": "<publication>"
        }
      }'

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

Substack publication archive providers and prices

Spiral runs Substack publication archive through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
Substack · Archive
substack-com/newsletters/archive

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortnew, top, or pinnednew

new = newest first, top = most popular, pinned = the publication's pinned posts only (usually one, a single page).

Limit1 to 5012

Posts to return. Substack serves 25 per request, so larger pages take two requests.

Offset0 to 100000

Posts to skip. new listings reach at most 250 by offset; follow next_cursor for deeper pages. Ignored when cursor is set.

Every API field of Substack · Archive is on its tool page: open its card above.

What can you do with Substack publication archive 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.

Questions about Substack publication archive in n8n

Can n8n use Substack publication archive?

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

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

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

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

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

Does n8n wait while Substack publication archive runs?

Substack publication archive 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.

Get started

Start using Substack publication archive in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options