Bailey Trigger
AI-generatedSummary
Listen for a selected WhatsApp event through a Baileys WebSocket connection and emit each occurrence as workflow data. Choose a specific event or the default All Events option; the required baileyApi credentials provide the WhatsApp session.
Inputs
- Event — Select All Events (default) or a specific event, such as Message Received, Chat Updated, Group Participants, or Connection Updated.
- Options → Include Event Metadata — Defaults to true. Adds
_event,_sessionId, and an ISO timestamp in_timestampto each output item; turn off to omit these fields. - Options → Only Real Messages — Defaults to false. For Message Received (
messages.upsert), removes messages containing a protocol message and emits nothing when all messages are filtered out.
Output shape
One workflow item for each emitted WhatsApp event; the event payload's object fields are placed at the item’s top level, or non-object payloads are placed in data.
With metadata enabled, output also includes
_event,_sessionId, and_timestamp. All Events subscribes to the listed WhatsApp events. During manual testing, the trigger waits for and emits one event from the first subscribed event; while active, it emits each subscribed event.