Frappe

Cloud

Marketplace

Frappe WhatsApp

Frappe

Products

Insights

Frappe WhatsApp
Send WhatsApp Messages from your Frappe app. Without any 3rd party integration.

Supported versions

Version 16, Version 15, Version 14, Nightly

Categories

Free
Communication
Integrations
CRM Integration

E-Commerce

About

Frappe WhatsApp

Documentation

WhatsApp integration for Frappe/ERPNext. Use Meta's WhatsApp Cloud API directly without any third-party integration.

WhatsApp Video

YouTube

whatsapp

Note: If you're not using live credentials, follow step no 2 to add the number on Meta to which you are sending messages.

Features

  • Multi-Account Support - Manage multiple WhatsApp Business accounts

  • Two-way Messaging - Send and receive messages with full conversation tracking

  • Template Management - Create and sync WhatsApp templates with Meta

  • WhatsApp Notifications - Automated notifications triggered by DocType events

  • Bulk Messaging - Send campaigns to recipient lists with variable substitution

  • Webhook Support - Real-time message delivery and status updates

  • Media Support - Send and receive images, documents, videos, and audio files

  • ERPNext Integration - Native integration with Frappe/ERPNext DocTypes

Installation

Step 1: Get the app

bench get-app https://github.com/shridarpatil/frappe_whatsapp

Step 2: Install on your site

bench --site [sitename] install-app frappe_whatsapp

Quick Setup

1. Get WhatsApp Credentials

Visit Meta Developer Portal to set up your WhatsApp Business API.

2. Configure WhatsApp Account

Go to WhatsApp Account in Frappe and enter your credentials:

  • Account Name

  • Access Token

  • Phone Number ID

  • Business Account ID

  • App ID

  • Webhook Verify Token

WhatsApp Settings

3. Create Templates

Create WhatsApp templates that are approved by Meta:

Create Template

Core Features

WhatsApp Notifications

Automatically send WhatsApp messages based on DocType events.

Supported Triggers:

  • DocType Events: Before/After Insert, Validate, Save, Submit, Cancel, Delete

  • Scheduler Events: Hourly, Daily, Weekly, Monthly

  • Date-based: Days Before/After a specified date field

WhatsApp Notification

Features:

  • Map template parameters to DocType fields

  • Add conditions using Python expressions

  • Attach document print PDFs or custom files

  • Set DocType field values after sending (e.g., mark as notified)

  • Support for interactive buttons with dynamic URLs

Bulk WhatsApp Messages

Send WhatsApp messages to multiple recipients at once.

Features:

  • Import recipients from any DocType (Customer, Contact, etc.)

  • Create recipient lists for reuse

  • Variable substitution from recipient data

  • Background processing with progress tracking

  • Retry failed messages

  • Select specific WhatsApp account for sending

Recipient Types:

  1. Individual Recipients - Add recipients directly with their phone numbers

  2. Recipient List - Use a pre-configured WhatsApp Recipient List

Variable Types:

  1. Common - Same values for all recipients

  2. Unique - Different values per recipient (from recipient data)

Direct Messaging

Send messages without templates (within 24-hour window):

Direct Message

Custom Data Templates

Send templates using custom data instead of DocType fields:

doc.set("_data_list", [
    {"phone": "+1234567890", "name": "John", "order_id": "ORD-001"},
    {"phone": "+0987654321", "name": "Jane", "order_id": "ORD-002"}
])

Custom Data

Webhook Setup

Configure Webhook on Meta

  1. Go to your Meta Developer App

  2. Set Webhook URL: <your-domain>/api/method/frappe_whatsapp.utils.webhook.webhook

  3. Add Verify Token (same as in WhatsApp Account settings)

  4. Subscribe to webhook fields:

    • messages - to receive incoming messages

    • message_template_status_update - for template status updates

Incoming Messages

Messages received via webhook are automatically created as WhatsApp Message documents:

Incoming Message

Multi-Account Support

Manage multiple WhatsApp Business accounts for different use cases:

  • Set default accounts for incoming and outgoing messages

  • Select specific accounts when sending bulk messages

  • Route notifications through designated accounts

  • Auto-read receipts per account

Chat Integration

Install whatsapp_chat for a messenger-like chat interface.

Documentation

For detailed documentation, visit https://shridarpatil.github.io/frappe_whatsapp/

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

User Reviews

4.1

5 stars

71

%

4 stars

0

%

3 stars

14

%

2 stars

0

%

1 star

14

%

Really well done!
Thank you for the efforts. In case if you have any such initiatives, let me know I am happy to join hands with you!
Chinmay Bhat

10 months ago

Reply

How can I get a what's app credentials
Hi Iam new how can i get what's app credentials to setup this app in my instance
Osama Muhammed

3 years ago

Reply

FREE and Super useful!
I got to try and test on my WhatsApp and it worked perfectly....best of all - IT'S FREE! Awesome work Shridhar Patil !
Vanessa Barrameda

3 years ago

Reply

Not able to access WhatsApp setting page
I'm having difficulty accessing the WhatsApp settings page and I'm receiving an error message that says "Sorry! I could not find what you were looking for."
Max fu

3 years ago

Reply

Button with msg
is there any feature to add button in this app
Raghvendra Aditya

2 years ago

Reply

Whats app Image
I want to send image through whats app. Is it possible from this?
Shweta Bolaj

2 years ago

Reply

I'm not able to send direct message from WhatsApp Message page
I've used this app and it is working for me for doctype event notifications. But if I'm trying to send the message without using the template then it is not working for me. I'm doing the same steps what you're showing in the video. So, how can I send the message from WhatsApp Message page and how can I send a message to a group by using this app?
Shubho Banerjee

2 years ago

Reply

4.1

7 rating

Rate and share your experience

Text

Explore more apps