Files
plunk/apps/wiki/content/docs/tutorials/welcome-series-workflow.mdx
T
2025-12-07 13:36:31 +01:00

69 lines
1.1 KiB
Plaintext

---
title: Build a Welcome Series
description: Create a 3-email onboarding workflow
icon: Workflow
---
## What you'll build
- Day 0: Welcome email (immediate)
- Day 1: Feature tour
- Day 3: Help offer
## 1. Create templates
Create 3 templates in **Templates → Create Template**:
- `Welcome` (use `{{name}}` for personalization)
- `Feature Tour`
- `Help Offer`
## 2. Create the workflow
1. Go to **Workflows → Create Workflow**
2. Name: `Welcome Series`
3. Trigger: Event `user_signed_up`
4. Allow Re-entry: No
## 3. Build the flow
```
[Trigger: user_signed_up]
[Send: Welcome]
[Delay: 1 day]
[Send: Feature Tour]
[Delay: 2 days]
[Send: Help Offer]
[Exit]
```
## 4. Enable the workflow
Toggle the workflow ON.
## 5. Track signups
Add to your app:
```javascript
await fetch('{{API_URL}}/v1/track', {
method: 'POST',
headers: {
'Authorization': `Bearer ${PLUNK_PUBLIC_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
event: 'user_signed_up',
email: user.email,
data: { name: user.name }
})
});
```
Use your **Public Key** (starts with `pk_`).