Automatically fetches Azure resource and cost data via n8n to generate daily reports on total spending and top expensive resources.
Verified 2026-07-07
Automatically connects to an Azure subscription using OAuth2 Service Principal authentication to retrieve all cloud resources. It queries the Resource Graph API for resource details and the Cost Management API for spending data, then merges these datasets. The agent generates formatted reports including total spending, top expensive resources, and cost breakdowns by type.
n8n : Workflow orchestration and automation platform
Code : Data processing and merging resources with costs
Azure Resource Graph API : Querying Azure subscription resources
Cost Management API : Fetching cost and usage data
This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Get in touchBuilt for Ops-IT teams who need one more recurring task off a human's plate.
Finance teams can run the same extraction-and-file pattern on their own paperwork.
ops and IT teams and finance and accounting teams, or anyone doing finance & accounting work who wants this handled automatically rather than manually.
An afternoon: plan for about an afternoon to get it running end to end.