Actions27
- Standard Actions
- Sales Navigator Actions
- Other Actions
Overview
The node "Linked API" enables users to interact with LinkedIn data programmatically by sending requests to an external LinkedIn automation API. Specifically, the Fetch Company operation allows retrieving detailed information about a LinkedIn company page, including optional data such as employees, decision makers, and posts related to that company.
This node is beneficial in scenarios where you want to automate the collection of company insights from LinkedIn for lead generation, market research, or social media monitoring. For example, a marketing team could use it to fetch recent posts from a competitor’s LinkedIn page or gather a list of employees to identify potential contacts.
Properties
| Name | Meaning |
|---|---|
| Webhook URL | The URL where the response from the LinkedIn API will be sent via webhook after processing the request. |
| Company URL | The full LinkedIn company page URL to fetch data from (e.g., https://www.linkedin.com/company/microsoft). |
| Retrieve Employees | Boolean flag to indicate whether to retrieve the list of company employees. |
| Employees Limit | The maximum number of employees to retrieve if "Retrieve Employees" is enabled. |
| Retrieve Decision Makers | Boolean flag to indicate whether to retrieve company decision makers. |
| Decision Makers Limit | The maximum number of decision makers to retrieve if "Retrieve Decision Makers" is enabled. |
| Retrieve Posts | Boolean flag to indicate whether to retrieve posts made by the company. |
| Posts Limit | The maximum number of posts to retrieve if "Retrieve Posts" is enabled. |
| Posts Since | A date/time filter to retrieve only posts created since this date. |
Output
The node outputs JSON data containing the results of the fetch operation. This includes:
- Company details fetched from the specified LinkedIn company page.
- Optionally, lists of employees, decision makers, and posts depending on the input flags.
- Each list respects the limits set by the user.
- Posts can be filtered by creation date using the "Posts Since" property.
If the node supports binary data output, it would typically relate to any media content associated with posts or profiles, but based on the provided code and properties, the output is primarily structured JSON data representing LinkedIn company-related information.
Dependencies
- Requires an active API key credential for the LinkedIn automation API service.
- Needs a valid webhook URL configured to receive asynchronous responses.
- The node sends POST requests to
https://api.linkedapi.io/automation/executewith JSON payloads describing the requested operation. - Proper n8n credentials setup for authentication with the LinkedIn API is necessary.
Troubleshooting
Common issues:
- Invalid or missing webhook URL may cause the node to fail receiving responses.
- Incorrect or malformed LinkedIn company URLs will result in errors or empty data.
- Limits set too high might cause timeouts or API rate limiting.
- Missing or invalid API credentials will prevent successful API calls.
Error messages:
- Errors related to authentication usually indicate problems with the API key or credential configuration.
- Network or timeout errors suggest connectivity issues or slow API responses.
- Validation errors often point to incorrect input parameters like company URL format or unsupported date formats.
Resolutions:
- Verify the webhook URL is publicly accessible and correctly entered.
- Double-check the LinkedIn company URL format.
- Adjust limits to reasonable values within API constraints.
- Ensure API credentials are valid and have required permissions.