Whats2API Trigger icon

Whats2API Trigger

Starts the workflow when a Whats2API event occurs

Whats2API Trigger

AI-generated

Summary

Trigger the workflow when a specified Whats2API event occurs, optionally filtering by message type, sender number, or keyword in the message text.

Inputs

  • Event Type (required) — Select the specific Whats2API event type to trigger on, such as new messages, message updates, deletes, group or contact updates, connection updates, or all events.
  • Message Type (required) — Filter incoming messages by any, group messages only, or private messages only.
  • Sender (Phone/JID) — Enter a specific sender phone number or JID to trigger only for messages from that sender; leave empty to allow all senders.
  • Keyword — Enter a keyword to trigger only if the incoming message text contains this keyword; leave empty to allow all messages.

Output shape

a single item containing details about the triggering Whats2API event

The output includes the HTTP headers, original event body, remote JID, participant, sender's push name, message text, group message flag, message timestamp, and the full message object when applicable. If event or filter conditions do not match, the trigger does not output data.

Links

Discussion