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

# Create Comment

> Comments on a LinkedIn post, or replies to a comment, as the connected member or as a Company Page they manage

Comments on a LinkedIn post, or replies to a comment, as the connected member or as a Company Page they manage. The comment is public immediately.

| | |
| - | - |
| **App** | LinkedIn Organic |
| **Operation ID** | `linkedin_create_comment` |
| **Type** | Action |
| **Connection** | `linkedin` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `author` | string or SelectItem | Yes | - | Who comments: 'me' for the connected member, or a Company Page id from linkedin\_select\_pages (urn:li:organization:\<id> also works). There is no default: confirm with the user which one they mean. |
| `target` | string | Yes | - | What to comment on: a post (its URN or LinkedIn URL) for a top-level comment, or a comment URN (urn:li:comment:(urn:li:activity:\<id>,\<id>), the 'commentUrn' linkedin\_list\_comments returns) to reply to that comment. |
| `text` | string | Yes | - | The comment text. |

### SelectItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | The value of the selectable item. |
| `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `Dict`

The created comment as LinkedIn returns it, including its 'commentUrn'.

**Fields**: dynamic (depend on the inputs)

**Example**:

```json theme={"dark"}
{
  "commentUrn": "urn:li:comment:(urn:li:activity:7359128276847554571,7360000000000000001)",
  "actor": "urn:li:organization:94825288",
  "message": {
    "text": "Thanks for the feedback!"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.