Templates / Monitor GitHub Actions budget and send usage alerts to Slack

Monitor GitHub Actions budget and send usage alerts to Slack

Ready for 3.0

by Adriaan van Niekerk ✓ · 9 views · created 2026-06-07 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 11 nodes and runs on a schedule (every 23 hours). Along the way it connects Slack.

How it runs

Trigger: On a schedule (every 23 hours).

  1. Configuration (Edit Fields (Set)): sets 6 fields: repoOwner, monitorRepos, budgetMinutesPerMonth…
  2. Expand Repo List (Code): runs custom JavaScript code
  3. Fetch Recent Workflow Runs (HTTP Request): calls an HTTP API
  4. Aggregate Workflow Stats (Code): runs custom JavaScript code
  5. Fetch Org Billing Data (HTTP Request): calls an HTTP API
  6. Calculate Budget Burn Rate (Code): runs custom JavaScript code
  7. Format Usage Report (Code): runs custom JavaScript code
  8. Budget Exceeded Threshold? (If): checks a condition and branches into true / false
  9. Send Urgent Budget Warning (Slack): uses Slack
  10. Post Daily Summary to Slack (Slack): uses Slack

Services it uses

Slack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Quick Overview This workflow runs daily to track GitHub Actions usage across selected repositories, combines recent workflow-run stats with GitHub Actions billing data, calculates budget burn rate and projected spend, and posts a summary to Slack with an…

Excerpt from Adriaan van Niekerk's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.