Substack icon

Substack

Interact with Substack API

Comment → Get Comment by ID

AI-generated

Overview

This node interacts with the Substack API to retrieve a specific comment by its ID. It is useful in scenarios where you need to fetch detailed information about a particular comment on a Substack publication, such as for moderation, analysis, or display purposes.

Use Case Examples

  1. Retrieve a comment by its ID to display it in a custom dashboard.
  2. Fetch comment details for moderation or reporting.

Properties

Name Meaning
Comment ID The ID of the comment to retrieve, used to specify which comment to fetch from Substack.

Output

JSON

  • json - The JSON object containing the retrieved comment data or an error message if the retrieval failed.

Dependencies

  • Requires an API key credential for Substack API authentication.

Troubleshooting

  • If the comment ID is invalid or not found, the node will throw an error indicating the comment could not be retrieved.
  • Ensure the Substack API credentials are correctly configured to avoid authentication errors.
  • If the node is set to continue on fail, errors will be returned in the output JSON under an 'error' property instead of stopping execution.

Discussion