Actions65
- Posts Actions
- Company Pages Actions
- Get Company Page
- Get Company Pages
- Update Company Page
- Get Company Page Followers
- Get Company Page Analytics
- Get Company Page Posts
- Create Company Page Post
- Get Company Page Insights
- Get Company Page Engagement
- Get Company Page Demographics
- Get Company Page Content
- Get Company Page Events
- Create Company Page Event
- Get Company Page Jobs
- Get Company Page Lifecycle
- Advertising Actions
- Get Ad Accounts
- Get Ad Account
- Get Campaigns
- Get Campaign
- Create Campaign
- Update Campaign
- Delete Campaign
- Get Ad Sets
- Get Ad Set
- Create Ad Set
- Update Ad Set
- Delete Ad Set
- Get Ads
- Get Ad
- Create Ad
- Update Ad
- Delete Ad
- Get Audiences
- Get Audience
- Create Audience
- Update Audience
- Delete Audience
- Get Lead Gen Forms
- Get Lead Gen Form
- Create Lead Gen Form
- Update Lead Gen Form
- Delete Lead Gen Form
- Get Ad Analytics
- Get Campaign Analytics
- Get Ad Set Analytics
- Search Actions
Posts → Create Comment
AI-generatedOverview
This node enables creating a comment on a LinkedIn post via the LinkedIn Marketing API. It is useful for automating engagement on LinkedIn posts by programmatically adding comments as a specified author (person or organization). Practical scenarios include responding to posts in bulk, managing social media interactions, or integrating LinkedIn commenting into broader marketing workflows.
For example, you can use this node to automatically add a comment to a company’s LinkedIn post whenever a new product update is published, or to reply to user comments with predefined messages.
Properties
| Name | Meaning |
|---|---|
| Author ID | The LinkedIn ID of the author (person or organization) who will create the comment. |
| Post ID | The LinkedIn ID of the post to which the comment will be added. |
| Text | The text content of the comment to be created. Maximum length is 3000 characters. |
Output
The node outputs JSON data representing the response from the LinkedIn API after creating the comment. This typically includes details about the newly created comment such as its ID and metadata confirming successful creation.
No binary data output is produced by this operation.
Dependencies
- Requires an active subscription and valid API key for the external "N8N Tools API" service.
- Requires OAuth2 credentials configured for LinkedIn API access.
- The node internally uses helper classes to interact with LinkedIn's API endpoints.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that your API key credential is correct and has the necessary permissions.
- LinkedIn API errors: Errors related to invalid author or post IDs may occur if these values are incorrect or the authenticated user lacks permission. Double-check the IDs and ensure the author has rights to comment on the post.
- Text length exceeded: Comments longer than 3000 characters may cause errors; ensure the text input respects this limit.