tr Skip to content
Black Friday Lifetime FlowMattic from $399 One payment, unlimited workflows. Ends in --Days --Hrs --Min --Sec See the deal

When new form submission is received in Divi Form, send template message in WhatsApp using WhatsApp Cloud API

Each new Divi form submission sends the visitor one of your approved WhatsApp templates through WhatsApp Cloud API, using the phone number from the form, so they get a reply on their phone right after submitting.

Divi Forms WhatsApp Cloud API

2 steps Setup ~5 min Used on 2.9k sites Free to import

The When new form submission is received in Divi Form, send template message in WhatsApp using WhatsApp Cloud API workflow on the FlowMattic canvas, with 2 steps across Divi Forms, WhatsApp Cloud API
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

Divi sites often rely on the built-in contact form for enquiries, and the visitor then waits for an email that may sit in a promotions tab. Replying on WhatsApp puts your answer where many people already chat. This workflow sends a WhatsApp template to each person who submits your Divi form.

The Divi Forms New Form Submission trigger starts the run with the values from the entry. To have a number to message, your form needs a field where the visitor types their phone number.

The WhatsApp Cloud API Send Template Message step then delivers a pre-approved template from your WhatsApp Business account. Templates are the message type WhatsApp allows when the person hasn't written to your number in the last 24 hours, which is the usual case for a website visitor. This step has no mapping in the template: connect your account, pick the template, map the phone field and fill the template's variables with form answers such as the name.

One entry means one WhatsApp message. A wrong or local-format number means WhatsApp can't deliver it. Send yourself a test entry and read the response in Task History before turning the workflow on for real visitors.

Enquiry acknowledgement for a clinic

A physiotherapy clinic's Divi contact form sends patients a WhatsApp template confirming the enquiry and saying when the team will call.

Property viewing requests

An estate agent's Divi site replies on WhatsApp to every viewing request, so buyers can answer in the same chat with times that suit them.

Course enquiries for a language school

A language school sends each prospective student a WhatsApp template with their name, opening a chat for questions about levels and dates.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    Divi Forms New Form Submission

    Starts the workflow when a visitor submits your Divi form. The form's field values, including the phone number if your form asks for one, are passed to the WhatsApp step.

  2. Step 2Action
    WhatsApp Cloud API Send Template Message

    Sends a WhatsApp template message to the visitor. It ships empty: connect WhatsApp Cloud API, choose an approved template, map the phone number from the Divi form and fill any template variables.

What you need

  • FlowMatticCore
  • Divi Forms PluginPlugin
  • WhatsApp Cloud API AccountAccount

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Make it yours

Changes worth making after you import it.

  • Add a phone field to your Divi form and ask for the number with country code in its label, because WhatsApp needs the international format.
  • Create and get approval for the template in your WhatsApp Business account before you import, since only approved templates can be picked in the step.
  • If the site has several Divi forms and only one should send WhatsApp messages, put a Filter between the Divi trigger and the WhatsApp step on a value that identifies that form, as seen in a test run.
  • Mention your business name in the template text, so the visitor recognises who is messaging them.

Questions about this workflow

Do I need a WhatsApp Business account to message Divi form visitors?

Yes. WhatsApp Cloud API works with a WhatsApp Business account and a business phone number, and the template you send must be approved for that account.

Why can't the workflow send a plain text WhatsApp reply to Divi visitors?

Free-form WhatsApp text only reaches people who wrote to your business number in the past 24 hours. Visitors who just filled in your form usually haven't, so the template message is used instead.

Does the default Divi contact form collect a phone number?

Not by default: Divi's contact form starts with name, email and message fields. Add a phone field to the form, then map it in the WhatsApp step so there's a number to send to.

Can the WhatsApp template include the visitor's form answers?

Yes, if the template has variables. Map Divi form values such as the name or the service they asked about into those variables after import.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

It is self hosted and wordpress based. So you can effectively run this on any shared hosting with unlimited tasks. And new integrations are constantly being added. It's crazy how valuable this tool is.

Henry H.

The software works really well, and the team is adding integrations constantly, so I'm positive it eventually will catch up with Zapier. The flows are very easy to create and if you have any doubt, the team will give you great support.