WhatsApp Messenger

Blocks ::: block_whatsapp_messenger
Maintained by Mattan Dor
WhatsApp Messenger Block for Moodle is a Moodle block plugin that allows teachers to easily send WhatsApp messages to individual students or entire course cohorts directly from a course page. Using the WhatsApp Business API, it supports message templates with dynamic placeholders, multilingual content, real-time sending status, and full message logging - making course communication fast, reliable, and well-documented.

WhatsApp Messenger 1.3

Moodle 3.10, 3.11, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 5.0, 5.1
Released: منگل, 20 جنوری 2026, 2:04 PM

WhatsApp Messenger Block for Moodle

A Moodle block plugin that enables teachers to send WhatsApp messages to students enrolled in their courses using the WhatsApp Business API.

Features

  • Send WhatsApp messages to individual students or all enrolled students
  • Plugin-level configuration for WhatsApp Business API credentials
  • Support for WhatsApp templates with dynamic placeholders
  • Message logging for tracking sent messages
  • AJAX-based interface with real-time status updates
  • Uses students' phone numbers from their Moodle profile
  • Multi-language support (English and Hebrew)

Requirements

  • Moodle 3.9 or higher
  • WhatsApp Business API account
  • Access token and Phone Number ID from WhatsApp Business

Installation

  1. Copy the plugin folder to your Moodle installation: {moodle}/blocks/whatsapp_messenger/
  2. Log in as administrator and visit the notifications page to install
  3. Configure the plugin settings with your WhatsApp Business API credentials

Configuration

Go to Site administration > Plugins > Blocks > WhatsApp Messenger and configure:

  • Access Token: Your WhatsApp Business API access token
  • Phone Number ID: Your WhatsApp Business phone number ID
  • API Version: WhatsApp API version (default: v17.0)
  • Template Name: WhatsApp template name (optional)
  • Template Language: Template language code (e.g., en_US, he_IL)
  • Template Content: Paste your template for reference with available placeholders
  • Debug Mode: Enable detailed logging for troubleshooting

Template Placeholders

Available placeholders for templates: - {firstname} - Student first name - {lastname} - Student last name - {fullname} - Student full name - {email} - Student email - {coursename} - Course name - {courseid} - Course ID - {courseshortname} - Course short name - {message} - The actual message content entered by the teacher - {teachername} - Teacher full name - {sitename} - Site name - {date} - Current date (short format) - {datetime} - Current date and time - {time} - Current time

Usage

  1. Add the block to a course page
  2. Select a recipient (individual student or all students)
  3. Type your message
  4. Click "Send Message"

The plugin will send messages to students who have phone numbers in their profile (phone1 or phone2 field).

Permissions

  • block/whatsapp_messenger:addinstance - Add the block to a course
  • block/whatsapp_messenger:sendmessage - Send WhatsApp messages

Database

The plugin creates a log table block_whatsapp_messenger_log to track all sent messages.

Copyright

Copyright © 2025 CentricApp LTD

This plugin was developed by CentricApp LTD, a leading provider of educational technology solutions.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Support

For support and inquiries, please visit centricapp.co.il

WhatsApp Business Phone Setup / התקנת מספר טלפון ייעודי

עברית: אם אתם מעוניינים להתקין מספר טלפון ייעודי לשליחת הודעות WhatsApp, אנו יכולים לסייע לכם ברכישה, קונפיגורציה והתקנה של המערכת. ניתן לפנות אלינו במייל:

📧 support@centricapp.co.il

English: If you would like to set up a dedicated phone number for sending WhatsApp messages, we can assist you with purchasing, configuration, and installation of the system. Please contact us at:

📧 support@centricapp.co.il

Version information

Version build number
2026012000
Version release name
1.3
Maturity
مستحکم ورژن
MD5 Sum
436dbb87590d40881bd6033ae8b01469
Supported software
Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0, Moodle 5.1
  • Latest release for Moodle 3.10
  • Latest release for Moodle 3.11
  • Latest release for Moodle 4.0
  • Latest release for Moodle 4.1
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5
  • Latest release for Moodle 5.0
  • Latest release for Moodle 5.1

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit http://yoursite.com/admin to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.