AutomationMart
Home/Browse/Monitor GitHub Actions budget and send usage alerts to Slack
n8n

Monitor GitHub Actions budget and send usage alerts to Slack

n8nn8n11 modulesv1.0
codehttpRequestifscheduleTriggersetslack

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 additional alert when usage exceeds a defined threshold. How it works 1. Runs on a daily schedule. 2. Reads configuration values (repo owner, repo list, budget minutes, cost per minute, and Slack channel) and expands the comma-separated r

At a glance

Monitor GitHub Actions budget and send usage alerts to Slack is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects code, httpRequest, if, scheduleTrigger. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
code, httpRequest, if, scheduleTrigger, set, slack
Modules
11
Price
Free
Version
v1.0
Monitor GitHub Actions budget and send usage alerts to Slack workflow diagram

About this workflow

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 additional alert when usage exceeds a defined threshold. How it works 1. Runs on a daily schedule. 2. Reads configuration values (repo owner, repo list, budget minutes, cost per minute, and Slack channel) and expands the comma-separated repo list into individual repositories. 3. Calls the GitHub REST API for each repository to fetch recent GitHub Actions workflow runs and aggregates run counts and failures by workflow name. 4. Fetches organization-level GitHub Actions billing data from the GitHub billing API. 5. Calculates minutes used vs. budget, billable minutes, estimated cost, projected full-month usage, and whether the alert threshold is exceeded. 6. Formats a Slack message containing the usage/budget metrics and a breakdown of recent workflow activity. 7. Posts an urgent Slack warning if the threshold is exceeded; otherwise it posts the daily summary to Slack. Setup 1. Add GitHub credentials (OAuth2 or a PAT) with access to the target repos and permission to read Actions billing (typically admin:org read, plus repo as needed). 2. Add a Slack credential with permission to post messages (chat:write) and set the target channel in the configuration. 3. Update the configuration values for repo owner, repositories to monitor, monthly budget minutes, alert threshold percent, and cost per minute. 4. If you monitor a personal account instead of an organization, change the billing endpoint to /users/{owner}/settings/billing/actions in the GitHub billing request.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Adaptive RAG strategy with query classification & retrieval (Gemini & Qdrant)

This n8n workflow implements a version of the Adaptive Retrieval-Augmented Generation (RAG) framework. It recognizes that the best way to retrieve information often depends on the type of question asked. Instead of a one-size-fits-all approach, this workflow adapts its strategy based on the user's query intent. 🌟 How it Works 1. Receive Query: Takes a user query as input (along with context like a chat session ID and Vector Store collection ID if used as sub-workflow). 2. Classify Query: First,

Free

Create product satisfaction surveys with Telegram, Google Sheets and AI

This n8n template uses a Telegram chatbot to conduct a Product Satisfaction Survey and fetches questions and stores answers in a Google sheet. It augments an AI Agent to ask follow-up questions to engage the user and uncover more insights in their responses. This template is intended to demonstrate how you'd realistically approach a workflow where there is structured conversation (static questions) but you still want to include an free-form element (follow-up questions) which can only be accompl

Free

Angie, personal AI assistant with Telegram voice and text

How it works: This project creates a personal AI assistant named Angie that operates through Telegram. Angie can summarize daily emails, look up calendar entries, remind users of upcoming tasks, and retrieve contact information. The assistant can interact with users via both voice and text inputs. Step-by-step: Telegram Trigger: The workflow starts with a Telegram trigger that listens for incoming message events. The system determines if the incoming message is voice or text. If voic

Free

Automate Marker.io issues to Zendesk support tickets with full technical context

Automatically create Zendesk tickets with full technical context when your team receives new Marker.io issues 🎯 What this template does This workflow creates a seamless bridge between Marker.io and Zendesk, your customer support platform. Every issue submitted through Marker.io's widget automatically becomes a trackable ticket in Zendesk, complete with technical details and visual context. Centralizing customer issues in Zendesk helps your support agents continue the conversation right where the

Free

Reliable Reddit subreddit search with OAuth2 API authentication

Since the Get Many Subreddit node often blocks requests because Reddit requires proper authentication headers, this workflow provides a reliable alternative. It uses the Reddit OAuth2 API through the HTTP Request node, processes the results, and outputs cleaned subreddit data. If you are using Get Many subreddit node and you are getting this error: n8n You've been blocked by network security.To continue, log in to your Reddit account or use your developer token Usecase: This is especially useful

Free

Qualify real estate leads automatically with OpenAI, Gmail & Airtable CRM

How It Works 1. This AI Agent automatically qualifies property buyer leads from form submissions. 2. Form Submission Trigger 3. When a user submits their details via a property inquiry form, the workflow is triggered. 4. AI Lead Classification 5. The buyer's input (budget, location, timeline, etc.) is analyzed by OpenAI to extract structured data and generate a lead score (0–100). 6. Lead Qualification Logic 7. Leads with a score of 70 or above are marked as qualified, the rest are ignored or

Free

Clone and change your voice 🤖🎙️with Elevenlabs and Telegram

This workflow creates a voice AI assistant accessible via Telegram that leverages ElevenLabs powerful voice synthesis technology. Users can either clone their own voice or transform their voice using pre-existing voice models, all through simple voice messages sent to a Telegram bot. ONLY FOR STARTER, CREATOR, PRO PLAN This workflow allows users to: 1. Clone their voice by sending a voice message to a Telegram bot (creates a new voice pro

Free

Segment PDFs by table of contents with Gemini AI and Chunkr.ai

Intelligently Segment PDFs by Table of Contents This workflow empowers you to automatically process PDF documents, intelligently identify or generate a hierarchical Table of Contents (ToC), and then segment the entire document's content based on these ToC headings. It effectively breaks down a large PDF into its constituent sections, each paired with its corresponding heading and hierarchical level. Why It's Useful Unlock the true structure of your PDFs for granular access and advanced processin

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free