Skip to main content

Incoming Message Trigger

The Incoming Message Trigger fires whenever a WhatsApp message is received on your connected account. You can filter which messages activate the flow by setting a match pattern.

Screenshot placeholder

Match Patterns

You control which incoming messages trigger the flow by choosing a match pattern:

PatternDescriptionExample
Any messageFires on every incoming message, no filter applied.
ContainsFires if the message contains the specified text anywhere.pricing matches "What is your pricing?"
Exact matchFires only if the message is exactly the specified text.STOP matches "STOP" but not "please STOP"
RegexFires if the message matches a regular expression pattern.^(yes|confirm)$ matches "yes" or "confirm"

All matching is case-insensitive. "Hello", "hello", and "HELLO" are treated the same.

Screenshot placeholder

Available Data

When the trigger fires, it provides data that you can use in downstream nodes with {{variable}} templates:

VariableDescription
{{incoming_message}}The full text of the received message
{{sender_phone}}The phone number of the person who sent the message

Use Cases

  • Auto-reply bots — Respond instantly to common questions like "hours", "pricing", or "location".
  • Lead capture — When someone messages a keyword, add them to a contact table and send a welcome message.
  • Customer service — Route incoming messages through AI classification and respond accordingly.
  • Opt-out handling — Detect "STOP" or "unsubscribe" and flag the contact.

Tips

  • Start with Any message while testing, then narrow down to a specific pattern once your flow is working.
  • Use the Regex pattern when you need flexible matching, like accepting multiple keywords with one trigger.
  • Combine with the AI Classify or AI Condition nodes to build intelligent auto-reply systems.