How to Connect ERPNext to Onbbits

Step 1: Install the Onbbits Integration App

  1. Open your terminal and navigate to your bench directory.
  2. Run the command: bench get-app https://github.com/onbbits-dev/onbbits_integration –branch develop
  3. Install it: bench –site your-site-name install-app onbbits_integration

Step 2: Add Your API Key in ERPNext

  1. In your Onbbits account, copy your API Key.
  2. In Frappe or ERPNext, go to OnBBits Integration → OnBBits WA Settings.
  3. Paste your API Key into the field.
  4. Click Save.

Step 3: Sync Your WhatsApp Templates

  1. Go to OnBBits Templates.
  2. Click Sync Templates.
  3. In the Select App field, choose which connected app to sync templates from.
  4. Click Sync.

Step 4: Create a Template Trigger

  1. Go to OnBBits Template Trigger and click New.
  2. Select the App Name to send from.
  3. Choose a Reference Doctype — this is the ERPNext document type that will trigger the message, such as Lead, Sales Order, or Issue.
  4. Choose an Event: Insert, Submit, Update, or Cancel.
  5. Set Message Sent To by selecting the field on that document that holds the customer’s phone number. If no suitable field exists yet, click Auto Create “Message Sent To” Field to add one.
  6. Select the WhatsApp Template to send.
  7. Fill in the Template Parameters table (see below).
  8. Click Save.

Mapping Template Parameters

Related Articles

Pabbly Integration

Still need help?

Our support team is ready to assist you.

ONBBITS Help Doc v1.0