Actions13
Overview
The ETReddit node enables integration with the Reddit API, specifically for retrieving comments from a given post within a subreddit.
With the Post Comment → Get Many operation, users can fetch all or a limited number of comments from a specific Reddit post by providing the subreddit name and post ID.
This is useful for workflows that need to analyze, moderate, archive, or trigger actions based on Reddit discussions.
Example scenarios:
- Monitoring new comments on a specific Reddit post for sentiment analysis.
- Archiving Reddit post discussions for research or compliance.
- Triggering notifications in other systems when new comments appear.
Properties
| Name | Type | Meaning |
|---|---|---|
| Subreddit | String | The name of the subreddit where the target post is located. |
| Post ID | String | The unique identifier of the Reddit post to retrieve comments from. Found in the post URL after /comments/. |
| Return All | Boolean | Whether to return all available comments (true), or limit the number of results (false). |
| Limit | Number | The maximum number of comments to return. Only used if "Return All" is set to false. Minimum value is 1. |
Output
The node outputs a list of comment objects in the json field. Each object represents a Reddit comment and typically includes fields such as:
{
"id": "comment_id",
"author": "username",
"body": "Comment text",
"created_utc": 1234567890,
// ...other Reddit comment properties
}
Note: The exact structure may include additional Reddit comment metadata depending on the Reddit API response.
Dependencies
- Reddit API: Requires access to Reddit's public API.
- Credentials: May require OAuth2 credentials (
redditOAuth2Api) configured in n8n for authenticated requests (depending on the endpoint and rate limits).
Troubleshooting
- Invalid Subreddit or Post ID: If the provided subreddit or post ID does not exist, the node may return an error or empty result. Double-check the values.
- Authentication Errors: If credentials are missing or invalid, you may receive authentication errors. Ensure your Reddit OAuth2 credentials are correctly set up in n8n.
- Rate Limiting: Reddit enforces API rate limits. Excessive requests may result in temporary bans or errors; consider adding delays or limiting frequency.
- Limit Property Ignored: If "Return All" is set to true, the "Limit" property will be ignored.