Register and share your invite link to earn from video plays and referrals.

Tobias Lins
@tobiaslins
Product Engineer · Building @Vercel Observability Products · Splitbee Founder (acquired by Vercel)
Joined November 2011
748 Following    6.5K Followers
This is just such a wonderful way to define drip campaigns. Wait 2 days to send a reminder, but don't do it when a user does X.
@workflowsdk's Hook primitive lets external events control a running workflow. Let's take the email drip sequence example - welcome email, then nudges at day 2 and day 4. But what if the user completes the action before the nudges fire? You don't want to keep nagging them. The pattern you can use to solve this: Define a hook, then race it against each sleep. If the hook fires first, skip the remaining nudges. Any service in your app can resume the hook - it just needs the user's email as the token.
Show more