> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Comment On A Ticket

Add a comment to a ticket.

<Note>
  External Documentation

  To learn more, visit the [Zendesk documentation](https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#update-ticket).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter       | Description                         |
  | --------------- | ----------------------------------- |
  | Comment Content | The content of the comment.         |
  | Public          | Check to show the comment publicly. |
  | Ticket ID       | The ID of the ticket to comment on. |
</div>

## Example Output

```json theme={"dark"}
{
	"ticket": {
		"url": "https://xxxxxxxxxx.zendesk.com/api/v2/tickets/x.json",
		"id": "x",
		"external_id": null,
		"via": {
			"channel": "sample_ticket",
			"source": {
				"from": {},
				"to": {},
				"rel": null
			}
		},
		"created_at": "2025-01-12T10:08:40Z",
		"updated_at": "2025-01-12T12:21:25Z",
		"generated_timestamp": "xxxxxxxxxx",
		"type": "incident",
		"subject": "SAMPLE TICKET: Meet the ticket",
		"raw_subject": "SAMPLE TICKET: Meet the ticket",
		"description": "Hi there,\n\nI’m sending an email because I’m having a problem setting up your new product. Can you help me troubleshoot?\n\nThanks,\n The Customer\n\n",
		"priority": "low",
		"status": "open",
		"recipient": null,
		"requester_id": "xxxxxxxxxx",
		"submitter_id": "xxxxxxxxxx",
		"assignee_id": "xxxxxxxxxx",
		"organization_id": null,
		"group_id": "xxxxxxxxxx",
		"collaborator_ids": [],
		"follower_ids": [],
		"email_cc_ids": [],
		"forum_topic_id": null,
		"problem_id": null,
		"has_incidents": false,
		"is_public": true,
		"due_at": null,
		"tags": [
			"sample",
			"support",
			"zendesk"
		],
		"custom_fields": [
			{
				"id": "xxxxxxxxxx",
				"value": null
			}
		],
		"satisfaction_rating": {
			"score": "unoffered"
		},
		"sharing_agreement_ids": [],
		"custom_status_id": "xxxxxxxxxx",
		"encoded_id": "xxxxxxxxxx",
		"fields": [
			{
				"id": "xxxxxxxxxx",
				"value": null
			}
		],
		"followup_ids": [],
		"ticket_form_id": "xxxxxxxxxx",
		"brand_id": "xxxxxxxxxx",
		"allow_channelback": false,
		"allow_attachments": true,
		"from_messaging_channel": false
	},
	"audit": {
		"id": "xxxxxxxxxx",
		"ticket_id": "x",
		"created_at": "2025-01-12T12:21:25Z",
		"author_id": "xxxxxxxxxx",
		"metadata": {
			"system": {
				"client": "xxxxxxxxxx",
				"ip_address": "x.x.x.x",
				"location": "xxxxxxxxxx",
				"latitude": "xx.xxxx",
				"longitude": "-x.xxxx"
			},
			"custom": {}
		},
		"events": [
			{
				"id": "xxxxxxxxxx",
				"type": "Comment",
				"author_id": "xxxxxxxxxx",
				"body": "Comment Example",
				"html_body": "<div class=\"zd-comment\" dir=\"auto\"><p dir=\"auto\">Comment Example</p></div>",
				"plain_body": "Comment Example",
				"public": false,
				"attachments": [],
				"audit_id": "xxxxxxxxxx"
			}
		],
		"via": {
			"channel": "api",
			"source": {
				"from": {},
				"to": {},
				"rel": null
			}
		}
	}
}
```

## Workflow Library Example

[Comment on a Ticket with Zendesk and Send Results Via Email](https://library.blinkops.com/workflows/comment-on-a-ticket-with-zendesk-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/comment-on-a-ticket-with-zendesk-and-send-results-via-email/canvas" />
</div>
