WhatsApp

Requires installation of Frappe WhatsApp plugin.

Reference: Official Documentation

Signup with Meta

Follow the provided instructions from: https://developers.facebook.com/docs/whatsapp/cloud-api/get-started

Additional resource:

API Setup

Once you have signed up you should be able to get to the Meta App Dashboard.

Use the menu to navigate to WhatsApp > API Setup where you can get all the necessary credential info to integrate your instance.

In order to get full capabilities, you will have to provide information on your business and get verified. However, for development purposes, temporary access token will be provided that expire every 23 hours.

Field

Description

Token

Note: Screenshot is for Development mode. If you validated your business, you would use your system token.

URL

https://graph.facebook.com

Version


Example: v20.0

Phone ID


Business ID


App ID


WhatsApp Settings

In your platform instance, navigate to WhatsApp Settings and fill in the information provided from the Meta App Dashboard.

image

Outgoing Message

If you are using Development App Mode in Meta WhatsApp, ensure you send a test message to a recipient phone number and from that phone number, ensure you respond with any message.

WhatsApp will not allow messages to be sent to a recipient phone number unless they have responded in the last 24 hours per Meta API rules.

outgoing (1)

Incoming Message

  • Setup Webhook on Meta

    • Add token on Meta and update the same on WhatsApp Settings

    • Add Webhook URL on Meta <your instance>/api/method/frappe_whatsapp.utils.webhook.webhook

  • Add appropriate Webhook fields

    • messages to receive message

    • Add other required web fields



Discard
Save

On this page

Review Changes ← Back to Content
Message Status Space Raised By Last update on