Substack icon

Substack

Interact with Substack API

Post → Get All Posts

AI-generated

Overview

This node interacts with the Substack API to retrieve all posts from a specified Substack publication. It is useful for scenarios where users want to fetch multiple posts for analysis, display, or further processing within an n8n workflow. For example, a user might use this node to gather recent blog posts from their Substack publication to automate content sharing or archiving.

Use Case Examples

  1. Fetch up to 50 posts from a Substack publication to display on a website.
  2. Retrieve all posts for sentiment analysis or content summarization.

Properties

Name Meaning
Limit Maximum number of posts to return in the response. This controls the number of results fetched from the Substack API, with a minimum value of 1 and a default of 50.

Output

JSON

  • json - Contains the post data returned from the Substack API. If multiple posts are returned, each post is output as a separate item.

Dependencies

  • Requires an API key credential for Substack API authentication.

Troubleshooting

  • Common issues include invalid or missing API credentials, which will cause authentication errors.
  • If the 'Limit' parameter is set too high, the API might throttle or reject the request.
  • Errors related to unknown operations or resources indicate misconfiguration of the node parameters.

Links

  • Substack API Documentation - Official documentation for the Substack API, useful for understanding available endpoints and data structures.

Discussion