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 information, and managing cookies for authentication.
Typical use cases include automating LinkedIn marketing campaigns (e.g., posting content, messaging), recruiting workflows (searching for candidates or jobs), social engagement (commenting on posts), and user data retrieval. For example, a marketer could automate posting updates and sending direct messages to prospects, while a recruiter might search for candidates matching specific job titles and experience levels.
Properties
| Name | Meaning |
|---|---|
| Operation Type | The action to perform. Options: Comment On A Post, Create A Post, Create Cookies, Get User Info, Search For Companies, Search For Jobs, Search For People, Send Direct Message. |
| Cookies | LinkedIn session cookies in string format, used for authentication in most operations except "Create Cookies". |
| Profile ID or URL | The LinkedIn profile identifier or URL to fetch user information (used with "Get User Info"). |
| Email address for login when creating cookies (used with "Create Cookies"). | |
| Password | Password for login when creating cookies (used with "Create Cookies"). |
| Reciever ID | Recipient's LinkedIn ID for sending direct messages (used with "Send Direct Message"). |
| Sender ID | Sender's LinkedIn ID for sending direct messages (used with "Send Direct Message"). |
| Content | Text content for posts, comments, or direct messages (used with "Send Direct Message", "Create A Post", "Comment On A Post"). |
| Job Title | Job title filter for searching people or jobs (used with "Search For People" and "Search For Jobs"). |
| Keywords | Keywords filter for searching people or companies (used with "Search For People" and "Search For Companies"). |
| Company Size | Company size filter for searching companies. Options: 1-10, 11-50, 51-200, 201-500, 501-1000 employees (used with "Search For Companies"). |
| Listed At | Time filter for job listings. Options: Past 24 Hours, Past Week, Past Month (used with "Search For Jobs"). |
| Workplace Type | Workplace type filter for jobs. Options: Remote, On Site, Hybrid (used with "Search For Jobs"). |
| Experience | Experience level filter for jobs. Options: Internship, Entry Level, Associate, Mid - Senior, Director, Executive (used with "Search For Jobs"). |
| Location | Location filter for jobs or companies. Options include United States, Canada, United Kingdom, Germany, Europe, Saudi Arabia, United Arab Emirates, Qatar, Egypt, Sudan, Mena region (used with "Search For Jobs" and "Search For Companies"). |
| Post Url | URL of the LinkedIn post to comment on (used with "Comment On A Post"). |
Output
The node outputs JSON objects representing the results of the selected operation:
- For Create Cookies, it returns an object containing the generated LinkedIn cookies.
- For Create Post, Comment On A Post, Send Direct Message, Search For People, Search For Companies, Search For Jobs, and Get User Info, it returns the response from the external service, typically including details about the created post, comment, message status, search results, or user info.
- In case of errors, the output JSON contains an
errorfield with the error message.
No binary data is produced by this node.
Dependencies
- Requires an API key credential for authenticating with LinkedIn services (referred generically as "an API key credential").
- Relies on an external HTTP service at
http://95.217.213.4:9768which handles LinkedIn operations such as posting, messaging, searching, and user info retrieval. - Uses helper functions to format and serialize LinkedIn cookies for authentication.
- Requires proper LinkedIn session cookies or credentials depending on the operation.
Troubleshooting
- Authentication Errors: Operations require valid LinkedIn cookies or credentials. Ensure that cookies are correctly formatted and not expired. Use the "Create Cookies" operation to generate fresh cookies if needed.
- Network or Service Unavailability: The node depends on an external service at a fixed IP and port. If this service is down or unreachable, requests will fail. Check network connectivity and service status.
- Invalid Input Parameters: Providing incorrect or incomplete parameters (e.g., missing post URL for commenting) may cause errors. Verify all required fields for the chosen operation.
- Error Messages: When an error occurs, the node outputs an error message in the JSON under the
errorkey. Common errors include authentication failures, invalid parameters, or request timeouts. Review the error message and adjust inputs accordingly. - Continue On Fail: If enabled, the node continues processing subsequent items even if one fails, returning error details per item.
Links and References
- LinkedIn Official Website
- n8n Documentation
- No public documentation available for the external service endpoint used (
http://95.217.213.4:9768).