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 → Create Company Post

AI-generated

Overview

This node enables creating a company post on LinkedIn via the LinkedIn Marketing API v2. It is designed for B2B marketing and networking workflows within n8n, allowing users to publish posts on behalf of a LinkedIn organization (company page). Typical use cases include automating company announcements, sharing updates, promoting content, or engaging with followers programmatically.

For example, a marketing team can automate posting new product launches or event invitations directly from their CRM or CMS into their LinkedIn company page without manual intervention.

Properties

Name Meaning
Author ID The LinkedIn ID of the authoring entity, which must be the company (organization) ID.
Text The textual content of the post, up to 3000 characters.
Visibility Who can see the post. Options: Public, Connections, Logged In Members.
Media Category Type of media attached to the post. Options: None, Image, Video, Article.

Output

The node outputs JSON data representing the response from the LinkedIn API after creating the company post. This typically includes details about the created post such as its unique identifier, status, and metadata confirming successful creation.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for the "N8N Tools API" service to validate subscription and access.
  • Requires OAuth2 credentials for LinkedIn API access.
  • The node uses the LinkedIn Marketing API v2 endpoints through a helper class.
  • Proper configuration of these credentials in n8n is necessary before use.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly set and active.
  • LinkedIn API Errors: Errors related to permissions or invalid author/company IDs may occur if the provided Author ID does not correspond to a valid LinkedIn organization or if the OAuth token lacks required scopes.
  • Text Length Exceeded: Ensure the post text does not exceed 3000 characters.
  • Visibility Settings: Using unsupported visibility options may cause errors; use one of the predefined options.
  • To resolve most issues, check credentials, input parameters, and LinkedIn API permissions.

Links and References

Discussion