Unipile icon

Unipile

Interact with Unipile API

Overview

The node integrates with the Unipile API to forward messages within the Messaging resource. It allows users to specify a particular message by its ID and forward it to a different chat identified by a chat ID. This is useful in scenarios where automated workflows need to redirect or share messages across different chats or channels, such as customer support ticketing systems, team collaboration tools, or social media management platforms.

Practical examples include:

  • Automatically forwarding incoming customer messages to a specific support team chat.
  • Sharing important notifications from one chat to another without manual copying.
  • Integrating messaging workflows that require message redistribution based on certain triggers.

Properties

Name Meaning
Message ID The unique identifier of the message to be forwarded.
Chat ID The identifier of the chat where the message will be forwarded to.

Output

The node outputs JSON data representing the result of the forward message operation. This typically includes confirmation details such as the forwarded message's new status or identifiers confirming successful forwarding. The output does not explicitly mention binary data handling, so it is assumed to be purely JSON-based.

Dependencies

  • Requires an API key credential for authenticating with the Unipile API.
  • Needs the base URL (DSN) configured in the node credentials to direct API requests.
  • Relies on the Unipile API being accessible and operational.

Troubleshooting

  • Common issues:

    • Invalid or missing Message ID or Chat ID can cause the forwarding to fail.
    • Authentication errors if the API key or DSN is incorrect or expired.
    • Network connectivity problems preventing access to the Unipile API.
  • Error messages and resolutions:

    • "Message not found": Verify the Message ID is correct and exists.
    • "Unauthorized" or "Authentication failed": Check the API key credential and DSN configuration.
    • "Chat ID invalid": Confirm the target chat ID is valid and accessible.
    • Timeouts or network errors: Ensure stable internet connection and API endpoint availability.

Links and References

Discussion