WhatsApp Type Router
AI-generatedSummary
Routes WhatsApp messages by type into one of eight branches.
Inputs
- main (required) — Items containing WhatsApp message data.
Output shape
array-of-eight-collections
Order matches outputNames: Text, Audio, Image, Video, Document, Location, Sticker, Other. Each array contains items whose message.type matches the branch, or fall through to Other.
Examples
Example 1: A text message item enters the node.
No configuration properties exist; routing is purely content-driven. The item appears in the Text output branch (index 0). Audio, PTT, image, video, document, location, and sticker items route to their respective branches. Any other message type or missing type routes to Other (index 7).