Substack icon

Substack

Interact with Substack API

Post → Get Posts From Profile by Slug

AI-generated

Overview

This node interacts with the Substack API to retrieve posts from a specific profile identified by its publication slug. It is useful for scenarios where you want to fetch posts from a particular Substack publication, such as aggregating content from a favorite newsletter or analyzing posts from a specific author.

Use Case Examples

  1. Fetch the latest 50 posts from a Substack publication by providing its slug.
  2. Limit the number of posts retrieved from a Substack profile to a specific count for data processing or display.

Properties

Name Meaning
Slug The publication slug (subdomain) used to identify the Substack profile from which to retrieve posts.
Limit The maximum number of posts to return from the specified profile.

Output

JSON

  • json - The retrieved post data from the Substack profile, which can be a single post object or an array of posts.

Dependencies

  • Requires an API key credential for authenticating with the Substack API.

Troubleshooting

  • Ensure the provided slug is correct and corresponds to an existing Substack publication to avoid errors.
  • If the node returns an error about unknown operations or resources, verify that the resource is set to 'Post' and the operation to 'Get Posts From Profile by Slug'.
  • Check API credentials and network connectivity if the node fails to fetch data from the Substack API.

Discussion