What people actually want
The search "contact form 7 to whatsapp" covers three different jobs. Some site owners want the visitor to continue the conversation in WhatsApp after submitting. Others want an alert to the team. A few want a full two way inbox. Each job has a different solution, and most confusion comes from buying the wrong one.
Contact Form 7 is installed on more than 10 million WordPress sites, according to the plugin directory listing (https://wordpress.org/plugins/contact-form-7/, checked 15 November 2026, 10,000,000+ active installs). That scale is why this question gets asked every week.
Way 1: open wa.me from the browser after submit
WhatsApp supports an official click to chat link: https://wa.me/<number>?text=<urlencoded message>. It opens a chat with a prefilled message. No API, no cost, no approval.
Contact Form 7 submits through AJAX by default. The server returns a JSON response, and the browser decides what to do with it. A redirect sent from PHP inside a server hook replaces that JSON response, so the form script has nothing to parse and the visitor stays on the page. On many hosts the redirect also points at an external domain that the site's security rules do not expect.
The supported path is the DOM event that Contact Form 7 fires after a successful send:
document.addEventListener( 'wpcf7mailsent', function ( event ) {
var form = event.target;
var field = form.querySelector( '[name="your-name"]' );
var name = field ? field.value : 'the website';
var text = 'New enquiry from ' + name;
window.location.href = 'https://wa.me/6281234567890?text=' + encodeURIComponent( text );
}, false );
Why this order works: wpcf7mailsent only fires after the submission succeeded, so the email notification has already been handed off before the browser navigates. The visitor still has to press send inside WhatsApp, and the lead still lives in their chat, not in your database.
If you need a no-JavaScript fallback, put the wa.me link in the form's confirmation message instead of redirecting. The visitor lands on a thank you message with a button and chooses.
Where this approach breaks: - The visitor must have WhatsApp on the device. Desktop users often do not. - The lead lives in the visitor's chat, not in your database. - Encoding errors produce a broken message. Spaces must be encoded, and the number must be in international format without a plus sign.
Use this when you want the visitor to talk to you and you do not need a record on the site.
Way 2: a plugin that adds the button and the redirect
A plugin does the same thing with a settings page, plus a floating button. That removes the code and the encoding mistakes. The trade off is another plugin on the site and, often, an upsell.
What to check before installing any of them: - Does the free version work without an account on the vendor's server? - Does it send anything to a third party? - Does it support the Contact Form 7 version you run? - Is the redirect optional, so you can test it without losing email?
A button and a redirect solve the visitor side. They do not solve the team alert side, because WhatsApp click to chat is one way. If the visitor never presses send, nobody knows the form was submitted.
Way 3: WhatsApp Business API
The Cloud API from Meta, or a provider such as Twilio, sends a real message to your team without the visitor doing anything. It is the only option that works like email: submit happens, message arrives.
Costs and constraints to plan for: - A Meta business account and a phone number that is not already on WhatsApp. - Message templates approved before you send them. - Per conversation pricing that changes by country. Meta publishes the rates, and they are not zero. - A review process that can take days.
Use this when a missed lead costs more than the setup. Do not use it for a five page brochure site.
Comparison
| Approach | Cost | Visitor action needed | Team gets alert | Setup time |
|---|---|---|---|---|
| wa.me redirect | Free | Yes | No | 15 minutes with code |
| Plugin with button | Free tier, paid extras | Yes | No | 5 minutes |
| WhatsApp Business API | Per conversation | No | Yes | 1 to 5 days |
Which one to pick
If the goal is "let the visitor message us", the redirect or a plugin is enough. If the goal is "never miss a lead", you need a real notification channel. Telegram is the cheapest version of that: the Bot API is free, and a message can arrive in under a second without template approval.
That is the combination Relay Notify ships: Telegram alerts for every Contact Form 7 submission, plus a WhatsApp click to chat button for visitors. The free plugin covers both, with no unofficial gateway.
Get the plugin
Install the free plugin when it clears review, or join the launch note and get the five minute setup guide: https://matakupanlabs.com/relay/#get