How to use conditional logic and loops to simplify complex processes

Think of a workflow as a flowchart. Sometimes you need a decision point (yes/no), other times you need to repeat an action multiple times. TinyCommand gives you both with conditional logic and loops.

Example 1: Customer Payments (Logic)
A payment comes in via Stripe.

  • If “Success” → send confirmation + update TinyTable.

  • If “Failed” → send retry email + notify finance.

Example 2: Sending Weekly Reports (Loop)
You have a TinyTable with 200 users.

  • Instead of setting up 200 actions, add a loop:

  • For each row → generate report → email user.

With logic and loops, one workflow can handle the kind of branching and repetition that normally requires coding. It keeps your setup simple and your processes powerful.