Linq icon

Linq

Interact with Linq API

Actions20

Overview

This node integrates with the Linq API to manage chat messages and their reactions, among other resources. Specifically for the Chat Message - React operation, it allows users to add a reaction (such as an emoji or similar) to a specific chat message by providing the message ID and the desired reaction.

Common scenarios where this node is beneficial include:

  • Automating social or team communication workflows by programmatically reacting to messages.
  • Enhancing chatbot interactions by adding reactions based on message content or external triggers.
  • Integrating Linq chat reactions into broader automation pipelines, e.g., triggering follow-up actions when a reaction is added.

Example: Automatically react with a "thumbs up" emoji to a message once it meets certain criteria in your workflow.

Properties

Name Meaning
Chat Message ID The unique identifier of the chat message to which the reaction will be added.
Reaction The reaction to add to the chat message. This could be an emoji or any supported reaction string by the Linq API.

Output

The node outputs JSON data representing the response from the Linq API after adding the reaction to the specified chat message. This typically includes details about the updated message or confirmation of the reaction being added.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the Linq API.
  • The node makes HTTP requests to the Linq API endpoints, specifically to the /chat_messages/{chatMessageId}/react endpoint.
  • Proper configuration of the Linq API credentials within n8n is necessary.

Troubleshooting

  • Rate Limit Errors: If the node throws an error indicating "Rate limit exceeded," it means too many requests were made in a short period. Wait at least 10 seconds before retrying.
  • Invalid Chat Message ID: Providing an incorrect or non-existent chat message ID will result in an error from the API. Verify the ID is correct.
  • Invalid Reaction Format: The reaction string must conform to what the Linq API accepts. Invalid or unsupported reactions may cause errors.
  • Authentication Issues: Ensure that the API key credential is valid and has the necessary permissions.

Links and References

Discussion