Linked API icon

Linked API

Control your LinkedIn accounts and retrieve real-time data.

Overview

The "Send Message" operation of the "Standard" resource in this node allows users to send a direct message to a LinkedIn user by specifying their public or hashed LinkedIn profile URL. The message is sent asynchronously, with the response delivered via a webhook URL provided by the user.

This node is useful for automating personalized outreach on LinkedIn, such as sending follow-up messages, marketing communications, or networking requests without manual intervention. For example, a recruiter could automatically send interview invitations to candidates, or a sales team could send tailored product information to prospects.

Properties

Name Meaning
Webhook URL The URL where the response from the message sending operation will be sent via webhook.
Person URL The public or hashed LinkedIn profile URL of the person to whom the message will be sent.
Message Text The content of the message to send; must be up to 1900 characters in length.

Output

  • The node outputs JSON data representing the result of the send message operation.
  • The output includes confirmation or status details about the message delivery.
  • Since the operation uses a webhook to deliver the response asynchronously, the immediate output may contain metadata about the request rather than the final message status.
  • No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with the LinkedIn automation 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/execute with JSON payloads.
  • Proper network access and permissions to call external APIs and receive webhooks are necessary.

Troubleshooting

  • Common Issues:

    • Invalid or unreachable webhook URL: Ensure the webhook URL is publicly accessible and correctly configured in n8n.
    • Incorrect or malformed LinkedIn profile URL: Verify that the Person URL is a valid LinkedIn public or hashed profile link.
    • Message text exceeding 1900 characters: Keep the message within the character limit to avoid errors.
    • Authentication failures: Confirm that the API key credential is valid and has required permissions.
  • Error Messages:

    • Errors related to webhook delivery usually indicate connectivity or URL misconfiguration.
    • API errors may return HTTP status codes indicating invalid parameters or authentication issues.
    • To resolve, check credentials, input values, and webhook setup.

Links and References

Discussion