Actions27
- Standard Actions
- Sales Navigator Actions
- Other Actions
Overview
The node "Linked API" enables users to control their LinkedIn accounts and retrieve real-time data by interacting with various LinkedIn operations. It supports a wide range of LinkedIn-related actions such as checking connection status, commenting on posts, fetching detailed information about companies or people, reacting to posts, managing connections, retrieving analytics, searching entities, sending messages, syncing conversations, and more.
A notable feature is the ability to get the result of a previously executed workflow via a webhook URL, allowing asynchronous retrieval of workflow execution results.
This node is beneficial in scenarios where automation of LinkedIn interactions is needed, such as:
- Automating outreach by sending connection requests or messages.
- Monitoring LinkedIn performance metrics and social selling index.
- Managing connections and pending requests programmatically.
- Fetching detailed LinkedIn profile or company data for CRM enrichment.
- Reacting or commenting on posts automatically based on triggers.
- Integrating LinkedIn workflows with other systems by retrieving workflow results asynchronously.
Example use case: Automatically send a connection request to new leads found via a LinkedIn search, then fetch their profile details and log the interaction in a CRM system.
Properties
| Name | Meaning |
|---|---|
| Webhook URL | The URL where the response will be sent via webhook when retrieving workflow results asynchronously. |
| Workflow ID | The identifier of the workflow from which to retrieve the result. |
| Workflow Operation | The specific LinkedIn operation performed in the workflow whose result you want to retrieve. Options include: Check Connection Status, Comment on Post, Fetch Company, Fetch Person, Fetch Post, React to Post, Remove Connection, Retrieve Connections, Retrieve Pending Requests, Retrieve Performance, Retrieve SSI, Search Companies, Search People, Send Connection Request, Send Message, Sync Conversation, Withdraw Connection Request, and several Sales Navigator-specific operations like fetching or searching companies/people, sending messages, and syncing conversations. |
Output
The node outputs JSON data representing the result of the selected LinkedIn operation or the retrieved workflow result. The structure of the JSON depends on the operation performed; for example:
- For fetching a person or company, it returns detailed profile or company information.
- For posting comments or reactions, it returns confirmation or status data.
- For retrieving connections or pending requests, it returns lists of connection objects.
- For analytics operations, it returns performance metrics or Social Selling Index scores.
If the node handles binary data (not explicitly shown here), it would typically represent media or file content related to LinkedIn posts or messages, but this is not indicated in the provided code.
Dependencies
- Requires an API key credential for authenticating with the LinkedIn automation API at
https://api.linkedapi.io/automation. - Needs proper configuration of the webhook URL to receive asynchronous workflow results.
- The node relies on external LinkedIn API services accessed through the linked API endpoint.
- No additional environment variables are explicitly required beyond the API authentication.
Troubleshooting
Common issues:
- Invalid or missing API credentials can cause authentication failures.
- Incorrect webhook URLs may prevent receiving workflow results.
- Using unsupported or deprecated LinkedIn operations might lead to errors.
- Network connectivity problems can block access to the LinkedIn API endpoint.
Error messages and resolutions:
- Authentication failed: Verify that the API key credential is correctly configured and has necessary permissions.
- Webhook delivery failed: Ensure the webhook URL is publicly accessible and correctly formatted.
- Operation not supported: Confirm the selected operation is valid and supported by the LinkedIn API.
- Timeout or network error: Check internet connectivity and firewall settings.
Links and References
- LinkedIn API Documentation
- n8n Webhook Documentation
- Linked API Automation Service (for reference to the base URL used)