Linkup API for LinkedIn icon

Linkup API for LinkedIn

Automate LinkedIn with Linkup

Overview

This node integrates with the Linkup API to automate LinkedIn activities. Specifically, for the Post resource and Answer Comment operation, it allows users to reply to a comment on a LinkedIn post programmatically. This is useful for managing engagement on posts at scale, such as responding to comments automatically or semi-automatically in marketing campaigns, community management, or customer support scenarios.

For example, you can use this node to:

  • Reply to a specific comment on your LinkedIn post with a custom message.
  • Optionally mention the original commenter in your reply.
  • Track replies using a tracking ID.
  • Specify which profile (via URN) is making the reply.

Properties

Name Meaning
Tracking ID Identifier to track the post or reply interaction.
Profile URN The unique resource name of the LinkedIn profile that is posting the reply.
Comment URN The unique resource name of the parent comment to which you are replying.
Comment Text The text content of the reply comment.
Mention User Boolean flag indicating whether to mention the original commenter in the reply.
Commenter Name The name of the original commenter (used possibly for personalization or mention).
Country Code Country code used for proxy selection (e.g., FR for France, US for United States).
Timeout (Advanced) Request timeout in milliseconds (default 30000 ms).
Retry Count (Advanced) Number of retries if the request fails (default 3).

Output

The node outputs JSON data containing:

  • The API response from Linkup after attempting to post the comment reply.
  • A _debug object with details about the request body, headers, endpoint URL, and raw API response for troubleshooting.
  • Metadata including the resource (post), operation (answerComment), timestamp of execution, and node version.
  • If an error occurs, the output JSON will contain an error field describing the issue along with resource and operation info.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Linkup API key credential configured in n8n.
  • The node makes HTTP POST requests to the Linkup API endpoint /posts/answer-comment.
  • The user must have appropriate permissions and valid LinkedIn profile URNs to post replies.
  • Optional country code parameter influences proxy routing within the Linkup service.

Troubleshooting

  • Missing API Key Error: If the API key credential is not set or invalid, the node throws an error prompting to configure the Linkup API key.
  • Invalid or Missing Parameters: Ensure all required fields like commentUrn, profileUrn, and commentText are provided; missing these may cause API errors.
  • Timeouts: Network issues or slow responses might cause timeouts; adjust the "Timeout" advanced option accordingly.
  • API Rate Limits or Failures: The node supports retry attempts; increase "Retry Count" if transient failures occur.
  • Mention User Flag: Setting this incorrectly might affect how mentions appear in replies; verify usage according to LinkedIn's mention policies.

Links and References

  • Linkup API Documentation — Official site for API keys and documentation.
  • LinkedIn Developer Guidelines — For understanding comment and mention rules on LinkedIn posts.

This summary is based solely on static analysis of the provided source code and property definitions.

Discussion