Trigger workflow

트리거 워크플로

An event starts a timed, conditional sequence of follow-up actions.

···
html
<div class="track"><div class="row"><b>01</b><span>CART LEFT</span></div><div class="row"><b>02</b><span>WAIT</span><i></i></div><div class="row"><b>03</b><span>PURCHASE?</span></div><div class="bottom"><strong>EXIT</strong><strong>SEND</strong></div><div class="dot"></div><div class="dot exit-dot"></div></div>
css
.track{position:relative;width:min(80%,410px);font:900 clamp(10px,max(3.7vmin,1vw),16px)/1.1 sans-serif}.row{height:clamp(31px,8vmin,66px);display:flex;align-items:center;gap:12px;border:2px solid var(--fg);background:var(--surface);margin-bottom:clamp(4px,1vmin,9px);padding:0 12px}.row b{color:var(--accent)}.row i{margin-left:auto;width:30%;height:5px;background:var(--line);overflow:hidden}.row i:after{content:'';display:block;height:100%;background:var(--accent);animation:fill 4s linear infinite}.bottom{display:flex;gap:8px}.bottom strong{flex:1;padding:7px;border:1px solid var(--accent);text-align:center;color:var(--accent)}.bottom strong{animation:choose 6s infinite}.bottom strong:first-child{animation-delay:3s}.dot{position:absolute;right:-12px;top:6%;width:clamp(9px,2vmin,17px);aspect-ratio:1;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--bg);opacity:0;animation:go 6s ease-in-out infinite}.exit-dot{right:auto;left:-12px;animation-delay:3s}@keyframes go{0%{top:6%;opacity:0}15%{opacity:1}55%{top:65%}75%{top:88%;opacity:1}85%,100%{top:88%;opacity:0}}@keyframes choose{0%,15%,100%{background:var(--surface);color:var(--accent)}30%,65%{background:var(--accent);color:white}}@keyframes fill{0%,25%{width:0}60%,100%{width:100%}}

A trigger workflow begins with an event. After cart abandonment, it can wait, check whether a purchase happened, and then send a reminder.

The customer dot in the demo moves through event, delay, and purchase check. A completed purchase exits the flow instead of reaching send.

Handle duplicate events, late purchases, and consent before sending, or customers may receive needless reminders after buying.

When to use

Use it for behavior-based follow-up; define exit conditions before launch.

Open as page ↗