Skip to main content

Messaging & SMS

WhatsApp Cloud API in Core Forms

Send WhatsApp template messages and free-form replies via Meta's Cloud API from any form.

Bundled with Core Forms, the WordPress forms plugin with every premium feature in the box. No add-on tax.

Bundled, no add-on tax Unlimited sites

The WhatsApp Cloud API WordPress form action sends a WhatsApp message through Meta's Graph API when a Core Forms form is submitted. Use an approved template to start a conversation, or plain text inside the 24-hour customer-service window. You need a Meta WhatsApp Business app, its Phone Number ID and an access token.

Talk to your customers on WhatsApp without leaving Core Forms. The WhatsApp Cloud API action sends approved template messages for cold business-initiated conversations and free-form text replies inside the 24-hour customer-service window.

Credentials live globally under Settings → WhatsApp Cloud API with per-action override for agencies running multiple senders. A built-in Test connection button pings Meta's Graph API and reports the verified business name + quality rating before you go live.

WhatsApp Cloud API at a glance

Requires
Meta app, Phone Number ID, token
Modes
Template or free-form text
Credentials
Global, override per action
Template variables
[field_name] into {{1}}, {{2}}
Logged in
Email Logs, with recipient phone
Replies
Via WhatsApp Inbound Webhooks

Full reference: WhatsApp inbound replies

What you get

How WhatsApp Cloud API works in Core Forms

Template + free-form modes

Send approved template messages (cold outreach) or plain text replies (inside the 24-hour service window).

Test connection button

Verify your Access Token and Phone Number ID before you ship — reports the verified business name + quality rating.

Per-action credential override

Run multiple WhatsApp senders from one site by overriding the global token/phone-number-ID per form.

Template body variables

Map any form field into the template's {{1}}, {{2}}, … placeholders with the standard [field_name] substitution.

Logs to Email Logs

Every Cloud API send writes to the existing Email Logs table with the recipient phone preserved (action_type = whatsapp_cloud).

Use cases

What people build with WhatsApp Cloud API and Core Forms

Templated confirmation on WhatsApp

Send an approved template to a new lead, with their name and request filled into the template placeholders.

Reply inside the service window

Use text mode to send a free-form follow-up while the 24-hour customer-service window is open.

Several senders on one site

Agencies can override the global token and Phone Number ID per action, so each form sends from its own number.

Replies on the submission thread

Set up inbound webhooks and customer replies land on the matching submission with the status replied.

Set it up

Connect WhatsApp Cloud API in 3 minutes

  1. 1

    Set up a Meta WhatsApp Business app

    Create the app at developers.facebook.com/apps and add the WhatsApp product. Note the Phone Number ID and System User Access Token.

  2. 2

    Paste credentials into Core Forms

    Settings → WhatsApp Cloud API. Click Test connection to confirm the link works.

  3. 3

    Add the action to your form

    Form → Actions → Send WhatsApp (Cloud API). Pick template mode (cold outreach) or text mode (in-window reply).

  4. 4

    Map body variables

    For template mode, list comma-separated [field_name] tokens that fill {{1}}, {{2}}, … in the approved template body.

Want the long version? Read the step-by-step guide with screenshots of every setting.

Every setting, filter, and error message is documented in the WhatsApp inbound replies.

Inside Core Forms

The action in WP-Admin

The Send WhatsApp (Cloud API) action with a recipient number, template name, language, body variables and credential overrides
Template messages start a conversation. Free-form messages only work inside an open 24-hour window.
Good to know

Requirements and limits

  • Free-form text only reaches people inside the 24-hour customer-service window; outside it you need an approved template.
  • The action fills body variables in templates you have already had approved by Meta; it does not create templates.
  • Replies only attach to a submission once inbound webhooks are set up and an outbound send to that number was recorded.
  • Meta accepting a message isn't proof of delivery; status callbacks from the inbound webhook update delivered, read and failed states.
FAQ

WhatsApp Cloud API integration questions

Should I use template mode or text mode?
Use template mode for business-initiated messages, such as the first message after a form submit. Text mode only works inside the 24-hour customer-service window, so it fits replies to someone who has messaged you.
How do I fill the template placeholders?
List comma-separated [field_name] tokens in order. The first fills {{1}}, the second {{2}}, and so on in the approved template body.
Can I check my credentials before going live?
Yes. Under Settings > WhatsApp Cloud API, Test connection checks your Access Token and Phone Number ID against Meta and reports the verified business name and quality rating.
Where do customer replies go?
Point your Meta app's webhook at /wp-json/core-forms/v1/whatsapp/meta and subscribe it to the messages field. Replies are saved on the submission's conversation thread and marked replied. The WhatsApp inbound guide covers the verify token and app secret.
Can different forms send from different WhatsApp numbers?
Yes. Credentials are global by default, and each action can override the access token and Phone Number ID for its own sender.
Is there a simpler option without a Meta app?
Yes. Click-to-WhatsApp opens a pre-filled chat with no API keys, and Twilio WhatsApp works if you already use Twilio.

Bundled with every Core Forms license.

WhatsApp Cloud API and every Core Forms-built integration on this site are included with your license.