WhatsApp Bot Triggers: a message when a form is sent

Send a WhatsApp message to a customer when a page of your app saves a new record, for example a thank-you to every new lead, through your WhatsApp Bot number.

A WhatsApp Bot Trigger answers your customers the moment they leave details. When a page of your app saves a new record, for example a lead form on your landing page, the trigger sends a WhatsApp message to the phone number in that record. It goes out from a WhatsApp number you connected in the WhatsApp Bot, so first make sure one is set up there.

A WhatsApp number comes first: The screen says: This feature only works after at least one WhatsApp number is configured with GREEN API credentials in WhatsApp Bot. Until then it shows GREEN API is required and a link, Open WhatsApp Bot Flows.

Screen recording: Settings, WhatsApp Bot Triggers: the list and New trigger.

1. Open the triggers: In the Studio, open Settings and choose WhatsApp Bot Triggers (group Automation and connections).

2. Start a trigger: Press New trigger. Give it a Trigger name, for example "New lead follow-up".

3. Choose the page and the event: Under Page pick the page with the form, and under Event the table it saves to. Only events from forms that already saved data appear; if you see No record events found yet, send the form once in the preview.

4. Choose who gets it: Under WhatsApp number pick the number that sends. Under Phone field pick the field with the customer's phone (the likely one is marked likely phone). Name field (optional) lets the message use their name.

5. Write the message: Write it under Message. A field name in double braces, like {{ full_name }}, is replaced with the customer's value. Generate from page writes a first version for you.

6. Test and save: Press Test, type a Test recipient number and Send test WhatsApp; the test fills the fields with sample values. Then Save trigger.

A thank-you to every new lead: "Hi {{ full_name }}, thanks for leaving details. We will contact you soon."

Managing triggers

Who receives it: The message goes to the number in the record that was just saved: your customer. For messages to yourself on each new record, use Notifications. For AI agents that follow up leads, see WhatsApp and email for agents.

Questions

Q: Which events can start a trigger?

A: A new record saved by a page of your app.

Q: The phone field is empty in some records.

A: Those records cannot get a message. Make the phone field required in the form by asking in the chat.

Q: Can I use it without the WhatsApp Bot?

A: No. It sends through a number configured in the WhatsApp Bot.

Q: Does the test send a real message?

A: Yes, to the test number you type, with sample values.

Related: Studio settings, section by section, Automations: tasks your app does by itself, Talk to your agents on WhatsApp and email, Send a WhatsApp campaign