Skip to content

Configure WhatsApp Business Integration

Configure WhatsApp Business Integration

Send notifications and communicate with students via WhatsApp Business API.

Time: 30–45 minutes for setup Module: WhatsApp Core Permissions: Chat Manager or Administrator


Prerequisites

  • WhatsApp Business API account
  • Verified business number
  • API credentials obtained
  • Access to Discuss or WhatsApp menu

Overview

The WhatsApp Integration enables:

  • Business messaging
  • Student notifications
  • Parent communication
  • Contact management
  • Message templates
  • Chat history tracking
  • Marketing opt-in management

Setup Workflow

Create WhatsApp Business Account
Get API Credentials
Configure in System
Verify Connection
Import Contacts
Start Messaging

Steps

1. Obtain WhatsApp Business API

From Meta Business:

  1. Go to Meta Business Suite
  2. Create Business Account
  3. Add WhatsApp Product
  4. Verify business
  5. Get API credentials:
    • Phone Number ID
    • Access Token
    • Business Account ID

2. Configure API Settings

In OpenEduCat:

  1. Navigate to Settings → WhatsApp
  2. Enter credentials:
FieldAction
Phone Number IDFrom Meta
Access TokenAPI token
Business IDAccount ID
  1. Click Test Connection
  2. Click Save

3. Import Contacts

Add WhatsApp contacts:

  1. Navigate to WhatsApp → Contacts
  2. Click Import or New
  3. For each contact:
FieldAction
NameContact name
PhoneWhatsApp number
CountryPhone country
EmailOptional email
Marketing OptConsent status
  1. Click Save

4. Create Message Templates

For template messages:

  1. Navigate to WhatsApp → Templates
  2. Click New
  3. Design template:
FieldAction
Template NameUnique name
CategoryMessage type
LanguageMessage language
BodyMessage content
  1. Submit for approval
  2. Wait for Meta approval

Template Categories:

  • Utility (transaction confirmations)
  • Marketing (promotional)
  • Authentication (OTP)

5. Send Individual Message

For one-on-one chat:

  1. Navigate to Discuss → Channels
  2. Find or create WhatsApp channel
  3. Select contact
  4. Compose message
  5. Send

6. Send Bulk Messages

For notifications:

  1. Navigate to WhatsApp → Send Messages

  2. Select recipients:

    • All contacts
    • By tag
    • By student group
  3. Choose template

  4. Personalize with variables

  5. Click Send

7. Manage Chat History

View conversations:

  1. Navigate to Discuss
  2. Filter WhatsApp channels
  3. View chat history
  4. Add notes for context

8. Handle Incoming Messages

When receiving messages:

  1. Notification appears
  2. Open channel
  3. View message
  4. Respond appropriately
  5. Update status

Field Reference

WhatsApp Contact (whatsapp.contact)

FieldTechnical NameTypeRequiredDescription
NamenameCharNoContact name
SequencesequenceIntegerNoOrder
ActiveactiveBooleanNoActive status
DatedateDatetimeNoCreated date
Profileimage_1920BinaryNoProfile picture
PhonephoneCharYesWhatsApp number
User Phonephone1CharNoAlternate
Countrycountry_idMany2oneNoCountry
EmailemailCharNoEmail address
Marketing Optmarketing_optBooleanNoMarketing consent

WhatsApp Note (whatsapp.note)

FieldTechnical NameTypeDescription
NamenameCharNote title
DatedateDatetimeCreated date
NotenoteTextNote content
Created Bycreated_byMany2oneAuthor
Contactwhatsapp_contact_idMany2oneRelated contact

WhatsApp Tag (whatsapp.tag)

FieldTechnical NameTypeRequiredDescription
NamenameCharYesTag name
Contactswhatsapp_contact_lineMany2manyNoTagged contacts
Business Accountwhatsapp_business_idMany2oneYesBusiness account

Discuss Channel Extension (discuss.channel)

FieldTechnical NameTypeDescription
Channel Typechannel_typeSelectionChannel type
WhatsApp Contactwhatsapp_contactMany2oneLinked contact

Message Templates

Fee Reminder

Template: fee_reminder
Category: Utility
Hello {{1}},
This is a reminder that your fee payment of {{2}} is due on {{3}}.
Please make the payment to avoid late fees.
Thank you,
{{4}}

Exam Notification

Template: exam_schedule
Category: Utility
Dear {{1}},
Your examination schedule:
Subject: {{2}}
Date: {{3}}
Time: {{4}}
Venue: {{5}}
All the best!

Attendance Alert

Template: attendance_alert
Category: Utility
Dear Parent,
This is to inform you that {{1}} was absent from class on {{2}}.
Please contact us if you have any concerns.
Regards,
{{3}}

Views Available

ViewFeatures
ListAll contacts
FormContact details
ChatConversation view
KanbanContact cards

WhatsApp Dashboard

Shows:

  • Total contacts
  • Messages sent
  • Active conversations
  • Delivery rates

Compliance Notes

  • Always obtain opt-in
  • Honor opt-out requests
  • Document consent
  • Regular consent refresh

Message Limits

  • 24-hour messaging window
  • Template required for new conversations
  • Rate limits apply
  • Quality rating matters

Troubleshooting

IssueCauseSolution
Connection failedWrong credentialsVerify API keys
Template rejectedPolicy violationRevise template
Message not deliveredInvalid numberVerify phone format
Rate limitedToo many messagesSlow down sending
No responseOutside windowUse template

Best Practices

  1. Get consent: Always obtain permission
  2. Use templates: For initiating conversations
  3. Timely responses: Reply within 24 hours
  4. Professional tone: Maintain formality
  5. Don’t spam: Respect message limits
  6. Track delivery: Monitor message status

Security Notes

RoleCapabilities
Chat ManagerFull messaging access
Chat AgentRespond to messages
AdministratorConfiguration

Data Privacy

  • Encrypt conversations
  • Secure API credentials
  • Audit message logs
  • Comply with regulations

Integration Features

Student Integration

  • Student contact sync
  • Fee reminders
  • Attendance alerts
  • Result notifications

Parent Integration

  • Parent contact sync
  • Child updates
  • Meeting reminders
  • Emergency alerts

Admission Integration

  • Inquiry follow-up
  • Application status
  • Document requests
  • Interview scheduling