Comment On Case
thehive.add_case_comment
ActionBusiness appsconnection required
Calls the TheHive API with the connection's credentials.
Add a comment to a case.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- TheHive
- Secret shape
- the TheHive API key, or {"api_key": "…"}
- Config it needs
- base_url
- 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 |
|---|---|---|---|---|---|
case_id TheHive id of the case, or its case number. | string | Yes | — | — | ~40964216 |
message The comment text, as Markdown. | string | Yes | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"case_id": "~40964216"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
_id TheHive's internal id for the comment. | string | — |
message The comment text. | string | — |
createdBy Login of the user who wrote the comment. | string | — |
createdAt When the comment was written, in epoch milliseconds. | number | — |
isEdited True when the comment has been edited since. | boolean | — |
{
"_id": "",
"createdAt": 0,
"createdBy": "",
"isEdited": false,
"message": ""
}See Comment On Case run in a workflow.
In a technical demo we add the TheHive connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.