Frappe Whatsapp Evo

Whatsapp Evolution API integration for Frappe/ERPNext v16

Install Frappe Whatsapp Evo

bench get-app https://github.com/Cecypo-Tech/Frappe-WhatsApp-Evo

Add the Frappe Gems badge to your README

Maintain Frappe Whatsapp Evo? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=Cecypo-Tech%2FFrappe-WhatsApp-Evo)](https://frappegems.com/gems/apps/Cecypo-Tech/Frappe-WhatsApp-Evo)

About Frappe Whatsapp Evo

Frappe Whatsapp Evo

Simple Evolution API integration for Frappe/ERPNext v16.

Requirements

You must have a running instance of the Evolution API to use this integration.

[!WARNING] Using the Evolution API carries a high risk of WhatsApp account suspension or permanent bans. Because it is an unofficial integration that reverse-engineers WhatsApp Web, it violates WhatsApp's Terms of Service. Bans often happen without prior warning, especially during routine Meta protocol updates.

Features

  • Store Evolution API base URL, instance name, and API key in a single settings DocType.
  • Test the configured instance using Evolution API's connection state endpoint.
  • Send WhatsApp text messages through message/sendText/{instance}.
  • Send media messages through message/sendMedia/{instance}.
  • Register a Frappe webhook URL on the Evolution API instance.
  • Log incoming and outgoing payloads in WhatsApp Evo Message.

Screenshots

Evolution API Settings

Send WhatsApp Dialog

Installation

cd /home/frappeuser/bench16
bench get-app /home/frappeuser/bench16/apps/frappe_whatsapp_evo
bench --site your-site install-app frappe_whatsapp_evo
bench --site your-site migrate

If the app is already present in apps.txt, install it directly:

bench --site your-site install-app frappe_whatsapp_evo
bench --site your-site migrate

Setup

  1. Open Evolution API Settings.
  2. Enter the Evolution API base URL, instance name, and API key.
  3. Save, then click Test Connection.
  4. Click Configure Webhook only if this Frappe app should own the Evolution API webhook for the instance.

The webhook endpoint is:

/api/method/frappe_whatsapp_evo.api.webhook

The settings form generates a secret token and appends it to the webhook URL configured on Evolution API.

If the Evolution API instance already sends webhooks to another system, do not overwrite it unless that is intended. Use the existing system to forward events to Frappe, or place a small webhook fan-out/proxy in front of both systems.

API

Send a text message:

frappe.call(
    "frappe_whatsapp_evo.api.send_text",
    to="254700000000",
    message="Hello from Frappe",
)

Send a media message:

frappe.call(
    "frappe_whatsapp_evo.api.send_media",
    to="254700000000",
    media="https://example.com/invoice.pdf",
    mediatype="document",
    mimetype="application/pdf",
    filename="invoice.pdf",
    caption="Invoice attached",
)

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

License

MIT

Related Integrations apps for Frappe & ERPNext

  • Insights — Open Source Business Intelligence Tool
  • Raven — Simple, open source team messaging platform
  • Frappe Whatsapp — WhatsApp cloud integration for frappe
  • Frappe Assistant Core — Infrastructure that connects LLMs to ERPNext. Frappe Assistant Core works with the Model Context Protocol (MCP) to expose ERPNext functionality to any compatible Language Model
  • Biometric Attendance Sync Tool — A simple tool for syncing Biometric Attendance data with your ERPNext server
  • Frappe React Sdk — React hooks for Frappe
  • Frappe Js Sdk — TypeScript/JavaScript library for Frappe REST API
  • Mcp — Frappe MCP allows Frappe apps to function as MCP servers