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
Company Pages → Get Company Page Engagement
AI-generatedOverview
The node provides enhanced integration with LinkedIn's Marketing API v2, focusing on various LinkedIn resources including Company Pages. Specifically, the "Get Company Page Engagement" operation retrieves engagement analytics data for a specified LinkedIn company page within a given date range.
This node is beneficial for marketers and social media managers who want to programmatically access detailed engagement metrics of their LinkedIn company pages. It helps in monitoring how audiences interact with company content, enabling data-driven decisions to improve marketing strategies.
Practical example:
A user can set up an automated workflow that fetches daily engagement statistics (such as likes, comments, shares) for their LinkedIn company page to track performance trends over time or trigger alerts if engagement drops below a threshold.
Properties
| Name | Meaning |
|---|---|
| Company ID | The unique LinkedIn identifier of the company page to retrieve engagement data for. |
| Start Date | The start date (inclusive) for the engagement data period to query. |
| End Date | The end date (inclusive) for the engagement data period to query. |
| Max Results | Maximum number of results to return (used generally for pagination in some operations). |
| Start Index | The index of the first result to return (used generally for pagination in some operations). |
For this specific operation ("Get Company Page Engagement"), the required properties are:
- Company ID (string, required): LinkedIn Company ID whose engagement data is requested.
- Start Date (dateTime, required): Beginning of the date range for engagement data.
- End Date (dateTime, required): End of the date range for engagement data.
Max Results and Start Index are general pagination parameters available but not specifically used in this operation.
Output
The output JSON contains the engagement analytics data for the specified company page and date range. This typically includes metrics such as likes, comments, shares, clicks, impressions, and other engagement-related statistics aggregated over the selected period.
The exact structure depends on LinkedIn's API response for company page engagement but generally will be a JSON object with fields representing different engagement metrics and possibly timestamps or aggregation details.
No binary data output is involved in this operation.
Dependencies
- Requires a 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 validates the subscription and API key by making a POST request to the N8N Tools API validation endpoint before executing the main logic.
- Proper configuration of these credentials in n8n is necessary for successful execution.
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.
- Permission errors from LinkedIn API: Ensure that the OAuth2 credentials have sufficient permissions/scopes to access company page analytics.
- Date range issues: Providing an invalid or future date range may cause empty or error responses; ensure dates are valid and logical.
- Rate limits: LinkedIn API enforces rate limits; excessive requests may lead to throttling errors.
- Network or connectivity issues: Failures in reaching the N8N Tools API or LinkedIn endpoints will cause errors; check network connectivity and proxy settings if applicable.