> ## 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.

# Create Comment

Create a comment for a specific target.

<Note>
  External Documentation

  To learn more, visit the [Rapid7 InsightIDR documentation](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#tag/Comments/operation/createComment).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter       | Description                                              |
  | --------------- | -------------------------------------------------------- |
  | Attachments     | A comma-separated list of RRNs to attach to the comment. |
  | Content         | The content of the comment to create.                    |
  | Target Resource | The target for the comment to create.                    |
</div>

## Example Output

```json theme={"dark"}
{
	"created_time": "2018-06-06T16:56:42Z",
	"rrn": "rrn:investigation:us:01234567-89ab-cdef-0000-123123123123:comment:98765FEBCAD",
	"target": "rrn:investigation:us:01234567-89ab-cdef-0000-123123123123:investigation:ABCDEF543210",
	"creator": {
		"type": "USER",
		"name": "John Doe"
	},
	"body": "Here is my comment.",
	"visibility": "PUBLIC",
	"attachments": [
		{
			"rrn": "rrn:collaboration::orgId_123:attachment:d7812988-f171-4164-9309-65c32d5da28f",
			"creator": {
				"type": "USER",
				"name": "John Doe"
			},
			"created_time": "2018-06-06T16:56:42Z",
			"file_name": "screenshot.png",
			"mime_type": "image/png",
			"size": 12345,
			"scan_status": "CLEAN"
		}
	]
}
```

## Workflow Library Example

[Create Comment with Rapid7 Insightidr and Send Results Via Email](https://library.blinkops.com/workflows/create-comment-with-rapid7-insightidr-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/create-comment-with-rapid7-insightidr-and-send-results-via-email/canvas" />
</div>
