{"product_id":"track-github-actions-budget-alert-on-slack-daily","title":"Track GitHub Actions Budget \u0026 Alert on Slack Daily","description":"\u003ch3\u003eEfficiently Manage Your GitHub Actions Budget with Daily Slack Alerts\u003c\/h3\u003e\n\u003cp\u003eStay in control of your GitHub Actions expenses while maintaining seamless communication through Slack. This n8n workflow tracks your GitHub Actions usage, projects your monthly spending, and provides daily alerts to manage your budget effectively.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eInitiates on a daily schedule to stay up-to-date with the latest usage statistics.\u003c\/li\u003e\n  \u003cli\u003eReads configuration inputs like repository owner, a list of repositories, defined budget minutes, cost per minute, and Slack channel for communication.\u003c\/li\u003e\n  \u003cli\u003eExpands the repository list and calls on GitHub's REST API to gather recent workflow run data for each repository.\u003c\/li\u003e\n  \u003cli\u003eAggregates run counts and identifies failures by workflow name for comprehensive monitoring.\u003c\/li\u003e\n  \u003cli\u003eIntegrates with GitHub's billing API to fetch billing data at the organization level.\u003c\/li\u003e\n  \u003cli\u003eCalculates used minutes against the budget, billable minutes, cost estimates, and projects potential monthly usage.\u003c\/li\u003e\n  \u003cli\u003eCompares current usage with a predefined threshold and formats a summary message for Slack, detailing all relevant metrics and activities.\u003c\/li\u003e\n  \u003cli\u003eSends an urgent alert on Slack if usage surpasses the threshold; otherwise, posts a daily summary.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eFor automation engineers wanting proactive budget management of GitHub Actions in medium-to-large organizations.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators who need real-time updates on GitHub workflows without manually checking dashboard analytics.\u003c\/li\u003e\n  \u003cli\u003eTeams looking to ensure efficient allocation of funds towards GitHub Actions by receiving timely Slack notifications about usage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eTechnologies utilized: GitHub REST API, GitHub Billing API, Slack API\u003c\/li\u003e\n  \u003cli\u003en8n Nodes used: IF, Set, Code, Slack, Sticky Note, HTTP Request\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eEnsure peace of mind and financial control by automating your GitHub Actions budget monitoring with this powerful workflow, seamlessly delivering insights into your Slack channel every day.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45722755301555,"sku":"N8N-16167","price":72.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/jp3Cy8f9TQvSRRwQA05V1_22c97461fc1a4563956989aef821c978.jpg?v=1784905856","url":"https:\/\/buyflowscripts.com\/products\/track-github-actions-budget-alert-on-slack-daily","provider":"N8N Commerce","version":"1.0","type":"link"}