Introduction to Power Automate
Anushika Agarwal
Cloud Data Engineer

$$
Golden rule: Initialize before you use.


$$
Heads up: Set inside a loop means only the last item survives. Use Append.

| Aspect | Compose | Variable |
|---|---|---|
| Value | Write-once, fixed for the run | Updatable across the flow |
| Type declaration | Not required, inferred | Required at initialization |
| Placement | Anywhere in the flow | Top level only |
| Performance in loops | Lightweight, safe in parallel | Can cause locking in parallel |
| Best for | Snapshots and expression debugging | Counters, builders, accumulators |
$$
Introduction to Power Automate