Linq icon

Linq

Interact with Linq API

Actions20

Overview

This node integrates with the Linq API to manage chat messages within chats. Specifically, for the Chat Message - Create operation, it allows users to send a new message to an existing chat by specifying the chat's ID and the message text.

Common scenarios where this node is beneficial include:

  • Automating sending messages in customer support or sales chat workflows.
  • Integrating chat messaging into broader automation pipelines, such as notifying users or logging conversations.
  • Building custom chatbots or notification systems that interact with Linq chats.

Example:
You have a chat identified by a specific Chat ID, and you want to programmatically send a message like "Hello, your order has been shipped!" to that chat. This node lets you do that by providing the chat ID and the message text.

Properties

Name Meaning
Chat ID The unique identifier of the chat where the message will be sent.
Message Text The content/text of the message to send to the specified chat.

Output

The node outputs the JSON response from the Linq API after creating the chat message. This typically includes details about the newly created message such as its ID, timestamp, text content, sender information, and status.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Linq API (referred generically as an API integration token).
  • The node makes HTTP requests to Linq's partner API endpoints.
  • Proper configuration of the API key credential in n8n is necessary for successful execution.

Troubleshooting

  • Rate Limit Exceeded:
    If the node throws an error indicating "Rate limit exceeded. Please try again after 10 seconds.", it means too many requests were made in a short time. To resolve, add delays between executions or reduce request frequency.

  • Invalid Chat ID:
    Providing an incorrect or non-existent Chat ID may result in API errors or empty responses. Verify the Chat ID before use.

  • Empty Message Text:
    Sending an empty message text might cause the API to reject the request. Ensure the message text is not empty.

  • Authentication Errors:
    If authentication fails, check that the API key credential is correctly set up and valid.

Links and References

Discussion