N8N Tools - LinkedIn Enhanced icon

N8N Tools - LinkedIn Enhanced

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

Search → Search Posts

AI-generated

Overview

The node provides enhanced LinkedIn API integration focused on various LinkedIn resources, including Posts, Company Pages, Advertising, Search, and more. Specifically for the Search resource with the Search Posts operation, it allows users to perform a search query to find LinkedIn posts matching specified criteria.

This is useful in scenarios such as:

  • Marketing teams wanting to monitor trending or relevant posts related to specific topics or keywords.
  • Social media analysts tracking content performance or competitor activity by searching posts.
  • Recruiters or sales professionals looking for posts mentioning certain products, services, or industry terms.

For example, a user can input a keyword query like "remote work" and retrieve up to 20 recent LinkedIn posts containing that phrase, starting from a specified index.

Properties

Name Meaning
Search Query The text string used to search LinkedIn posts.
Max Results Maximum number of results to return (between 1 and 100).
Start Index The zero-based index of the first result to return, allowing pagination through results.

Output

The output is an array of JSON objects representing LinkedIn posts matching the search query. Each item contains the raw data returned by the LinkedIn API for the searched posts.

  • The json field includes detailed post information such as author, content, timestamps, and other metadata as provided by LinkedIn.
  • There is no binary data output for this operation.

Dependencies

  • Requires an active subscription and valid API key credential for the external N8N Tools API service.
  • Requires OAuth2 credentials for LinkedIn API access.
  • The node internally validates the API key via a POST request before executing operations.
  • No additional environment variables are needed 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.
  • API rate limits or permission errors: LinkedIn API may restrict access based on permissions or usage limits; ensure the OAuth2 token has required scopes.
  • Empty or incomplete results: Check the search query syntax and parameters like max results and start index to ensure they are within allowed ranges.
  • Network or connectivity issues: Ensure n8n instance can reach the external API endpoints without firewall or proxy blocking.

Links and References

Discussion