Configure rule notifications

Last updated Apr 17, 2026 Network Flow (formerly Magic Network Monitoring) can notify you by email, webhook, or PagerDuty when a rule is triggered. When a rule detects a traffic anomaly, notifications alert your team so you can respond — or, if you use Magic Transit with auto-advertisement, Cloudflare can begin mitigating the attack automatically.

For more information on the notification platform, refer to Notifications documentation. You can also:

Notification configuration fields

Field Description
Notification name A label to identify this notification in your notifications list.
Description (optional) The description of the notification.
Webhooks One or more webhooks to deliver the notification to.
Notification email One or more email addresses to deliver the notification to.

Rule Auto-Advertisement notifications

Webhook, PagerDuty, and email notifications are sent following an auto-advertisement attempt for all prefixes inside the flagged rule.

You will receive the status of the advertisement for each prefix with the following available statuses:

  • Advertised: The prefix was successfully advertised.
  • Already Advertised: The prefix was advertised prior to the auto advertisement attempt.
  • Delayed: The prefix cannot currently be advertised but will attempt advertisement. After the prefix can be advertised, a new notification is sent with the updated status.
  • Locked: The prefix is locked and cannot be advertised.
  • Could not Advertise: Cloudflare was unable to advertise the prefix. This status can occur for multiple reasons, but usually occurs when you are not allowed to advertise a prefix.
  • Error: A general error occurred during prefix advertisement.

Configure rule notifications

To configure notifications for Network Flow rules:

  1. In the Cloudflare dashboard, go to the Notifications page.

Go to Notifications ↗

  1. Select Add.
  2. Select Magic Transit from the product drop-down menu.
  3. Find the appropriate Network Flow alert and select Select:
  4. Network Flow: Volumetric Attack - for static threshold and dynamic threshold notifications
  5. Network Flow: DDoS Attack - for sFlow DDoS attack notifications
  6. Fill in the notification configuration details.
  7. Select Save.

Was this helpful?

YesNo

On this page

Configure rule notifications - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/network-flow/rules/rule-notifications/#page","headline":"Configure rule notifications","description":"Configure notifications for Network Flow rule matches.","url":"https://developers.cloudflare.com/network-flow/rules/rule-notifications/","inLanguage":"en","image":"https://developers.cloudflare.com/network-flow/rules/rule-notifications/og.png?v=82c8b0621ebde799","dateModified":"2026-04-17","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Create sFlow DDoS attack detection rules. title: sFlow DDoS attack rule image: https://developers.cloudflare.com/network-flow/rules/s-flow-ddos-attack/og.png?v=035519884a687319


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/network-flow/llms.txt
Use this file to discover all available pages before exploring further.