samples
turbot/flowpipe-samples/notify-on-call-engineer-with-pagerduty
OverviewPipelines
0
Triggers
0
Variables
GitHub

Notify On-Call Engineer With PagerDuty

Allows anyone to see who is on-call for a particular escalation policy, send them an email, notify a Slack channel.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run notify_on_call_engineer_with_pagerduty.pipeline.notify_on_call_engineer_with_pagerduty \
--arg 'from=<string>' \
--arg 'slack_channel=<string>' \
--arg 'email_subject=<string>' \
--arg 'email_text=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = notify_on_call_engineer_with_pagerduty.pipeline.notify_on_call_engineer_with_pagerduty
args = {
from = <string>
slack_channel = <string>
email_subject = <string>
email_text = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
fromstringYesThe 'From' email address used to deliver the message. This address should be a verified sender in your Twilio SendGrid account.-
pagerduty_credstringYesName for PagerDuty credentials to use. If not provided, the default credentials will be used.default
slack_credstringYesName for Slack credentials to use. If not provided, the default credentials will be used.default
sendgrid_credstringYesName for SendGrid credentials to use. If not provided, the default credentials will be used.default
slack_messagestringYesThe formatted text of the message to be published.Notification to the on-call Engineers
slack_channelstringYesChannel, private group, or IM channel to send message to. Can be an encoded ID, or a name.-
email_subjectstringYesThe global or 'message level' subject of your email. This may be overridden by subject lines set in personalizations.-
email_textstringYesThe body of the email.-

Outputs

This pipeline has no outputs.