Actions13
Overview
The ETReddit node enables searching for Reddit posts based on a keyword, with options to target either all of Reddit or a specific subreddit. This is useful for workflows that need to monitor trends, gather user-generated content, or automate research tasks involving Reddit discussions.
Common scenarios:
- Monitoring mentions of a brand or topic across Reddit.
- Collecting recent posts from a particular subreddit for analysis.
- Automating alerts when new posts match certain keywords.
Example:
A marketing team could use this node to automatically fetch and analyze posts mentioning their product in relevant subreddits.
Properties
| Name | Type | Meaning |
|---|---|---|
| Location | options | Where to search for posts: "All Reddit" (search everywhere) or "Subreddit" (specific group). |
| Subreddit | string | The name of the subreddit to search in (required if Location is "Subreddit"). |
| Keyword | string | The keyword to search for in posts. |
| Return All | boolean | Whether to return all results or limit the number of returned posts. |
| Limit | number | Maximum number of results to return (used if "Return All" is false; minimum value is 1). |
| Additional Fields | collection | Optional settings, such as how to sort results (by comments, hot, new, relevance, or top). |
Output
The node outputs a list of Reddit post objects matching the search criteria. Each item in the output array represents a single Reddit post and typically includes fields such as:
{
"id": "string",
"title": "string",
"subreddit": "string",
"author": "string",
"created_utc": "number",
"url": "string",
"num_comments": "number",
"score": "number",
"selftext": "string"
}
Note: The exact structure may vary depending on Reddit's API response and selected fields.
Dependencies
- Reddit API: Requires access to Reddit's public API.
- Credentials: Optionally uses
redditOAuth2Apicredentials for authenticated requests (not always required for public data). - n8n Configuration: No special environment variables are needed unless using authentication.
Troubleshooting
Common Issues:
- Missing or Invalid Subreddit: If "Location" is set to "Subreddit" but no subreddit is provided, the node will likely throw an error.
- API Rate Limits: Reddit enforces rate limits; too many requests in a short time may result in errors or temporary bans.
- Authentication Errors: If private or restricted data is requested without proper credentials, authentication errors may occur.
Error Messages & Resolutions:
- "Subreddit not found" – Check the spelling of the subreddit.
- "Invalid credentials" – Ensure OAuth2 credentials are correctly configured in n8n.
- "Too Many Requests" – Reduce frequency of node execution or implement delays.