N8N Tools - LinkedIn Enhanced icon

N8N Tools - LinkedIn Enhanced

Comprehensive LinkedIn Marketing API v2 integration for N8N workflows with B2B marketing and networking features

Posts → Update Post

AI-generated

Overview

The "Update Post" operation in the LinkedIn Enhanced node allows users to modify an existing LinkedIn post by updating its text content, visibility settings, and media category. This operation is useful for marketers, social media managers, or professionals who want to correct, enhance, or change details of a previously published LinkedIn post without creating a new one.

Practical examples include:

  • Correcting typos or updating information in a post after publication.
  • Changing the audience visibility from public to connections only.
  • Updating the media type associated with the post (e.g., changing from no media to an image or article).

Properties

Name Meaning
Post ID The unique identifier of the LinkedIn post to update.
Text The updated text content of the post. Maximum length is 3000 characters.
Visibility The visibility level of the post. Options: Public, Connections, Logged In Members.
Media Category The category of media attached to the post. Options: None, Image, Video, Article.

Output

The node outputs JSON data representing the updated post object returned from the LinkedIn API. This typically includes the post's current state after the update, such as its ID, text, visibility, media category, timestamps, and other metadata.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for the external "N8N Tools API" service to validate subscription and access.
  • Uses LinkedIn Marketing API v2 endpoints via an internal helper class.
  • Proper OAuth2 credentials for LinkedIn must be configured in n8n to authorize API calls.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error about invalid subscription or API key, verify that the API key credential is correctly set up and active.
  • Missing Required Parameters: Ensure that the "Post ID" and at least one of the fields to update ("Text", "Visibility", or "Media Category") are provided; otherwise, the API may reject the request.
  • API Rate Limits or Permissions: LinkedIn API may restrict updates based on user permissions or rate limits. Confirm that the authenticated user has rights to edit the specified post.
  • Empty Update Fields: Passing empty strings for optional update fields results in those fields being omitted from the update payload, preventing accidental overwrites.

Links and References

Discussion