Skip to main content

Incoming WhatsApp Messages

Incoming WhatsApp Messages runs every time a contact sends you a message on WhatsApp. It is the starting point for WhatsApp chatbots, keyword auto-replies, AI replies and bot-to-human handover.

Conditions​

Conditions are optional. Click Add Condition, then pick a Field, an Operator and a value. Choose All (AND) or Any (OR) under Condition Type to decide whether every condition or just one must match.

ConditionOperatorsValues
Incoming Messageincludes any, does not include all, is a valid date, is not a valid date, matches regex pattern, does not match regex pattern, equals, not equalsKeywords, a regex pattern or exact text
Message Typeis part of all, is part of any, is not part of allText, Template, Document, Image, Video, Audio, Order, Interactive, Sticker
Message received timeis between, is on, is before, is after, is less than X period ago (past), is more than X period ago (past)A time of day, weekdays or a period
Last Contact activity timeis between, is on, is before, is after, is less than X period ago (past), is more than X period ago (past)A time of day, weekdays or a period
Contact Groupis part of all, is part of any, is not part of allYour contact groups
Phone Numberincludes any, does not include all, matches regex pattern, does not match regex pattern, equals, not equals, exists, does not existPhone numbers or a regex pattern
Selected Optionis a valid staff, is not a valid staff, is a valid category, is not a valid category, is a valid service, is not a valid service, is a valid appointment, is not a valid appointment, is a valid client, is not a valid client, is a valid time slot, is not a valid time slot, is create new client, is not create new client, is load more, is not load more, is a valid gender, is not a valid gender, is a valid order, is not a valid order, is a valid subscription, is not a valid subscription, is a valid credit, is not a valid credit, is a valid plan, is not a valid plan, is a valid class, is not a valid class, is a valid class participant, is not a valid class participantNo value needed
Contactis an existing client, is not an existing clientNo value needed
Client Tagsincludes any, does not include all, is part of all, is part of any, is not part of allYour client tags
Contact Tagsincludes any, does not include all, is part of all, is part of any, is not part of allYour contact tags
Contact Stageequals, not equalsSubscriber, Lead, Engaged, Marketing qualified lead (MQL), Sales qualified lead (SQL), Opportunity, Follow-up Required, Customer, Evangelist, Other, Lost, Inactive

Incoming Message with includes any matches if the message contains any of your keywords anywhere, ignoring upper and lower case. Use equals for an exact reply or matches regex pattern for precise matching, for example /^stop$/i.

Message received time is checked in your location's time zone. is between takes a Time and an End Time and works across midnight (for example 19:00 to 09:00). is on takes one or more weekdays.

Phone Number does not exist is true for people who message from a WhatsApp username without sharing their number; pair it with request WhatsApp Phone Number. Selected Option and Contact are used by the built-in chatbot templates to check what the person picked in a list.

Actions​

Click Add Action and choose from Select Action. Actions run in order; use the arrows to reorder them. To delay an action, click Add wait time (or Add wait & Schedule time on template and email actions). Wait times count from the trigger event, not from the previous action.

ActionWhat it doesWait time
send WhatsApp messageSends a WhatsApp text reply. Only delivered while the 24-hour WhatsApp session is open.Up to 1 day
send WhatsApp interactive message - ButtonsSends a WhatsApp message with reply buttons.Up to 1 day
send WhatsApp interactive message - List optionsSends a WhatsApp message with a list of options to choose from.Up to 1 day
send WhatsApp interactive message - CTA URLSends a WhatsApp message with a button that opens a link.Up to 1 day
send WhatsApp interactive message - FlowSends a WhatsApp Flow, a form that opens inside WhatsApp.Up to 1 day
send WhatsApp mediaSends an image, video or document.Up to 1 day
send WhatsApp audioSends an audio file or voice note.Up to 1 day
send WhatsApp location MessageSends a map location, such as your address.Up to 1 day
request WhatsApp location MessageAsks the contact to share their location.Up to 1 day
request WhatsApp Phone NumberAsks the contact to share their phone number. Useful when someone writes from a WhatsApp username and their number is not known yet.Up to 1 day
request permission to call on WhatsAppAsks the contact for permission to call them on WhatsApp. Skipped when permission is already in place. WhatsApp allows one request every 24 hours and two every 7 days.Up to 1 day
send a WhatsApp template messageSends an approved WhatsApp template. Works outside the 24-hour session, so use it for reminders, follow-ups and anything sent later.Minutes to months
send Customer Satisfaction Survey (CSAT)Sends a customer satisfaction (CSAT) survey.Minutes to months
send a WhatsApp catalog messageSends your WhatsApp catalogue so the contact can browse products.Up to 1 day
Webhooks by WhautomateSends the event data to your own URL (webhook).Minutes to months
Add the Contact to GroupAdds the contact to a contact group, which you can check in later conditions.Minutes to months
Remove the Contact from GroupRemoves the contact from a contact group, for example so a rule does not run twice.Minutes to months
Add Client TagsAdds tags to the client record. Needs CRM Suite.Minutes to months
Remove Client TagsRemoves tags from the client record. Needs CRM Suite.Minutes to months
Add Contact TagsAdds tags to the contact.Minutes to months
Remove Contact TagsRemoves tags from the contact.Minutes to months
Update Contact StageMoves the contact to a stage, such as Lead or Customer.Minutes to months
Send EmailSends an email to the client, team members or a custom list. Marketing emails need CRM Suite; Transactional emails do not.Minutes to months
Assign chat to unassigned queueMoves the chat to the unassigned queue so a team member can pick it up (bot-to-human handover).Up to 1 day
Assign chat to StaffAssigns the chat to the team member you choose.Up to 1 day
Auto-Assign Chat to Staff - Round RobinAssigns the chat to team members in turn (round robin).Up to 1 day
Auto Close ConversationCloses the conversation, so automations answer again the next time the person writes.Minutes to months
Send Single Product MessageSends one product from your connected catalogue. Needs Sales.Up to 1 day
Send Product List MessageSends up to 30 products from your connected catalogue. Needs Sales.Up to 1 day
Notify Staffs via WhatsAppSends a WhatsApp template message to the team members you choose.Minutes to months
Smart Follow-upSends a follow-up if the contact has not replied within the wait time. Cancelled automatically when they reply.Up to 1 day
AI ConversationReplies with AI using your chosen provider, knowledge base and tools. See AI Conversation.Up to 1 day
Smart AI Follow-upWrites and sends a follow-up with AI, based on the conversation, if the contact has not replied within the wait time. Cancelled automatically when they reply.Up to 1 day
Clear AI Conversation HistoryClears the AI conversation history, so the next AI reply starts without earlier context.Up to 1 day
Save the message responseSaves the contact's reply into their name, notes or a custom field (use variables.fieldname for a custom field).Up to 1 day
Add Text Client NotesAdds a text note to the client record. Needs CRM Suite.Minutes to months
Add Document Client NotesAttaches a document to the client record as a note. Needs CRM Suite.Minutes to months
Add or Update Client Custom AttributesAdds or updates custom fields on the client record. Needs CRM Suite.Minutes to months
Add Contact to Suppression ListAdds the contact to the suppression list so they stop receiving messages from you.Up to 1 day
Remove Contact from Suppression ListRemoves the contact from the suppression list so they can receive messages again.Up to 1 day
Add Contact NotesAdds a note to the contact.Minutes to months
The Opening hours reply rule with the Incoming WhatsApp Messages trigger, an Incoming Message includes any hours, open condition and a send WhatsApp message action

Example​

Reply to opening-hours questions

  1. Go to Engage > Automations, click Add Rule, then Create rule from scratch.
  2. Name the rule "Opening hours reply" and choose Incoming WhatsApp Messages as the Trigger.
  3. Click Add Condition: Incoming Message, includes any, keywords hours and open.
  4. Under Actions, choose send WhatsApp message and type your hours, for example "We are open Monday to Saturday, 9am to 7pm."
  5. Turn on Publish Rule and click Save.

To answer only outside business hours, add a second condition Message received time is between 19:00 and 09:00.

Good to know​

  • While a team member has the conversation Open, message rules do not run, so the bot does not talk over a person. Turn on Override Human Agent in the trigger section to run this rule anyway (for example for an opt-out keyword).
  • Text, media and interactive replies only reach the contact inside the messaging window (24 hours after their last message on WhatsApp, Instagram and Messenger), so their wait time is limited to 1 day. Use a template message for anything later.
  • Only one WhatsApp chatbot template can be active at a time. See Rule templates.