Automation Editor
Alert Mappings
4min
generating meaningful alert messages is tricky because api's generally produce error messages that are technical in nature, or messages that don't take into account the overall scope of what a particular automation is trying to accomplish the system provides alert mapping functionality as a mechanism to help generate meaningful alerts in emailed alert reports for information about emailed alert reports, see here automation alert reports docid\ dmdcae8uucaw4gxrfsqxy the system's alert mapping functionality provides a way to replace raw error messages with different text alert mappings are very flexible, in that they can be defined at three levels each trigger and action within an automation each automation in an account the entire system alert mappings are processed bottom up in the order above, such that mappings are performed first at the trigger/action level, then at the automation level, then at the system level regardless of which level they are defined, alert mappings are entered in the same manner alert mappings are evaluated top down, in order, and don't stop when a replacement is made each mapping criteria gets evaluated, in order each alert mapping consists of the matching criteria on the left side, and the replacement value on the right side click the plus icon at the upper left to enter a new mapping click the x icon to remove a mapping mappings can be re ordered by dragging and dropping them with the up/down arrows icon by default, the left side matching criteria is entered as a regular expression regular expressions provide a lot of power and functionality for matching text, but are complex and beyond the scope of this documentation to teach you can search for information about them on google a much easier way to define alert mapping criteria is to just use literal text matches, which can be entered on the left side by surrounding the text with single quotes if the criteria on the left side matches a generated alert message, the text on the right side will get substituted the right side text can contain {original} to have the original alert message inserted in its entirety the right side text can be left empty to suppress the alert if the alert is suppressed, the alert will not be included in the emailed alert report to define alert mappings for specified triggers/actions in an automation, right click on a trigger/action and choose the alert mappings option to define alert mappings are the automation level, choose the gear menu option here accounts with permission to access to the system's admin console can define system level alert mappings on this screen