# Customer onboarding workflow

> A swimlane diagram of the first 30 days with a new customer: three lanes for sales, customer success and the customer, ten steps and the handovers between them.

- The design, as a .vd file: https://getv.design/library/onboarding-workflow.vd
- Its page: https://getv.design/library/onboarding-workflow

## How it was made

Drafted from this prompt:

> A swimlane diagram of customer onboarding for Tally Accounts, an accounting app. Three lanes: sales, customer success, customer. Ten steps from contract signed to a 30-day review, with day markers along the top and arrows for every handover.

Then refined:

- Widened the heading so it sits on one line.

## Make it yours

- "Add a fourth lane for support."
- "Change the steps to our own onboarding, which takes 60 days."
- "Use our colours for the three lanes."

## The source

```vd
version 5
kind design
title "Customer onboarding workflow"
$ink = #1c2433
$muted = #6b7689
$paper = #f6f4ee
$lane = #ffffff
$rule = #dcd8cc
$sales = #f4b740
$success = #2f6fed
$customer = #19a974
$m = 64
$col = 264
$nw = 208
$nh = 84
$x0 = 252

font body = Manrope
  fallback "system-ui, sans-serif"
  face asset=manrope-500 weight=500
  face asset=manrope-700 weight=700
  face asset=manrope-800 weight=800

asset manrope-500 = font/woff2 hash=sha256-19874318747181a650eda439c37955220b849d9c4797c9e0718ee67d4bf929bc bytes=14044 license=OFL
asset manrope-700 = font/woff2 hash=sha256-d2a12c85a831e4b5db341767d0347fa3d1361d22a1fcb3e361a16b6c90080f71 bytes=14212 license=OFL
asset manrope-800 = font/woff2 hash=sha256-74c161dbcbce7c3590803cc72dc1f63313c360e13367aba5075a7b7b3818ea49 bytes=13648 license=OFL

frame flow w=1600 h=960 background=paper
  text flow.title x=$m y=52 w=1400 h=56 font=body size=44 weight=800 letterSpacing=-1 fill=ink
    "Customer onboarding, from contract to day 30"
  text flow.sub x=$m y=114 w=900 h=30 font=body size=20 weight=500 fill=muted
    "Tally Accounts · who does what, and when"

  text day.0 x=$x0 y=186 w=$nw h=24 font=body size=16 weight=700 align=center fill=muted
    "Day 0"
  text day.1 x=($x0 + $col) y=186 w=$nw h=24 font=body size=16 weight=700 align=center fill=muted
    "Day 1"
  text day.2 x=($x0 + $col * 2) y=186 w=$nw h=24 font=body size=16 weight=700 align=center fill=muted
    "Week 1"
  text day.3 x=($x0 + $col * 3) y=186 w=$nw h=24 font=body size=16 weight=700 align=center fill=muted
    "Week 2"
  text day.4 x=($x0 + $col * 4) y=186 w=$nw h=24 font=body size=16 weight=700 align=center fill=muted
    "Day 30"

  rect lane.1 x=$m y=224 w=(100% - $m * 2) h=208 fill=lane radius=14
  rect lane.2 x=$m y=(@lane.1.bottom + 12) w=@lane.1.w h=208 fill=lane radius=14
  rect lane.3 x=$m y=(@lane.2.bottom + 12) w=@lane.1.w h=208 fill=lane radius=14
  rect lane.1.tab x=$m y=@lane.1.y w=10 h=@lane.1.h fill=sales radius=5
  rect lane.2.tab x=$m y=@lane.2.y w=10 h=@lane.2.h fill=success radius=5
  rect lane.3.tab x=$m y=@lane.3.y w=10 h=@lane.3.h fill=customer radius=5
  text lane.1.name x=($m + 34) y=@lane.1.y w=140 h=@lane.1.h font=body size=22 weight=800 valign=middle fill=ink
    "Sales"
  text lane.2.name x=($m + 34) y=@lane.2.y w=140 h=@lane.2.h font=body size=22 weight=800 valign=middle fill=ink
    "Customer\nsuccess"
  text lane.3.name x=($m + 34) y=@lane.3.y w=140 h=@lane.3.h font=body size=22 weight=800 valign=middle fill=ink
    "Customer"

  rect s1 x=$x0 y=(@lane.1.cy - $nh / 2) w=$nw h=$nh fill=sales radius=12
  rect s2 x=($x0 + $col) y=@s1.y w=$nw h=$nh fill=sales radius=12
  rect s3 x=($x0 + $col * 4) y=@s1.y w=$nw h=$nh fill=none stroke=sales strokeWidth=3 radius=12 dash="8 6"
  rect c1 x=($x0 + $col) y=(@lane.2.cy - $nh / 2) w=$nw h=$nh fill=success radius=12
  rect c2 x=($x0 + $col * 2) y=@c1.y w=$nw h=$nh fill=success radius=12
  rect c3 x=($x0 + $col * 3) y=@c1.y w=$nw h=$nh fill=success radius=12
  rect c4 x=($x0 + $col * 4) y=@c1.y w=$nw h=$nh fill=success radius=12
  rect u1 x=($x0 + $col * 2) y=(@lane.3.cy - $nh / 2) w=$nw h=$nh fill=customer radius=12
  rect u2 x=($x0 + $col * 3) y=@u1.y w=$nw h=$nh fill=customer radius=12
  rect u3 x=($x0 + $col * 4) y=@u1.y w=$nw h=$nh fill=customer radius=12

  text s1.t x=@s1.x y=@s1.y w=$nw h=$nh font=body size=19 weight=700 align=center valign=middle fill=ink
    "Contract signed"
  text s2.t x=@s2.x y=@s2.y w=$nw h=$nh font=body size=19 weight=700 align=center valign=middle fill=ink
    "Write handover\nnotes"
  text s3.t x=@s3.x y=@s3.y w=$nw h=$nh font=body size=19 weight=700 align=center valign=middle fill=ink
    "Plan the next\nyear together"
  text c1.t x=@c1.x y=@c1.y w=$nw h=$nh font=body size=19 weight=700 align=center valign=middle fill=lane
    "Kick-off call"
  text c2.t x=@c2.x y=@c2.y w=$nw h=$nh font=body size=19 weight=700 align=center valign=middle fill=lane
    "Set up the\nworkspace"
  text c3.t x=@c3.x y=@c3.y w=$nw h=$nh font=body size=19 weight=700 align=center valign=middle fill=lane
    "Run a training\nsession"
  text c4.t x=@c4.x y=@c4.y w=$nw h=$nh font=body size=19 weight=700 align=center valign=middle fill=lane
    "30-day review"
  text u1.t x=@u1.x y=@u1.y w=$nw h=$nh font=body size=19 weight=700 align=center valign=middle fill=lane
    "Invite the team"
  text u2.t x=@u2.x y=@u2.y w=$nw h=$nh font=body size=19 weight=700 align=center valign=middle fill=lane
    "Import last\nyear's invoices"
  text u3.t x=@u3.x y=@u3.y w=$nw h=$nh font=body size=19 weight=700 align=center valign=middle fill=lane
    "Send the first\nlive invoice"

  connector a1 x1=@s1.right y1=@s1.cy x2=@s2.left y2=@s2.cy stroke=ink strokeWidth=2 end=arrow
  connector a2 x1=@s2.cx y1=@s2.bottom x2=@c1.cx y2=@c1.top stroke=ink strokeWidth=2 end=arrow
  connector a3 x1=@c1.right y1=@c1.cy x2=@c2.left y2=@c2.cy stroke=ink strokeWidth=2 end=arrow
  connector a4 x1=@c2.right y1=@c2.cy x2=@c3.left y2=@c3.cy stroke=ink strokeWidth=2 end=arrow
  connector a5 x1=@c3.right y1=@c3.cy x2=@c4.left y2=@c4.cy stroke=ink strokeWidth=2 end=arrow
  connector a6 x1=@c2.cx y1=@c2.bottom x2=@u1.cx y2=@u1.top stroke=ink strokeWidth=2 end=arrow
  connector a7 x1=@u1.right y1=@u1.cy x2=@u2.left y2=@u2.cy stroke=ink strokeWidth=2 end=arrow
  connector a8 x1=@u2.right y1=@u2.cy x2=@u3.left y2=@u3.cy stroke=ink strokeWidth=2 end=arrow
  connector a9 x1=@u3.cx y1=@u3.top x2=@c4.cx y2=@c4.bottom stroke=ink strokeWidth=2 end=arrow
  connector a10 x1=@c4.cx y1=@c4.top x2=@s3.cx y2=@s3.bottom stroke=ink strokeWidth=2 end=arrow dash="6 6"

  text flow.note x=$m y=(100% - 56) w=1100 h=26 font=body size=17 weight=500 fill=muted
    "Dashed steps happen only if the 30-day review goes well. Sample process for illustration."
```
