Go to example tasks

Substack Archive to RAG Markdown Exporter

Export full Substack newsletter archives into clean plain text and LLM/RAG-ready Markdown from any handle or custom domain.

Try for free
Substack Newsletter, Archive & Comments Scraper
Substack Newsletter, Archive & Comments Scraperpulse_extract/substack-newsletter-scraper
Publication
Title
Audience
Published
+5 fields
Text
Number
Boolean
List
Object

Input

Substack Publications, Handles, or Post URLs:https://www.lennysnewsletter.com+1
Archive Sort Order:new
Max Posts Per Publication or Search:20
Post Keywords Filter
Include Full Article Text & Markdown:true
Include Post Comments:false

Output fields

Publication
Title
Audience
Published
Words
Likes
Comments
Paywalled
Post URL

How it works

Sign up on Apify or log in

The Substack Newsletter, Archive & Comments Scraper Actor is ready to run with the inputs already set for "Substack Archive to RAG Markdown Exporter". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Substack Archive to RAG Markdown Exporter" task

The Substack Newsletter, Archive & Comments Scraper Actor will start running based on the input automatically. You can also change all the input fields, like substack publications, handles, or post urls, archive sort order, and more, to match your specific use case.

Receive the "Substack Archive to RAG Markdown Exporter" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as publication, title, audience, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Substack Archive to RAG Markdown Exporter" task via API.

Image

Integrate "Substack Archive to RAG Markdown Exporter" into your workflow

Connect "Substack Archive to RAG Markdown Exporter" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

Yes. Custom domains, *.substack.com URLs, bare publication handles, and direct /p/ post URLs are all supported.

Each post returns both clean stripped contentText and structured contentMarkdown with headings and links preserved.

Free public posts return full content; paywalled posts return full metadata and the public preview excerpt cleanly without failing.