capabilities.work

Attach Notification Channel To Policy

A 2-step recipe with New Relic. We can help you get access.

Recipe · 2 steps

Attach Notification Channel To Policy

Create a channel and associate it with an alert policy.

  1. Create the notification channel of the requested type, returning the generated channel id used for the policy association.
  2. Associate the newly created channel with the target alert policy so the policy routes its notifications to the channel.
What you'll need to have ready
  • channelName: The name of the new notification channel.
  • channelType: The channel type (e.g. email, slack, webhook, pagerduty).
  • policyId: The id of the alert policy to associate the channel with.
For your developer

Arazzo workflow new-relic:attach-notification-channel-to-policy, 2 operations: postAlertsChannels → putAlertsPolicyChannels. Specs on APIs.io.