BaleMessenger Trigger icon

BaleMessenger Trigger

Starts the workflow on Bale update

Overview

This node acts as a trigger for workflows based on updates received from Bale Messenger. It listens for incoming Bale Messenger webhook events, such as messages, channel posts, photos, documents, and videos, and starts the workflow when such updates occur. It is useful for automating responses or processing Bale Messenger content in real-time, for example, saving received media files or reacting to specific messages.

Use Case Examples

  1. Automatically save photos or videos sent to a Bale Messenger bot to cloud storage.
  2. Trigger a workflow to analyze or respond to incoming messages or channel posts on Bale Messenger.

Output

Binary

Contains media file data (photo, video, or document) if present in the update, prepared for further processing or storage.

JSON

  • json - The full JSON payload of the Bale Messenger update received via webhook.
  • binary
    • data - Binary data of the media file (photo, video, or document) if included in the update.

Dependencies

  • Requires Bale Messenger API token for authentication.

Troubleshooting

  • Ensure the Bale Messenger API token credential is correctly configured and valid.
  • Webhook URL must be correctly set in Bale Messenger to receive updates; verify webhook setup via the node's webhook methods.
  • If media file download fails, check network connectivity and Bale Messenger API availability.
  • Common errors include invalid token errors, webhook URL mismatches, or failure to download media files; resolving these involves verifying credentials, webhook URL, and API status.

Links

Discussion