WordPress WhatsApp Plugin
Send WhatsApp Business messages from your WordPress site — contact form alerts, order confirmations, and customer follow-ups — using the Zaptilo WhatsApp API. Drop a single PHP helper into your theme or plugin and trigger sends from any WordPress hook. Designed for Indian SMBs, agencies, and WooCommerce stores.
Why Zaptilo for WordPress?
- Works with any WordPress site — no third-party SaaS subscription
- Pay-as-you-go pricing in INR — from ₹0.04/message at volume
- Compatible with Contact Form 7, Gravity Forms, Elementor Forms, WooCommerce
- India-based support, GST-compliant invoicing
- Use approved templates for marketing and transactional messages
Step 1: Add the Zaptilo helper function
Drop this into your active theme's functions.php or a custom plugin file:
<?php
// Add to your theme's functions.php or a custom plugin
function zaptilo_send_whatsapp($phone, $template, $values) {
$token = 'YOUR_ZAPTILO_API_TOKEN';
$body = [
'phone' => $phone,
'template' => [
'name' => $template,
'language' => ['code' => 'en'],
'components' => [[
'type' => 'body',
'parameters' => array_map(fn($v) => ['type' => 'text', 'text' => $v], $values),
]],
],
];
wp_remote_post('https://web.zaptilo.ai/api/send/template', [
'headers' => [
'Authorization' => 'Bearer ' . $token,
'Content-Type' => 'application/json',
],
'body' => wp_json_encode($body),
'timeout' => 10,
]);
}Step 2: Trigger from Contact Form 7
Send a WhatsApp confirmation when someone submits your contact form:
// Trigger on Contact Form 7 submission
add_action('wpcf7_mail_sent', function ($contact_form) {
$submission = WPCF7_Submission::get_instance();
if (!$submission) return;
$data = $submission->get_posted_data();
zaptilo_send_whatsapp(
'91' . $data['your-phone'],
'contact_received',
[$data['your-name']]
);
});Step 3: Trigger from WooCommerce
Send order confirmations on WooCommerce processing status:
// Send WhatsApp on WooCommerce order placed
add_action('woocommerce_order_status_processing', function ($order_id) {
$order = wc_get_order($order_id);
zaptilo_send_whatsapp(
'91' . $order->get_billing_phone(),
'order_confirmation',
[$order->get_billing_first_name(), $order->get_order_number()]
);
});For deeper WooCommerce coverage, see our WooCommerce WhatsApp guide.
Use cases for Indian WordPress sites
Lead form notifications
Auto-message leads from Contact Form 7 / Gravity Forms / Elementor.
WooCommerce orders
Order, dispatch, COD-confirm, and delivery alerts.
Booking reminders
Service appointment, salon, clinic, fitness studio bookings.
EdTech enrolments
Course enrolment confirmations from LearnDash/Tutor LMS.
Real estate enquiries
Auto-confirm property visit requests via WhatsApp.
Membership renewals
Send renewal reminders before plan expiry.
Frequently asked questions
How do I send WhatsApp messages from WordPress?
Drop a small wp_remote_post helper into your theme's functions.php (or a custom plugin) that POSTs to https://web.zaptilo.ai/api/send/template with your Bearer token. Trigger it from any WordPress hook.
Does this work with Contact Form 7, Gravity Forms, and Elementor Forms?
Yes. Hook into wpcf7_mail_sent (Contact Form 7), gform_after_submission (Gravity Forms), or elementor_pro/forms/new_record (Elementor Forms) and call the helper with the submitted data.
Is there a Zaptilo WordPress plugin on the WP repository?
The integration is currently a code helper rather than a marketplace plugin. You can wrap it in your own private plugin or drop it into functions.php — both approaches work and avoid plugin-marketplace dependencies.
What is the cost of using Zaptilo with WordPress for India?
Zaptilo charges from ₹0.04 per message at volume, billed in INR with GST invoice. There is no monthly subscription, no per-form fee, and no setup fee — making it the most cost-effective WhatsApp integration for Indian WordPress sites.
Add WhatsApp to your WordPress site
Free signup. INR pricing. GST invoice. India-based support.
Get Started FreeSee also: WooCommerce · Shopify · Zapier