Create Comment
disqus.create_post
ActionBusiness appsconnection required
Calls the Disqus API with the connection's credentials.
Leave a comment on a thread, or reply to another comment.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Disqus
- Secret shape
- {"api_key": "…"} plus "api_secret" or "access_token" for writes
- Config it needs
- forum
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 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 |
|---|---|---|---|---|---|
message The comment body. | string | Yes | — | — | Thanks for flagging this — a fix is on the way. |
thread Numeric Disqus id of the thread the comment goes on. | string | No | — | — | 1234567890 |
parent Numeric id of the comment this one replies to; leave blank for a top-level comment. | string | No | — | — | 1234567891 |
author_email Email address to attribute an anonymous comment to. | string | No | — | email format | reader@example.com |
author_name Display name to attribute an anonymous comment to. | string | No | — | — | Jane Doe |
state Moderation state to create the comment in. Disqus accepts this only from a credential that moderates the forum. | string | No | — | one of "approved", "unapproved", "spam", "killed" | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"author_email": "reader@example.com",
"author_name": "Jane Doe",
"message": "Thanks for flagging this — a fix is on the way.",
"parent": "1234567891",
"thread": "1234567890"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
post The comment record Disqus created, in full. | object | — |
id The new comment's id. | string | — |
{
"id": "",
"post": {}
}See Create Comment run in a workflow.
In a technical demo we add the Disqus connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.