Edit Post Or Comment
reddit.edit_text
ActionChat & messagingconnection required
Calls the Reddit API with the connection's credentials.
Edit the body of your own text 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, 2 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 |
text New Markdown body, replacing the current one in full. | string | Yes | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"thing_id": "t3_abc123"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
thing The post or comment as it now stands. | object | — |
name Fullname of the edited thing. | string | — |
errors Reddit's api_type=json error rows, each with a code, message and field. Empty when Reddit accepted the write without complaint. | array | — |
{
"errors": [],
"name": "",
"thing": {}
}See Edit Post Or Comment 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.