Vote
reddit.vote
ActionChat & messagingconnection required
Calls the Reddit API with the connection's credentials.
Upvote, downvote or clear your vote on a post or comment.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- 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, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
thing_id Fullname of the post or comment to act on, such as 't3_abc123' for a post or 't1_def456' for a comment. | string | Yes | — | — | t3_abc123 |
direction Vote to cast: 'up', 'down', or 'clear' to remove an existing vote. | string | No | up | one of "up", "down", "clear" | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"direction": "up",
"thing_id": "t3_abc123"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
voted True once Reddit accepted the vote. | boolean | — |
name Fullname of the thing voted on. | string | — |
direction The direction that was cast. | string | — |
{
"direction": "",
"name": "",
"voted": false
}Notes
- Reddit's API rules forbid casting votes a human did not ask for.
See Vote 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.