WebHooks

General plugins (Local) ::: local_webhooks
Maintained by Valentin Popov
Adding WebHook features to the Moodle system.
Latest release:
604 sites
605 downloads
33 fans
Current versions available: 2

Moodle WebHook’s

GitHub Release Build Status Codacy Badge


The Webhooks feature allows applications to receive real-time notification of changes to certain data.

Using Webhooks, your application will be able to receive notifications of changes to selected topics and their fields. Because of this, you do not have to rely on continuous or even periodic requests to check for updates. Notifications about Webhooks updates are sent as POST requests to the callback URL you specified. Notifications can indicate the very fact of a field change or include a new value.

Features:

  • Use any number of services for notification;
  • Customizing each external service;
  • Interception of all events in the Moodle system;
  • Use a secret phrase to authenticate requests;
  • JSON - Format of outgoing data;

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Valentin Popov (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

ສະແດງຄຳເຫັນ
  • Valentin Popov
    ສຸກ, 2 ພ.ຈ. 2018, 7:10 ໂມງເຊົ້າ
    Hi, Ben Girard!
    Thank you for your comment. Fixed the problem you found.
    Download the new release, everything should work.
  • B G
    ສຸກ, 2 ພ.ຈ. 2018, 10:59 ໂມງເຊົ້າ
    Hi all! The new plugin upgraded just fine now, and the events are being saved! The issue I have now, is the callback URL is never reached. Should the callback URL be encoded or decoded? Are there any instructions to help troubleshoot what I might be missing in my config to have the events triggering the callback?
  • Valentin Popov
    ສຸກ, 2 ພ.ຈ. 2018, 7:46 ໂມງແລງ
    Every action of the plugin is written in a journal (Administration > Report > Log). You can see what the remote server answered on the logs page. If the response code is 200, then notifications are sent, problems upstream.
  • Elliot Fieldhouse-Allen
    ສຸກ, 30 ພ.ຈ. 2018, 1:27 ໂມງເຊົ້າ
    I'm trying to get this to integrate to our slack (Which is only used by staff members) to notify staff that events have occurred such as submissions and forum posts. Can you suggest a way to get this working?

    I need it to read off as text in a Slack Message. (Ideally)
  • Zuheb A
    ສຸກ, 22 ພ.ຈ. 2019, 8:42 ໂມງແລງ
    Hi

    I am new to moodle I'm trying to share quiz grades, marks and assignment grade marks along with quiz id, assignment id in webhook, is it possible using this plugin.


    my requirement:
    1. when quiz evaluated for user grade needs to be sent to webhook along with quizid, courseid,userid, and grade and marks assigned.
    2. when Assignment evaluated for user grade needs to be sent to webhook along with assignmentid, courseid,userid, and grade and marks assigned.

    if it is not possible how to customize this plugin.

    Thanks
  • Marcelo Schmitt
    ສຸກ, 31 ກ.ລ. 2020, 5:48 ໂມງເຊົ້າ
    Hi

    It is not possible to relate a course to a service, is it? The events of all courses will be sent to the other side? I am trying to use it with discord but each teacher has its own channel and its own course.

    Thank you.
  • Ben Girard
    ອັງຄານ, 18 ສ.ຫ. 2020, 10:26 ໂມງແລງ
    It looks like the latest version of this plugin is no longer triggering webhooks... I'm running Moodle 3.7.1 (supported by the plugin) but when updated webhooks are no longer sent. We restarted the entire Moodle server, and no luck.
  • Richard Pithouse
    ອັງຄານ, 16 ມ.ນ. 2021, 11:27 ໂມງເຊົ້າ
    is it possible to add the tokens as headers rather than in the request body?
  • Ben Girard
    ສຸກ, 1 ກ.ລ. 2022, 12:37 ໂມງແລງ
    does anyone know if this plugin works with 4.0?
  • Valentin Popov
    ອັງຄານ, 5 ກ.ລ. 2022, 1:11 ໂມງເຊົ້າ
    Hi, Ben Girard! I'll consider supporting a new version of Moodle in the near future.
  • Vitaly Potenko
    ຈັນ, 19 ກ.ຍ. 2022, 1:34 ໂມງເຊົ້າ
    Hi Valentin, what happens when sending a request with the hook has failed (server didn't respond or whatever)? Is there any retry mechanism in the plugin? Thanks!
  • Valentin Popov
    ຈັນ, 19 ກ.ຍ. 2022, 1:41 ໂມງເຊົ້າ
    Hi Vitaly! All server's response results are written to the events log. The plugin does not provide for repetition.
  • Giel van Kuijk
    ສຸກ, 5 ພ.ພ. 2023, 10:30 ໂມງແລງ
    Hi,
    For the use case I have I would like to get more user information then only an ID. preferably an e-mail address and their first and last name. Is that possible in any way?
  • Allie Wrin
    ເສົາ, 2 ທ.ວ. 2023, 2:40 ໂມງເຊົ້າ
    Hi Valentin, will you be releasing an updated version of this plugin for Moodle version 4.1.x?
  • Plankton Isyum
    ສຸກ, 8 ມ.ນ. 2024, 7:42 ໂມງເຊົ້າ
    Hi Valentin, will you be updating this to support Moodle 4.3? Thanks
1 2
Please login to post comments