# Get a daily digest of new posts from newsletters you follow

**Use case:** 

Schedule it daily across the newsletters that matter in your field and get only the posts published since yesterday. Set the date to your own last run: the one here is an example. Every publication you list leaves exactly one accounted outcome, so a newsletter that published nothing is visibly different from one that could not be read.

## Input

```json
{
  "publications": [
    "https://www.lennysnewsletter.com",
    "https://www.astralcodexten.com",
    "newsletter.pragmaticengineer.com"
  ],
  "maxPostsPerPublication": 20,
  "sort": "new",
  "postedAfter": "2026-09-23",
  "includeBody": true,
  "includeComments": false,
  "postTypes": [
    "newsletter",
    "podcast",
    "thread",
    "video"
  ],
  "maxConcurrency": 2
}
```

## Output

```json
{
  "rowType": {
    "label": "Row type",
    "format": "string"
  },
  "publicationName": {
    "label": "Publication name",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "url": {
    "label": "Post URL",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published at",
    "format": "string"
  },
  "type": {
    "label": "Type",
    "format": "string"
  },
  "audience": {
    "label": "Audience",
    "format": "string"
  },
  "paywalled": {
    "label": "Paywalled",
    "format": "boolean"
  },
  "wordCount": {
    "label": "Word count",
    "format": "integer"
  },
  "likes": {
    "label": "Likes",
    "format": "integer"
  },
  "commentCount": {
    "label": "Comments",
    "format": "integer"
  },
  "restacks": {
    "label": "Restacks",
    "format": "integer"
  },
  "authors": {
    "label": "Authors",
    "format": "array"
  },
  "bodyText": {
    "label": "Body text",
    "format": "string"
  },
  "input": {
    "label": "Input value",
    "format": "string"
  },
  "note": {
    "label": "Note",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  },
  "charged": {
    "label": "Charged",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [Substack Newsletter Scraper: Posts, Archive, Publication Data](https://apify.com/titian_fluorite/substack-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/titian_fluorite/substack-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/titian_fluorite/substack-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
