Actions15
Comment on Post
AI-generatedSummary
Publish a comment on a LinkedIn post, optionally tagging the author or posting on behalf of a company page.
Inputs
- postUrl (required) — The URL of the LinkedIn post to comment on.
- comment (required) — The text content of the comment.
- accountId — The LinkedIn account ID to perform the action. Uses the default account if omitted.
- tagPostAuthor — When set to true, automatically tags or mentions the post author at the beginning of the comment.
- companyUrn — The company/organization URN (e.g. urn:li:fsd_company:102246628) to post the comment as a company page instead of a personal profile.
Output shape
a single JSON object
Returns the status and response body from the ConnectSafely LinkedIn post comment endpoint.
Examples
Example 1: Comment on a LinkedIn post from a personal account
Set 'Post URL' to the post link and 'Comment' to 'Great insights! Thanks for sharing.'
Example 2: Comment as a company page and tag the post author
Set 'Post URL', 'Comment', set 'Tag Post Author' to true, and provide 'Company URN' (e.g., urn:li:fsd_company:102246628).