Add Comment
youtube.add_comment
ActionChat & messagingconnection required
Calls the YouTube Data API POST /commentThreads.
Post a top-level comment on a YouTube video.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- YouTube
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- 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 |
|---|---|---|---|---|---|
video_id Video id. Supports {{ }}. | string | Yes | — | — | — |
text Comment text. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
id | string | — |
{
"id": "",
"ok": false
}Related YouTube nodes
See Add Comment run in a workflow.
In a technical demo we add the YouTube connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.