Actions13
Overview
The ETReddit node for n8n allows you to interact with the Reddit API. Specifically, when using the Subreddit resource and the Get Many operation, this node enables you to search for subreddits based on keywords or fetch currently trending subreddits. This is useful for workflows that need to analyze subreddit data, automate content discovery, or monitor trends within Reddit communities.
Practical examples:
- Automatically gather a list of subreddits matching a specific topic for content curation.
- Monitor trending subreddits to identify emerging communities or topics.
- Integrate subreddit search results into reporting or analytics pipelines.
Properties
| Name | Type | Meaning |
|---|---|---|
| Return All | Boolean | Whether to return all available results or limit the number of results returned. |
| Limit | Number | The maximum number of results to return (only shown if "Return All" is false). |
| Filters | Collection | Additional filters for the search. Contains: |
| — Keyword | String | The keyword to use for searching subreddits. |
| — Trending | Boolean | Whether to fetch currently trending subreddits across Reddit. |
Output
The output consists of an array of objects, each representing a subreddit. Each object in the json field typically contains details such as:
{
"display_name": "exampleSubreddit",
"title": "Example Subreddit Title",
"description": "A description of the subreddit.",
"subscribers": 12345,
"url": "/r/exampleSubreddit",
...
}
Note: The exact fields may vary depending on the Reddit API response.
Dependencies
- Reddit API: Requires access to Reddit's public API.
- Credentials: May require Reddit OAuth2 credentials (
redditOAuth2Api) for certain operations or higher rate limits.
Troubleshooting
- Missing or Invalid Credentials: If Reddit OAuth2 credentials are required but not provided, authentication errors may occur. Ensure credentials are set up in n8n.
- API Rate Limits: Reddit enforces rate limits. Excessive requests may result in temporary bans or errors. Consider limiting request frequency.
- Empty Results: If no subreddits match the keyword or if there are no trending subreddits at the time, the output will be an empty array.
- Invalid Filter Values: Providing invalid or conflicting filter values may result in errors or unexpected results.
Links and References
- Reddit API Documentation
- n8n Documentation: Reddit Node (for general reference)
- How to get Reddit API credentials