Overview
This node enables various LinkedIn-related operations by interacting with an external service via HTTP requests. It supports actions such as creating posts, commenting on posts, sending direct messages, searching for people, companies, or jobs, retrieving user info and conversations, and managing cookies for authentication.
Common scenarios where this node is beneficial include automating LinkedIn marketing campaigns, managing communications, gathering data about users or companies, and integrating LinkedIn interactions into broader workflows.
Practical examples:
- Automatically create a LinkedIn post to announce a new product.
- Search for potential job candidates based on job title and keywords.
- Send personalized direct messages to LinkedIn connections.
- Retrieve conversation messages for customer support automation.
- Generate authentication cookies from email and password for subsequent API calls.
Properties
| Name | Meaning |
|---|---|
| Operation Type | The LinkedIn operation to perform. Options: Comment On A Post, Create A Post, Create Cookies, Get Conversation Messages, Get User Conversations, Get User Info, Search For Companies, Search For Jobs, Search For People, Send Direct Message. |
| Cookies | Authentication cookies in string format, used for most operations except "Create Cookies". |
| Profile ID or URL | Identifier or URL of the LinkedIn profile, required for "Get User Info" and "Get User Conversations". |
| Email address for login, required only for "Create Cookies" operation. | |
| Password | Password for login, required only for "Create Cookies" operation. |
| Reciever ID | Recipient's LinkedIn ID, required for "Send Direct Message". |
| Sender ID | Sender's LinkedIn ID, required for "Send Direct Message". |
| Content | Text content for posts, comments, or direct messages. Used in "Send Direct Message", "Create Post", and "Comment On A Post". |
| Job Title | Job title filter for searching people or jobs. |
| Keywords | Keywords filter for searching people or companies. |
| Company Size | Company size filter for searching companies. Options: 1-10, 11-50, 51-200, 201-500, 501-1000. |
| Listed At | Time filter for job listings. Options: Past 24 Hours, Past Week, Past Month. |
| Workplace Type | Workplace type filter for jobs. Options: Remote, On Site, Hybrid. |
| Experience | Experience level filter for jobs. Options: Internship, Entry Level, Associate, Mid - Senior, Director, Executive. |
| Location | Location filter for jobs or companies. Options include United States, Canada, United Kingdom, Germany, Europe, Saudi Arabia, UAE, Qatar, Egypt, Sudan, MENA region. |
| Post Url | URL of the post to comment on, required for "Comment On A Post". |
| Conversation ID | Identifier of the conversation, required for "Get Conversation Messages". |
| Un-Read Only | Boolean flag to filter only unread conversations, used in "Get User Conversations". |
Output
The output is JSON data representing the result of the selected LinkedIn operation. The structure varies depending on the operation:
- For "Create Cookies": returns an object containing generated authentication cookies.
- For posting, commenting, messaging, and searches: returns the response from the external LinkedIn service, typically including success status and any relevant data (e.g., created post details, search results).
- For retrieving conversations or messages: returns conversation or message data.
- In case of errors, the output contains an error message field describing the issue.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with LinkedIn via the external service.
- Relies on an external HTTP service hosted at
http://95.217.213.4:9768which handles LinkedIn API interactions. - Uses helper functions to format and serialize LinkedIn cookies for requests.
- Requires proper configuration of credentials and network access to the external service.
Troubleshooting
- Authentication Errors: If cookie creation or other operations fail due to invalid credentials, verify that the provided email and password are correct and that the API key credential is valid.
- Network Issues: Failures connecting to the external service may indicate network problems or service downtime.
- Invalid Input Data: Ensure all required fields for the chosen operation are provided and correctly formatted (e.g., valid URLs, IDs).
- Error Responses: The node returns error messages from the external service; review these messages for clues and consider enabling "Continue On Fail" to handle errors gracefully.
- Cookie Formatting: Incorrectly formatted cookies can cause request failures; use the node's cookie formatting properties carefully.
Links and References
- LinkedIn Official Website
- No direct public API documentation link available since the node uses a custom external service.