Actions65
- Posts Actions
- Company Pages Actions
- Get Company Page
- Get Company Pages
- Update Company Page
- Get Company Page Followers
- Get Company Page Analytics
- Get Company Page Posts
- Create Company Page Post
- Get Company Page Insights
- Get Company Page Engagement
- Get Company Page Demographics
- Get Company Page Content
- Get Company Page Events
- Create Company Page Event
- Get Company Page Jobs
- Get Company Page Lifecycle
- Advertising Actions
- Get Ad Accounts
- Get Ad Account
- Get Campaigns
- Get Campaign
- Create Campaign
- Update Campaign
- Delete Campaign
- Get Ad Sets
- Get Ad Set
- Create Ad Set
- Update Ad Set
- Delete Ad Set
- Get Ads
- Get Ad
- Create Ad
- Update Ad
- Delete Ad
- Get Audiences
- Get Audience
- Create Audience
- Update Audience
- Delete Audience
- Get Lead Gen Forms
- Get Lead Gen Form
- Create Lead Gen Form
- Update Lead Gen Form
- Delete Lead Gen Form
- Get Ad Analytics
- Get Campaign Analytics
- Get Ad Set Analytics
- Search Actions
Posts → Search Posts
AI-generatedOverview
The node provides enhanced integration with LinkedIn's Marketing API v2, enabling various operations related to LinkedIn posts, including searching posts. Specifically, the Search Posts operation allows users to query LinkedIn for posts matching a given search string, with control over pagination through start index and maximum results.
This node is beneficial in scenarios such as:
- Monitoring LinkedIn content relevant to specific topics or keywords.
- Gathering competitive intelligence by searching posts from competitors or industry leaders.
- Automating content curation workflows by fetching recent posts matching certain criteria.
For example, a marketing team could use this node to automatically retrieve the latest posts mentioning their brand or product, then analyze or respond to them within an automated workflow.
Properties
| Name | Meaning |
|---|---|
| Max Results | Maximum number of search results to return (1 to 100). |
| Start Index | Index of the first result to return, used for pagination (minimum 0). |
These properties allow controlling how many posts are retrieved and from which position in the search results, facilitating efficient data retrieval in batches.
Output
The node outputs an array of JSON objects representing the search results for LinkedIn posts. Each item corresponds to one post matching the search query, containing all relevant post data returned by the LinkedIn API via the integrated helper classes.
The output structure includes:
json: The main field containing the post data object.itemData.item: The index of the input item that triggered the execution for this output item.
No binary data output is indicated for this operation.
Dependencies
- Requires an active subscription and valid API key credential 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 internally uses helper classes (
LinkedInApiandLinkedInApiHelper) to interact with LinkedIn endpoints. - The node performs an initial validation call to the external API service to verify subscription and API key validity before executing operations.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error indicating 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 impose rate limits or require specific permissions; ensure the OAuth2 credentials have appropriate scopes.
- Empty or incomplete search results: Check that the search query string is correctly specified and that the
maxResultsandstartIndexparameters are within allowed ranges. - Network or connectivity issues: Since the node depends on external APIs, network problems can cause failures; verify internet connectivity and endpoint accessibility.
Links and References
- LinkedIn Marketing API Documentation
- n8n Documentation - Creating Custom Nodes
- N8N Tools API (generic reference) (replace with actual URL if available)