Moodle plugins directory: Event Trigger
Event Trigger
Event Trigger
The Event Trigger allows Moodle Events to be monitored and a workflow to be triggered when that event occurs.
One of the main use cases of this plugin is to allow Moodle events to trigger actions in external systems.
Each workflow is made up of a series of steps. Steps can be things like:
- Using event data to lookup user and course information
- Filtering data based on a set of conditions
- Performing an action like sending an email or Posting data to a HTTP endpoint or external API.
More configuration documentation can be found at the following link:
More Information on Moodle events can be found in the Moodle documentation at the following link:
Supported Moodle Versions
This plugin currently supports Moodle:
- 3.3 (PHP 7 is required)
- 3.4
- 3.5
Moodle Plugin Installation
The following sections outline how to install the Moodle plugin.
Command Line Installation
To install the plugin in Moodle via the command line: (assumes a Linux based system)
- Get the code from GitHub or the Moodle Plugin Directory.
- Copy or clone code into:
<moodledir>/admin/tool/trigger
- Run the upgrade:
sudo -u www-data php admin/cli/upgrade
Note: the user may be different to www-data on your system.
User Interface Installation
To install the plugin in Moodle via the Moodle User Interface:
- Log into your Moodle as an Administrator.
- Navigate to: Site administration > Plugins > Install Plugins
- Install plugin from Moodle Plugin directory or via zip upload.
Plugin Setup
Plugin setup and configuration documentation can be found at the following link:
Crafted by Catalyst IT
This plugin was developed by Catalyst IT:
Contributing and Support
Issues, and pull requests using github are welcome and encouraged!
https://github.com/catalyst/moodle-tool_trigger/issues
If you would like commercial support or would like to sponsor additional improvements to this plugin please contact us:
https://www.catalyst-au.net/contact-us
I would like to set up an event trigger on course completion - which appears easily done. The only problem I have is that I wish to trigger different actions for course completion on different courses. Is this possible with this plugin?
Regards
I want to send auto-generated email to the enrolled students on new activity uploaded to the particular course. My moodle version is 3.10. Any possibility to accommodate that ? Pls Guide. Txs
Can we use a Real user name, Real full course name, and real user email address when an email send o admin for example?
When will be new version release for Moodle 3.11?
Thanks
I'm trying to send users grade through HTTP post,
but in order to send them by HTTP post I have to add a token,
how to GET token through HTTP request and send it back as one of the parameter with the grades in POST HTTP request
Best
Hussein
Feel free to try that one out and see if it works better for your needs!