Skip to main content

WhatsApp Integration

Set up WhatsApp alerts with Twilio for automated reminders, invoices, and receipts to keep students informed and engaged.

D
Written by Dhwani S
Updated over a month ago

WhatsApp communication alerts provide an effective way to send template-based reminders to your students for upcoming classes and invoice payments.

Integrate with WhatsApp (Via Twilio)

Step 1: Register on Twilio and buy a number

  • Head over to https://www.twilio.com/ to create an account.

  • In your Twilio account, on the left menu bar navigate to Develop > Phone Numbers > Buy a Number.

  • Select the Country as ( + 1 ) United States - US. Select a number of your choice and click on Buy.

To use a number with WhatsApp, you need to register it as a WhatsApp sender and the outbound message must follow a message template. Learn more about templates.



To register as a WhatsApp sender, Navigate to Develop > Messaging > Senders > WhatsApp Senders and follow the steps on the screen.

Note: It may take up to 10 mins for the request to be approved



To create message templates, navigate to Develop > Messaging > Senders > Content template builder.

Note: WhatsApp will approve or reject template submissions in 48 hours or less.

Estimate your Whatsapp costs with an easy-to-use price calculator here.



Step 2: Get in touch with your Classcard support team member.

Once your WhatsApp template messages are approved, send the API keys to your Classcard Support Team contact.

  • The selected WhatsApp number

  • Templates registered

  • Account SID

  • Auth token

  • Template SID

  • Messaging Service ID

To retrieve your Account SID and Auth token, navigate to Account > Keys & Credentials > API keys & tokens.

  • Template SID -- can be found under Develop > Messaging > Content Template Builder.

  • Messaging Service ID -- can be found under Develop > Messaging > Services.


Types of WhatsApp Alerts You Can Send

Class cancellation

Example template

Template

Sample WhatsApp Message

Hi {{ 1 }} 👋 Just a quick update — your upcoming {{2}} session on {{3}} at {{4}} has been cancelled. If you have any questions, feel free to reach out. – Acme Yoga Studio 📞 +919756345903 📧 [email protected]

Hi Sammie 👋 Just a quick update — your upcoming English - 60min session on Mon, Jun 02, 2025 at 03:30pm has been cancelled. If you have any questions, feel free to reach out. – Acme Yoga Studio 📞 +919756345903 📧 [email protected]

Variables

No.

Value

{{1}}

Student first name

{{2}}

Class title

{{3}}

Class date

{{4}}

Class start time

Welcome message

Example template

Template

Sample WhatsApp Message

Hi {{ 1 }}, welcome to ABC Academy! 🎉 We’re thrilled to have you on board. Get ready to learn, grow, and have a great time with us! If you have any questions, feel free to reach out anytime. – Team ABC 📞 +919876543210 📧 [email protected]

Hi Riya, welcome to ABC Academy! 🎉 We’re thrilled to have you on board. Get ready to learn, grow, and have a great time with us! If you have any questions, feel free to reach out anytime. – Team ABC 📞 +919876543210 📧 [email protected]


Variables

No.

Value

{{1}}

Student first name

Session completion reminder

Example template

Template

Sample WhatsApp Message

Hi {{ 1 }} 👋Just a friendly reminder – you have {{2}} session(s) left of {{3}}. To continue without interruption, you can renew your sessions or reach out to us at 📞 +919756345903 or 📧 [email protected] Thanks! – Acme Yoga Studio

Hi Sammie 👋 Just a friendly reminder – you have 2 session(s) left of Monthly Math Pack. To continue without interruption, you can renew your sessions or reach out to us at 📞 +919756345903 or 📧 [email protected] Thanks! – Acme Yoga Studio


Variables

No.

Value

{{1}}

Student first name

{{2}}

Remaining session count

{{3}}

Subject or Package name


When a student is marked "Absent"

Attendance Marked: Absent

Template

Sample WhatsApp Message

Hi {{ 1 }}, 👋Just a quick note to let you know you’ve been marked absent for {{2}} at {{3}} on {{4}}.– Acme Yoga Studio 📞 +919756345903 📧 [email protected]

Hi Sammie, 👋Just a quick note to let you know you’ve been marked absent for Dance – Beginners at 3:30PM on Jun 01, 2025.Acme Yoga Studio 📞 +919756345903 📧 [email protected]


Attendance Marked: Absent (Billable)

Template

Sample WhatsApp Message

Hi {{ 1 }}, 👋You’ve been marked absent for {{2}} at {{3}} on {{4}}. As per policy, this session will count towards your package.– Acme Yoga Studio 📞 +919756345903 📧 [email protected]

Hi Sammie, 👋You’ve been marked absent for Dance – Beginners at 3:30PM on Jun 01, 2025. As per policy, this session will count towards your package.– Acme Yoga Studio 📞 +919756345903 📧 [email protected]


Attendance Marked: Absent (Makeup Granted)

Template

Sample WhatsApp Message

Hi {{ 1 }}, 👋Just a quick note to let you know you’ve been marked absent for {{2}} at {{3}} on {{4}}. A makeup session has been added to your account and can be scheduled at your convenience.– Acme Yoga Studio 📞 +919756345903 📧 [email protected]

Hi Sammie, 👋Just a quick note to let you know you’ve been marked absent for Dance – Beginners at 3:30PM on Jun 01, 2025. A makeup session has been added to your account and can be scheduled at your convenience.– Acme Yoga Studio 📞 +919756345903 📧 [email protected]


Variables

No.

Value

{{1}}

Student first name

{{2}}

Class title

{{3}}

Class start time

{{4}}

Class date

Upcoming session reminder

Example template

Template

Sample WhatsApp Message

Hello {{ 1 }}, Just a reminder for your upcoming {{2}} session on {{3}} at {{4}}. Need to reschedule? Please WhatsApp us with 24 hours notice to avoid any late fees on 0562267099 – Team XXX

Hello Aisha, Just a reminder for your upcoming Yoga session on 21 June at 5:00 PM. Need to reschedule? Please WhatsApp us with 24 hours notice to avoid any late fees on 0562267099 – Team XXX


Variables

No.

Value

{{1}}

Student Name

{{2}}

Class Title

{{3}}

Date

{{4}}

Time

Invoice issued

Example template

Template

Sample WhatsApp Message

Hello, The Invoice {{1}} for {{2}} has been issued for {{3}}. View invoice: {{4}} – Team XXX

Hello, The Invoice INV-1023 for AED 1,500 has been issued for John Doe. View invoice: [link] – Team XXX


Variables

No.

Value

{{1}}

Invoice Number

{{2}}

Invoice Amount

{{3}}

Client Name

{{4}}

Invoice Link (payment link included if there is a gateway added)

Student enrollment

Example template

Template

Sample WhatsApp Message

Hello {{ 1 }}, Your booking for {{2}} has been confirmed for {{3}} at {{4}}. Thank you. – Team XXX

Hello Aisha, Your booking for Beginner Guitar Class has been confirmed for 22 June at 4:00 PM. Thank you. – Team XXX


Variables

No.

Value

{{1}}

Student Name

{{2}}

Class title

{{3}}

Date

{{4}}

Time

Payment reminder

Example template

Template

Sample WhatsApp Message

Payment for Invoice {{1}} is due on {{2}}. Please click on the link to make the payment: {{3}}. Thank you. – Team XXX

Payment for Invoice INV-2048 is due on 25 June. Please click on the link to make the payment: [link]. Thank you. – Team XXX


Variables

No.

Value

{{1}}

Invoice number

{{2}}

Invoice Due Date

{{3}}

Payment Link


Receipt issued

Example template

Template

Sample WhatsApp Message

Payment of {{1}} is recorded for Invoice {{2}} on {{3}}. View receipt: {{4}}. Please WhatsApp us at (+1) 999 888 7777 for any queries. Thank you. – Team XXX

Payment of AED 1,500 is recorded for Invoice INV-2048 on 19 June. View receipt: [link]. Please WhatsApp us at (+1) 999 888 7777 for any queries. Thank you. – Team XXX

Variables

No.

Value

{{1}}

Paid amount

{{2}}

Invoice number

{{3}}

Payment date

{{4}}

Payment Link


Payment reminder for installments

Example template

Template

Sample WhatsApp Message

Payment for Invoice {{1}} is due on {{2}}. Please click on the link to make the payment: {{3}}. Thank you. – Team XXX

Payment for Invoice INST-3051 is due on 30 June. Please click on the link to make the payment: [link]. Thank you. – Team XXX


Variables

No.

Value

{{1}}

Invoice number

{{2}}

Installment Due date

{{3}}

Payment link


Support Email - Contact us at [email protected].


Did this answer your question?