% for item in notifier['config_options']:
% if item['input_type'] == 'help':
% elif item['input_type'] == 'text' or item['input_type'] == 'password':
% elif item['input_type'] == 'number':
% elif item['input_type'] == 'button':
% elif item['input_type'] == 'checkbox':
% elif item['input_type'] == 'select':
% elif item['input_type'] == 'selectize':
% endif
% endfor
Notification Triggers
Select items that will trigger a notification for this ${notifier['agent_label']} notification agent.
% for action in available_notification_actions:
% endfor
Notification Conditions
Add custom conditions to only allow certain notifications . By default, all notifications will be sent if there are no conditions.
Click here for a description of all the parameters.
Notification Text
% if notifier['agent_name'] == 'scripts':
Set the custom arguments passed to the script for each type of notification.
% elif notifier['agent_name'] == 'webhook':
Set the custom JSON data sent to the webhook for each type of notification.
% else:
Set the custom formatted text for each type of notification.
% endif
Click here for a list of available parameters which can be used.
You can also add text modifiers to change the case or slice parameters with a list of items.
Click here to view usage information.
You can also add tags to exclude certain text depending on the media type.
Click here to view usage information.
% if notifier['agent_name'] == 'scripts':
% for action in available_notification_actions:
${action['label']}
% endfor
% elif notifier['agent_name'] == 'webhook':
% for action in available_notification_actions:
${action['label']}
% endfor
% else:
% for action in available_notification_actions:
${action['label']}
% endfor
% endif
Test Notifications
Test if ${notifier['agent_label']} notifications are working. Check the logs for troubleshooting.
Note: Test with the real values since parameters will not be substituted.
(i.e. Use "Game of Thrones" not {title} )
% if notifier['agent_name'] == 'scripts':
% elif notifier['agent_name'] == 'webhook':
% else:
% endif