An alert created by a Compass integration has a level of importance, which is defined as its priority level. An alert may have one of the five different types of priority levels: P1, P2, P3, P4, and P5 where P1 indicates the highest priority and P5 is the least. You can set the priority manually. This way, the alert created from this integration will always have that priority set.

To parse the priority from the alert payload, you can do either of the following: