Actions13
Overview
The ETReddit node enables interaction with the Reddit API from within n8n workflows. Specifically, when using the Post Comment resource and the Reply operation, this node allows you to reply to an existing Reddit comment by providing the comment's ID and your reply text. This is useful for automating engagement on Reddit threads, such as responding to user questions, moderating discussions, or participating in conversations programmatically.
Example scenarios:
- Automatically reply to comments mentioning a specific keyword.
- Post follow-up information in response to user queries.
- Implement moderation bots that respond to certain triggers.
Properties
| Name | Type | Meaning |
|---|---|---|
| Comment ID | String | ID of the comment to reply to. To be found in the comment URL: www.reddit.com/r/[subreddit_name]/comments/[post_id]/[post_title]/[comment_id]. Example: gl9iroa. |
| Reply Text | String | Text of the reply. Markdown formatting is supported. This is the content that will be posted as a reply to the specified comment. |
Output
The output will contain a json field with the result of the Reddit API call. The structure typically includes details about the newly created reply comment, such as its ID, body, author, timestamps, and other metadata returned by Reddit. The exact fields depend on Reddit's API response.
Example output (structure may vary):
{
"json": {
"id": "d1x6z7y",
"body": "Thank you for your comment!",
"author": "your_bot_username",
"created_utc": 1712345678,
// ...other Reddit comment fields
}
}
Dependencies
- Reddit API: Requires access to Reddit's API.
- Credentials: Optionally uses
redditOAuth2Apicredentials in n8n for authentication. Ensure these are configured in your n8n instance.
Troubleshooting
- Invalid Comment ID: If the provided Comment ID does not exist or is incorrect, Reddit will return an error. Double-check the ID format and source.
- Authentication Errors: If credentials are missing or invalid, you may receive errors related to authorization. Ensure your Reddit OAuth2 credentials are set up correctly in n8n.
- Rate Limits: Reddit enforces rate limits. Excessive requests may result in temporary bans or errors; space out automated replies accordingly.
- Markdown Formatting Issues: If your reply text contains unsupported Markdown, it may not render as expected on Reddit.