1. Knowledge Base
  2. Analytics, Reporting & Alerts

How do Playbook Alerts work?

Playbook alerts allows you to programmatically respond to changes in positive intent or outcome rates by source or date.

To access Playbook Alerts, browser over to "Playbooks" and then click the "Alerts" button on the playbook you would like to set an alert for.

 

Once inside, you can create a new alert by clicking on the "New Alert" button.

 

 

An alert has the following configurable options:

  • When (Monitor Type) - This is either Positive Intent Rate or Outcome Rate
  • On (Alert Type) -  This is either Date or Source
  • Comparison - Is Greater Than or Is Less Than
  • Metric Alert Threshold - Numeric percentage metric for the alert threshold
  • Webhook URL - The publicly accessible webhook URL to receive the JSON payload with alert details.

 

Webhook Payload Information - If an alert is active and gets triggered Mav will send a JSON payload with details on the alert, metric and playbook. Here is an example of that payload:

 

{

alert: {

monitor_type: PositiveIntentRate

alert_type:Date,

alert_metric: 5,

apert_metric_comparison: islessthan,

note:  OutreachPlaybookAlert-PositiveIntentRateonDateislessthan5%,

datetime: 2023-06-02T10:41:13.704-07:00

},

metric: {

metric_type: Date,

date: 2023-06-02,

source: source_a,

sub_source: subsource_b,

leads: 1,

wins: 0,

win_percentage: 0

postive_intents:0,

positive_intent_percentage: 0,

win_to_positive_intent_percentage: 0

},

playbook: {

id: pbk_wtBPCUDFJDppvD,

name: Outreach

}

}