Templates / Detect AWS Orphaned Resources & Send Cost Reports to Slack, Email, and Sheets

Detect AWS Orphaned Resources & Send Cost Reports to Slack, Email, and Sheets

Ready for 3.0

by Chad M. Crowell · 315 views · created 2025-12-08 · 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 20 nodes and runs on a schedule (cron 0 8 * * 1). Along the way it connects Slack, Gmail, AWS Lambda and Google Sheets.

How it runs

Trigger: On a schedule (cron 0 8 * * 1).

  1. Initialize Config (Edit Fields (Set)): sets or maps fields
  2. Set Region Variables (Edit Fields (Set)): sets 2 fields: currentRegion, scanStartTime
  3. Scan unattached EBS Volumes (AWS Lambda): uses AWS Lambda
  4. Scan EBS Snapshots (AWS Lambda): uses AWS Lambda
  5. Scan Elastic IPs (AWS Lambda): uses AWS Lambda
  6. Process EBS Volumes (Code): runs custom JavaScript code
  7. Process Snapshots (Code): runs custom JavaScript code
  8. Process Elastic IPs (Code): runs custom JavaScript code
  9. Aggregate: combines items into one
  10. Calculate Summary Stats (Code): runs custom JavaScript code

…plus 9 more steps. See the full node list below.

Services it uses

SlackGmailAWS LambdaGoogle Sheets

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.

Rarely used nodes in this template: n8n-nodes-base.awsLambda

Nodes used (9)

From the author

How it works This workflow automatically scans AWS accounts for orphaned resources (unattached EBS volumes, old snapshots >90 days, unassociated Elastic IPs) that waste money. It calculates cost impact, validates compliance tags, and sends multi-channel…

Excerpt from Chad M. Crowell'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.