Templates / Schedule AWS ECS services for office hours with a self-service form and Teams alerts

Schedule AWS ECS services for office hours with a self-service form and Teams alerts

Ready for 3.0

by Sukhman ✓ · 1 views · created 2026-10-06 · 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 55 nodes and runs on a schedule (cron 0 20 * * *) (plus 3 other triggers). It uses only n8n's built-in nodes.

How it runs

Trigger: On a schedule (cron 0 20 * * *) (plus 3 other triggers).

  1. Set Mode to Stop (Edit Fields (Set)): sets 1 field: mode
  2. Set Mode to Start (Edit Fields (Set)): sets 1 field: mode
  3. Set Mode to Restart (Edit Fields (Set)): sets 1 field: mode
  4. Route by AWS Account (Switch): routes items into 2 branches
  5. Set Config Parameters (Edit Fields (Set)): sets 11 fields: projects, scheduleTagKey, scheduleTagValue…
  6. Handle ECS for Account-A (HTTP Request): calls an HTTP API (POST)
  7. Handle ECS for Account-B (HTTP Request): calls an HTTP API (POST)
  8. Halt on Unknown Account (Stop and Error): stops the run with an error
  9. Check Restart Mode (If): checks a condition and branches into true / false
  10. Return ECS API Results (Code): runs custom JavaScript code

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

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 (12)

From the author

Quick overview This workflow schedules tagged Amazon ECS services to run only during office hours, allows self-service restarts via an n8n Form for a limited duration, and sends status updates to a Microsoft Teams channel using an incoming webhook. How it…

Excerpt from Sukhman'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.