WhatsApp Trigger
AI-generatedSummary
Polls the WhatsApp API for new messages and emits each matching message as an n8n item. Configure the polling schedule, optionally filter by chat JID, and choose whether to include group or outgoing messages.
Inputs
- Poll Times (required) — Sets when n8n polls; supports preset intervals, an every-X-minute/hour interval, or a custom cron expression.
- Event (required) — The available event is New Message.
- Filter by Chat JID — Only emit messages whose chat JID exactly matches this value; leave blank to accept any chat.
- Include Groups — Defaults to true. When disabled, excludes messages from chats whose JID ends in @g.us.
- Include Outgoing — Defaults to false. When enabled, includes messages sent by you; otherwise messages marked as from you are excluded.
Output shape
A list of n8n items, one per matching message, or no output for a poll with no matches.
Each item’s json includes messageId, chatJid, chatPhone, senderJid, senderPhone, senderName, content, timestamp, type, and isFromMe. The trigger requests up to 100 messages per poll, tracks its last poll timestamp, and filters the returned messages using the options above.