Actions27
- Standard Actions
- Sales Navigator Actions
- Other Actions
Overview
This node, named "Linked API," enables users to control LinkedIn accounts and retrieve real-time data through various predefined operations or custom workflows. It is particularly useful for automating LinkedIn-related tasks such as searching companies or people, sending messages, managing connections, and more.
The "Custom Workflow" operation allows users to define complex multi-step workflows in JSON format, which the node then executes by sending the workflow definition to an external API endpoint. The response from this execution is sent asynchronously to a specified webhook URL.
Practical examples include:
- Automating a search for companies matching specific criteria (e.g., "AI startup") and processing the results.
- Executing a sequence of LinkedIn actions defined in a custom workflow JSON, such as searching, messaging, and connection management, all triggered and handled via n8n.
Properties
| Name | Meaning |
|---|---|
| Webhook URL | The URL where the node will send the response after executing the workflow. Must be a valid webhook URL. |
| Workflow Definition | A raw JSON object defining the custom workflow steps and parameters following the LinkedAPI workflow format. |
Output
The node outputs JSON data representing the result of the executed custom workflow. This output corresponds to the response received from the external LinkedAPI service after processing the provided workflow definition.
If the workflow involves binary data (not explicitly shown here), it would typically represent files or media related to LinkedIn content, but this node primarily focuses on JSON responses.
Dependencies
- Requires an active API key credential for authenticating with the external LinkedAPI service.
- Needs a reachable webhook URL configured by the user to receive asynchronous responses.
- The node sends POST requests to
https://api.linkedapi.io/automation/executewith appropriate headers including a client identifier and content type.
Troubleshooting
Common issues:
- Invalid or unreachable webhook URL: Ensure the webhook URL is correct and publicly accessible.
- Malformed JSON in the workflow definition: Validate the JSON syntax and structure according to the LinkedAPI workflow format.
- Authentication errors: Verify that the API key credential is correctly set up and has necessary permissions.
- Network connectivity problems: Confirm that n8n can reach the LinkedAPI endpoint and the webhook URL.
Error messages:
- Errors related to invalid workflow definitions usually indicate JSON parsing issues or unsupported workflow steps.
- Authentication failures suggest missing or incorrect API credentials.
- Timeout or connection errors may require checking network settings or firewall rules.
Links and References
- LinkedAPI Documentation (hypothetical link for workflow format and API details)
- n8n Webhook Documentation: https://docs.n8n.io/nodes/n8n-nodes-base.webhook/
- JSON Validation Tools: https://jsonlint.com/