Linkedin SL icon

Linkedin SL

Perform linkedin operations

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 conversations and messages, and managing cookies for authentication.

Common scenarios where this node is beneficial include automating LinkedIn marketing campaigns, managing communications, gathering leads or job opportunities, and integrating LinkedIn data into workflows without manual intervention.

Practical examples:

  • Automatically create a LinkedIn post to announce a new product.
  • Search for potential candidates by job title and keywords.
  • Send personalized direct messages to prospects.
  • Retrieve conversation messages to analyze communication history.

Properties

Name Meaning
Operation Type The action 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 LinkedIn session cookies in string format, used for authentication (not shown when creating cookies).
Profile ID or URL Identifier or URL of the LinkedIn profile (used for getting user info or conversations).
Email Email address for login (used only when creating cookies).
Password Password for login (used only when creating cookies).
Reciever ID Recipient's LinkedIn ID for sending direct messages.
Sender ID Sender's LinkedIn ID for sending direct messages.
Content Text content for posts, comments, or direct messages.
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 Job workplace type filter. Options: Remote, On Site, Hybrid.
Experience Experience level filter for jobs. Options: Internship, Entry Level, Associate, Mid - Senior, Director, Executive.
Location Geographic location filter for jobs or companies. Options include United States, Canada, UK, Germany, Europe, Saudi Arabia, UAE, Qatar, Egypt, Sudan, MENA region.
Post Url URL of the LinkedIn post to comment on.
Conversation ID Identifier of a conversation to retrieve messages from.
Un-Read Only Boolean flag to filter only unread conversations or messages.
Unread Count Number of unread messages to retrieve (used when Un-Read Only is true).

Output

The output is an array of JSON objects corresponding to each input item processed. Each JSON object contains the response from the external LinkedIn service for the selected operation.

  • For operations like creating posts, comments, or sending messages, the output includes confirmation or details of the created entity.
  • For search operations, the output contains lists of matching people, companies, or jobs.
  • For conversation and message retrieval, the output includes conversation metadata and message contents.
  • For cookie creation, the output provides the generated cookies needed for authenticated requests.

If an error occurs during any operation, the output JSON will contain an error field with the error message.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the external LinkedIn service.
  • Relies on an external HTTP service at http://95.217.213.4:9768 which handles LinkedIn operations.
  • Uses helper functions to format and serialize LinkedIn cookies properly before sending requests.
  • Requires proper LinkedIn session cookies or credentials depending on the operation.

Troubleshooting

  • Authentication errors: Ensure valid LinkedIn cookies or correct email/password are provided when creating cookies.
  • Network errors: The node depends on an external service; network issues or service downtime can cause failures.
  • Invalid parameters: Missing or incorrect IDs (profile, conversation, sender/receiver) may result in errors.
  • Rate limiting or LinkedIn restrictions: LinkedIn may block automated requests; handle errors gracefully and respect usage limits.
  • Error messages: Errors returned from the external service are passed through; check the error message for details.
  • Use the "Continue On Fail" option to allow workflow continuation despite individual item errors.

Links and References

Discussion