Overview
This node, named 'VibeAcademy Message Pairer', is designed to send messages with a specified sender ID and message type (text or image) to a remote API endpoint. It supports sending either text messages or image URLs, along with a configurable hold time in milliseconds. This node is useful for scenarios where automated message dispatching is needed, such as chatbots, notification systems, or message testing workflows.
Use Case Examples
- Sending a text message with a specific sender ID and a 10-second hold time.
- Sending an image message by providing an image URL and a sender ID.
Properties
| Name | Meaning |
|---|---|
| Sender ID | The identifier of the sender of the message, required for message dispatching. |
| Message Type | Specifies the type of message to send, either 'text' or 'image'. |
| Text (if text) | The text content of the message, used only if the message type is 'text'. |
| Image URL (if image) | The URL of the image to send, used only if the message type is 'image'. |
| Hold ms | The duration in milliseconds to hold or delay the message processing. |
Output
JSON
json- The JSON response from the remote API after sending the message, containing details about the message processing result.
Dependencies
- An external API endpoint at https://wluejivpcrhjtqvhnltm.supabase.co/functions/v1/message is required to process the messages.
Troubleshooting
- Ensure the 'Sender ID' is provided and valid, as it is required for the API call.
- Verify the 'Message Type' matches the provided content: use 'text' for text messages and 'image' for image URLs.
- Check network connectivity and API endpoint availability to avoid request failures.
- If the API returns errors, inspect the response for details and adjust input parameters accordingly.