FlowmageDocs

Add comment

BetaChanges data

Adds a public reply or an internal note to a Zendesk ticket.

Settings

SettingWhat it is
ConnectionRequiredThe Zendesk connection the step signs in with.
Ticket idRequiredtext
CommentRequiredZendesk silently cuts a comment off past 64 kB, and a ticket holds 5,000.
Comment format"text" or "html"
Visible to the customerOff writes an internal note only agents see, and sends nobody an e-mail.
Author idThe agent the comment is written by. Left empty, it is the user this connection's OAuth client belongs to.
Set the status tooAnswer and solve in one step — the most common pair.
Attachment tokensComma-separated values from the Upload attachment node. One expires 60 minutes after the upload.
E-mail CCsNeeds CCs and followers switched on in Zendesk.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `zendesk`)
ticketIdtext
bodytext
bodyFormat"text" or "html", by default "text"
publictrue/false, by default true
authorIdtext
status"" or "new" or "open" or "pending" or "hold" or "solved" or "closed"
uploadTokenstext
emailCcstext

Output

FieldType
ticketIdstring
commentIdstring
ticketobject
Sample output, and the expression for each field
  • commentId"92"
  • ticket
    • id42
  • ticketId"42"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "authorId": "",
    "body": "<comment>",
    "bodyFormat": "text",
    "connection": "<connection id>",
    "emailCcs": "",
    "public": true,
    "status": "",
    "ticketId": "<ticket id>",
    "uploadTokens": ""
  },
  "label": "Add comment",
  "type": "zendesk.addComment",
  "version": 1
}