Substack icon

Substack

Interact with Substack API

Profile → Get Profile by Slug

AI-generated

Overview

This node interacts with the Substack API to retrieve profile information based on a publication slug (subdomain). It is useful for scenarios where you need to fetch details about a specific Substack profile by providing its unique slug. For example, you can use this node to get profile data for a newsletter or publication hosted on Substack by specifying its slug.

Use Case Examples

  1. Fetch profile details of a Substack publication by providing its slug to display or process the profile information in a workflow.
  2. Use the node to automate retrieval of profile data for multiple Substack publications by iterating over slugs.

Properties

Name Meaning
Slug The publication slug (subdomain) used to identify the Substack profile to retrieve.

Output

JSON

  • json - The JSON object containing the profile data retrieved from the Substack API.

Dependencies

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

Troubleshooting

  • Common issues include providing an invalid or empty slug, which will cause the API call to fail.
  • Errors related to authentication failure if the API key credential is missing or invalid.
  • If the specified slug does not correspond to any profile, the node will throw an error indicating the profile was not found.
  • To resolve errors, ensure the slug is correct, the API key is valid, and the Substack API is accessible.

Discussion