ENGINEERING

Real-Time Flaky-Test Alerts from a Datadog Monitor into ClickUp

Receives a Datadog monitor alert when CI flake rate spikes, enriches it with the offending tests, posts to Discord, and files an owner-assigned ClickUp quarantine task.

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDatadog flake-rate monitor alertDatadogDatadog
  • ActionQuery top contributing tests for the spikeDatadogDatadog
  • LogicSelect top offender not already quarantined
  • ActionPost flakiness alert to DiscordDiscordDiscord
  • ActionResolve owner from CODEOWNERSGitHubGitHub
  • OutputFile owner-assigned ClickUp quarantine taskClickUpClickUp

What it does

This workflow reacts the moment CI flakiness spikes. When a Datadog monitor on flaky-test rate trips, it pulls the specific tests driving the spike, posts a concise alert to the engineering Discord channel, and files an owner-assigned ClickUp task to quarantine and investigate the worst contributor.

When to use it

Use it when you want fast, channel-native notification of flakiness surges rather than waiting for a weekly report, while still capturing the work as a tracked task. Good for teams that live in Discord and already monitor CI metrics in Datadog.

How it works

  1. 1A Datadog monitor alert arrives via webhook when the flake-rate threshold is breached.
  2. 2The flow queries Datadog for the tests contributing most to the spike during the alert window.
  3. 3A filter selects the top offender and confirms it is not already quarantined.
  4. 4It posts an alert to the engineering Discord channel with the spike context and offending tests.
  5. 5It resolves the owner from CODEOWNERS and files an owner-assigned ClickUp quarantine task for the top offender.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect DatadogMetrics, traces, log search.
  2. 2
    Connect DiscordCommunity channels + voice + bots.
  3. 3
    Connect GitHubRepos, issues, pull requests, actions.
  4. 4
    Connect ClickUpDocs + tasks + chats in one workspace.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.