If-Then Branch

ifamount > $100
trueNotify finance
falseSkip
About this piece

If-Then Branch

Conditional branch card with a dashed condition row and side-by-side true and false outcome cards labeled with emerald and rose pills.

Usage

The import and the props worth knowing about, in one place.

import { Automation5 } from "@/components/beste/piece/automation5";

<Automation5
  surface="card"
  bordered={false}
  inverted={false}
  condition="amount > $100"
  truthy={{
    "label": "Notify finance"
  }}
  falsy={{
    "label": "Skip"
  }}
  ifLabel="if"
  trueLabel="true"
  falseLabel="false"
/>

More Automation pieces

View all Automation
Only run if
allany
  • statusis"paid"
  • amount>100
  • currencyis"USD"
For each item
3 / 28
Wait 15 minutesThen continue to the next step
Last 7 days98.3%
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Stripe
Stripe → Slack revenue alerts

Posts a message in #revenue when a payment over $500 lands.

Available variables
Trigger
{{event.type}}{{event.created_at}}
Customer
{{customer.email}}{{customer.name}}