注册并分享邀请链接,可获得视频播放与邀请奖励。

Tobias Lins
@tobiaslins
Product Engineer · Building @Vercel Observability Products · Splitbee Founder (acquired by Vercel)
加入 November 2011
748 正在关注    6.5K 粉丝
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.
显示更多