The Reddit connector synchronizes posts and their top comments from a subreddit.
Authentication
OAuth — requires scope: read
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
| Subreddit | Input | Yes | Subreddit name (without r/) |
| Sort | Dropdown | No | Hot / New / Top / Rising |
| Time Filter | Dropdown | No | Day / Week / Month / Year / All (for Top sort) |
| Max Posts | Input | No | Maximum posts (default: 200) |
How It Works
- Subreddit Validation — Checks subreddit exists and is accessible
- Post Fetching — Fetches posts from listing endpoint with
aftercursor - Comment Fetching — Fetches top 15 comments per post
- Formatting — Post title as heading, body as text, comments as
[author | score]: text
Document Format
# Post Title
Author: u/username
Score: 123 | Comments: 45
Posted: ISO date
Flair: Discussion
Post body text...
---
Top Comments (15):
[commenter1 | score: 50]: comment text
[commenter2 | score: 30]: reply textMetadata Tags
| Tag | Type | Description |
|---|---|---|
| Author | Text | Reddit username |
| Score | Number | Post score |
| Comment Count | Number | Number of comments |
| Flair | Text | Post flair |
| Post Date | Date | When the post was created |

