-
Notifications
You must be signed in to change notification settings - Fork 12
Webhook
Eric Feron edited this page Oct 19, 2023
·
8 revisions
- Go to menu Setup>Webhooks configuration
(if needed, grant your profile (even super-admin) to access the plugin's configuration (menu Administration->Profiles->yourProfile->Webhooks Config)) - Create an entry
- Select the operation type : POST or PUT
- Enter the URL where to execute the operation
- Select the authentication type : Basic Authentication or Encoded Basic Authentication
- Enter the authentication details : user and secret
- Save
- Go to menu Setup>Notifications
- Enable notifications via webhook
- Go to menu Setup>Notifications>Notification templates
- Add a new template
- Select a type (StatecheckRule, User, Ticket, ...)
- Save
- Go to menu Setup>Notifications>Notification templates>Template translations
- Add a new translation
- Fill in the translation, with tags if needed, in the "Email text body"
- In the "Email HTML body", fill in {}, to avoid warning messages in php log.
- This translation will be sent as HTTP body
- Go to menu Setup>Notifications>Notifications
- Add a new notification
- Name it
- Set "Active" to "Yes"
- Set "Allow response" to "No"
- Select a type (StatecheckRule, User, Ticket, ...)
- Select the triggering event
- Go to menu Setup>Notifications>Templates
- Add a template
- Choose the mode : "Webhook"
- Select the notification template
- Go to menu Setup>Notifications>Recipients
- Assign recipients
- Save