WhatsWeb: Trigger (Incoming)

Emit items when a WhatsApp message is received

WhatsWeb: Trigger (Incoming)

AI-generated

Overview

This node acts as a trigger that emits items whenever a WhatsApp message is received through a connected WhatsWeb account. It is useful for workflows that need to react in real-time to incoming WhatsApp messages, such as automated customer support, notifications, or message logging.

Use Case Examples

  1. Automatically log incoming WhatsApp messages to a database.
  2. Trigger a notification workflow when a new WhatsApp message arrives.
  3. Start a customer support workflow based on incoming WhatsApp messages.

Output

JSON

  • label - Label of the WhatsWeb account used for connection
  • from - The sender's WhatsApp ID (remote JID)
  • body - The text content of the received message
  • ts - Timestamp of the received message

Dependencies

  • Requires a WhatsWeb credential with session directory, license URL, and license key for authentication and connection.

Troubleshooting

  • License check failure or inactive subscription will prevent the node from working; ensure valid license credentials are provided.
  • Connection issues to WhatsWeb service may cause the trigger not to receive messages; verify network and credential correctness.
  • If no messages are emitted, check that the WhatsWeb account is active and receiving messages.

Discussion