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 → Get Posts by Organization

AI-generated

Overview

The node integrates with LinkedIn's Marketing API v2 to perform various operations related to LinkedIn posts, company pages, advertising, search, and more. Specifically, for the Posts resource and the Get Posts by Organization operation, it retrieves a list of posts published by a specified LinkedIn organization (company). This is useful for marketers, social media managers, or analysts who want to programmatically access and analyze content posted by their company or other organizations on LinkedIn.

Practical examples include:

  • Fetching recent posts from your company's LinkedIn page to display on an internal dashboard.
  • Aggregating posts from multiple organizations for competitive analysis.
  • Automating workflows that trigger actions based on new organizational posts.

Properties

Name Meaning
Max Results Maximum number of posts to retrieve. Accepts values between 1 and 100. Defaults to 20.
Start Index The zero-based index of the first post to return, allowing pagination through results.

Additional relevant property for this operation:

Name Meaning
Author ID The LinkedIn ID of the organization whose posts you want to retrieve (required string).

Output

The node outputs an array of JSON objects representing LinkedIn posts retrieved for the specified organization. Each item in the output corresponds to one post and contains all available data fields returned by the LinkedIn API for that post.

The exact structure depends on LinkedIn's API response but typically includes post identifiers, text content, author information, visibility settings, timestamps, and possibly media metadata.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active subscription and valid API key for the external "N8N Tools API" service, which acts as a proxy or enhancer for LinkedIn API calls.
  • Requires OAuth2 credentials for LinkedIn API access.
  • The node uses these credentials to authenticate requests and validate subscription status before performing operations.
  • No additional environment variables are explicitly required beyond standard n8n credential setup.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error about invalid subscription or API key, verify that the API key credential is correctly configured and active.
  • LinkedIn API errors: Errors from LinkedIn (e.g., permission denied, rate limits) will be surfaced. Ensure the OAuth2 token has sufficient permissions and that usage complies with LinkedIn API policies.
  • Pagination issues: If fewer posts than expected are returned, check the Max Results and Start Index parameters to paginate through results properly.
  • Network or connectivity problems: Since the node relies on external APIs, network issues can cause failures. Confirm internet connectivity and API endpoint accessibility.

Links and References

Discussion