Actions13
Overview
The Profile: Get operation of the ETReddit n8n node allows users to retrieve various details about their own Reddit account. This includes information such as blocked users, friends, identity, karma, preferences, saved posts, and trophies. The node is useful for automating personal Reddit data retrieval, integrating Reddit profile insights into workflows, or archiving user-specific data.
Practical examples:
- Fetching your Reddit account's karma statistics for reporting.
- Listing all users you have blocked on Reddit.
- Downloading your saved posts for backup or analysis.
- Retrieving your Reddit trophies for display in a dashboard.
Properties
| Name | Type | Meaning |
|---|---|---|
| Details | options | Specifies which aspect of your Reddit account to retrieve (e.g., Blocked Users, Friends, etc.). |
| Return All | boolean | If enabled, returns all available results; otherwise, limits the number of results (applies only when "Details" is set to "Saved"). |
| Limit | number | Maximum number of results to return (only shown if "Details" is "Saved" and "Return All" is false). |
Output
The structure of the json output field depends on the selected "Details" option:
- Blocked Users: List of users you have blocked.
- Friends: List of your Reddit friends.
- Identity: Your Reddit account identity details (username, id, etc.).
- Karma: Breakdown of your subreddit karma.
- Preferences: Your Reddit account settings/preferences.
- Saved: Array of your saved posts (can be limited by "Limit").
- Trophies: List of trophies awarded to your account.
Each output will be a JSON object or array relevant to the chosen detail. For example, selecting "Saved" will return an array of post objects, while "Identity" will return a single object with your account info.
Dependencies
- Reddit API: Requires access to Reddit's API endpoints.
- Credentials: May require a configured
redditOAuth2Apicredential in n8n for authentication.
Troubleshooting
Common issues:
- Authentication errors: If credentials are missing or invalid, the node may fail to connect to Reddit. Ensure that the
redditOAuth2Apicredential is properly set up. - API rate limits: Reddit enforces rate limits. Excessive requests may result in temporary blocks or errors.
- Insufficient permissions: Some details may require specific Reddit account permissions or scopes.
- Empty results: If you have no saved posts, friends, or trophies, the output will be empty arrays/objects.
Error messages:
- 401 Unauthorized: Check your Reddit OAuth2 credentials.
- 403 Forbidden: Ensure your Reddit app has the necessary scopes.
- 429 Too Many Requests: Slow down your workflow to avoid hitting Reddit’s rate limits.