· 2 min · TextMeFlow Team

Send a WhatsApp Confirmation from a Webflow Form Submission

Webflow sites almost always use the built-in forms — quick to build, but the notifications that come with them are ordinary emails. They end up in spam, get read only in the evening, or simply get lost among the newsletters. A WhatsApp message to yourself or to the visitor is read within seconds. This article shows how to connect that via Webflow's own webhook feature, without a Meta Business verification or a separate app.

Webflow's built-in form webhook

Webflow has no native WhatsApp integration, but it does have its own webhook system: under Site settings → Integrations → Webhooks you register a URL that receives a POST request on every form_submission. The payload is JSON and contains, among other things, the name of the form and a data object with the filled-in fields (the exact field names depend on how you built the form in the Designer — check that first with a test submission to a tool like webhook.site).

So you don't need a plugin or marketplace app: you simply register your own endpoint as the receiver.

Building your endpoint: receive the webhook, send WhatsApp

That endpoint is a piece of code that you host — a small PHP page, a serverless function, or a route in an existing app. It receives the JSON from Webflow and then makes a regular POST to the TextMeFlow API, just like from any other PHP, Python or Node application:

<?php
// webflow-webhook.php
$payload = json_decode(file_get_contents('php://input'), true);
$data = $payload['data'] ?? [];

$telefoon = normaliseer_telefoonnummer($data['Phone'] ?? '');
$naam     = $data['Name'] ?? 'a visitor';

if ($telefoon) {
    file_get_contents('https://api.textmeflow.eu/v1/messages', false, stream_context_create([
        'http' => [
            'method'  => 'POST',
            'header'  => "Content-Type: application/json\r\nAuthorization: Bearer " . getenv('TEXTMEFLOW_API_KEY') . "\r\n",
            'content' => json_encode([
                'to'   => $telefoon,
                'text' => "Thanks {$naam}, we've received your request and will be in touch soon.",
            ]),
        ],
    ]));
}

http_response_code(200);

Give this endpoint a public HTTPS URL and register it as a webhook in Webflow. Keep the response fast and with status 200 — Webflow expects a quick acknowledgement, not for your endpoint to wait until the WhatsApp send has fully completed.

Normalising the phone number to E.164

A Webflow form field yields raw text: 0472 93 22 08, +32 472 93 22 08 or just 472932208, depending on what the visitor types. TextMeFlow accepts only E.164 (+32472932208), so normalise before you call the API:

function normaliseer_telefoonnummer(string $nummer): string {
    $nummer = preg_replace('/[^0-9+]/', '', $nummer);
    if (str_starts_with($nummer, '0')) {
        $nummer = '+32' . substr($nummer, 1); // adjust to your own market
    }
    return $nummer;
}

Without this step, some of your sends fail silently, and you only notice when a customer calls to ask why no confirmation arrived.

Also send an internal notification

Besides the confirmation to the visitor, a second, fixed send to your own team number is often just as valuable: a new lead request on WhatsApp gets picked up faster than one waiting in an inbox. Simply add a second to value in the same function — you use the same API call, just with a fixed number instead of the form field.

Volume and rate limits

For a contact form with a few requests a day, this isn't an issue. If you expect peaks — after a campaign, an action page — it's worth checking your current usage and limits in /en/docs/api before you take the integration live for all visitors, so that a peak doesn't run into a plan limit at the very moment it matters.

Getting started

No Meta application, no approval process, no marketplace app — just a Webflow webhook, a small endpoint that you host yourself, and a TextMeFlow account linked via QR code. Test the integration with your own phone number first before opening it up to real visitors.

Start free on TextMeFlow → — 50 messages per month, no expiry date, no credit card needed.

Want to send WhatsApp messages via API yourself?

Free forever up to 50 messages/month. Scan a QR and send your first message within 5 minutes.

Free forever