Bahalap Trigger
AI-generatedSummary
Trigger workflows on specified WhatsApp-related events from Bahalap, including incoming messages, connection status updates, QR code generation, and group updates, with optional filtering and media download settings.
Inputs
- Events (required) — Select one or more event types to listen to: 'message' for incoming messages, 'connection' for connection updates, 'qr' for QR code generation, and 'group' for group updates.
- Options — Configuration options to refine the trigger behavior, including filtering by phone numbers and group IDs, choosing to process only messages sent or received by the device, and whether to download media files from messages.
Output shape
a list of JSON objects containing event data matching the selected events and filters
If incoming data does not match selected event types or filtering criteria, no items are emitted. When messages include media and 'Download Media' is enabled, media download is attempted; errors are captured in the output. The output event data includes a timestamp and event type.
Examples
Example 1: Trigger workflow on incoming WhatsApp messages from specific phone numbers, downloading media attachments.
Set Events to ['message'], enable 'Download Media', and specify phone numbers in 'Filter Phone Numbers' to restrict triggers to those numbers.