Subscribe To Subreddit

reddit.subscribe
ActionChat & messagingconnection required

Calls the Reddit API with the connection's credentials.

Join or leave one or more subreddits as the authorised account.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Reddit
Secret shape
{"client_id": "…", "client_secret": "…", "refresh_token": "…"}
Config it needs
user_agent, subreddit
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
subreddit
Subreddit to join or leave; several may be given, comma-separated. Falls back to the connection's default subreddit.
stringNo——python
action
Whether to join ('sub') or leave ('unsub') the subreddits.
stringNosubone of "sub", "unsub"—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "action": "sub",
  "subreddit": "python"
}

Output

One shape.

result

FieldTypeExample
subscribed
True after joining, false after leaving.
boolean—
subreddits
The subreddit names that were sent to Reddit.
array—
count
How many subreddits were in the call.
number—
{
  "count": 0,
  "subreddits": [],
  "subscribed": false
}

See Subscribe To Subreddit run in a workflow.

In a technical demo we add the Reddit connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.