PAPI WhatsApp Trigger icon

PAPI WhatsApp Trigger

Recebe eventos da PAPI WhatsApp API via webhook

PAPI WhatsApp Trigger

AI-generated

Summary

Trigger on incoming WhatsApp events from the PAPI WhatsApp API webhook, filtering by event types, instance ID, sender JID, message type, and message context (group/private, self-sent).

Inputs

  • events (required) — Select one or multiple WhatsApp event types to listen for, such as new messages, message status updates, reactions, group updates, calls, and more.
  • filterByInstance — Enable filtering events by a specific WhatsApp instance ID.
  • instanceId — Specify the instance ID to receive events from, required if 'filterByInstance' is enabled.
  • filterBySender — Enable filtering messages by sender JID using exact or regex matching.
  • senderJid — JID of the sender to filter messages by, supports regex, required if 'filterBySender' is enabled.
  • onlyGroups — Receive only group messages.
  • onlyPrivate — Receive only private (non-group) messages.
  • ignoreFromMe — Ignore messages sent by the connected WhatsApp number itself.
  • filterByMessageType — Filter messages by specific message types.
  • messageTypes — List of WhatsApp message types (e.g. text, image, video, audio) to accept, used when 'filterByMessageType' is enabled.

Output shape

a single webhook event object matching the selected filter criteria, delivered as JSON data

The output JSON includes the original event data plus a _meta object containing eventType, instanceId, timestamp, and headers; message events include a _parsed object with common message details (sender, messageId, text, type, etc.). If incoming event does not match filters, the webhook suppresses workflow trigger (no output). No pagination applies.

Discussion