A free trial that ends

A team tries a B2B tool for 14 days without a card. The home page shows a banner with the days left, a reminder email goes out three days before the end, and on day 14 the workspace goes read-only; if nobody upgrades, its data is deleted 30 days later, after a warning email. Upgrading is a journey of its own, Choose a plan, where the team picks a plan and adds a card; the banner, the reminder email and the read-only page all lead to it.

17 screens and steps21 arrows0 warnings

What UJN shows here Point at a note to see its part of the drawing

A free trial that ends  TRIAL14 days free with no card. Then the workspace goes read-only, and its data is deleted 30 days laterStart Right after sign-upStartRight after sign-upStart the trial (Action) Day 0, no card neededActionStart the trialDay 0, no card neededWorkspace plan (Server database) Trial, read-only or paid Location: table workspacesServer databaseWorkspace planTrial, read-only or paidtable workspacesWorkspace home (View) Banner: days left, Upgrade Route: /w/:idViewWorkspace homeBanner: days left, Upgrade/w/:idUntil day 11 (Wait) If still on trial Timeout: 11 dWaitUntil day 11If still on trial11 dTrial ends in 3 days (Message) Channel: emailMessageTrial ends in 3 daysemailReminder email (Handoff, returns) Channel: email Resume: /settings/billing/plansHandoff, returnsReminder emailemailUntil day 14 (Wait) If still on trial Timeout: 14 dWaitUntil day 14If still on trial14 dEnd the trial (Action) Edits blocked, data keptActionEnd the trialEdits blocked, data keptUntil day 44 (Wait) If still read-only; a warning email goes out first Timeout: 30 dWaitUntil day 44If still read-only; a warning email goes out first30 dDelete the data (Action) The workspace and everything in itActionDelete the dataThe workspace and everything in itEnd, abandoned Never came backEnd, abandonedNever came backStart Signs in later, not yet paidStartSigns in later, not yet paidOpen workspace (Action) Reads the planActionOpen workspaceReads the planWorkspace, read-only (View) Trial ended: view and export, no edits Route: /w/:idViewWorkspace, read-onlyTrial ended: view and export, no edits/w/:idChoose a plan (Journey) Pick a plan, add a card Journey: CHOOSE_PLANJourneyChoose a planPick a plan, add a cardCHOOSE_PLANEnd, success On a paid planEnd, successOn a paid planNo label Navigation from from_signup to Start the trialNo label Navigation from Start the trial to Workspace homeNo label Navigation, write from Start the trial to Workspace plan Payload: {plan, trial_ends_at}{plan, trial_ends_at}No label Navigation from Start the trial to Until day 14No label Navigation from Start the trial to Until day 11timeout Navigation from Until day 11 to Trial ends in 3 daystimeoutNo label Navigation from Trial ends in 3 days to Reminder emailChoose a plan Return, resume from Reminder email to Choose a planChoose a plantimeout Navigation from Until day 14 to End the trialtimeoutNo label Navigation, write from End the trial to Workspace plan Payload: {plan}{plan}No label Navigation from End the trial to Until day 44timeout Navigation from Until day 44 to Delete the datatimeoutNo label Navigation from Delete the data to deletedNo label Navigation from returning to Open workspaceNo label Navigation, read from Workspace plan to Open workspace Payload: {plan, trial_ends_at}{plan, trial_ends_at}on trial Navigation from Open workspace to Workspace homeon trialread-only Navigation from Open workspace to Workspace, read-onlyread-onlyUpgrade Navigation from Workspace home to Choose a planUpgradeUpgrade Navigation from Workspace, read-only to Choose a planUpgradeleft without paying Return, resume from Choose a plan to Open workspaceleft without payingupgraded Return, resume from Choose a plan to paidupgraded
The source (46 lines)
trial.puml
@startujnrender { direction: down; arrow_spacing: 24 }journey TRIAL "A free trial that ends"description: "14 days free with no card. Then the workspace goes read-only, and its data is deleted 30 days later"unique_id_friendly: trial start from_signup { description: "Right after sign-up" }action start_trial { title: "Start the trial"; description: "Day 0, no card needed" }data workspaces { title: "Workspace plan"; description: "Trial, read-only or paid"; location: table workspaces }view home { title: "Workspace home"; description: "Banner: days left, Upgrade"; route: /w/:id }action day_11 { type: wait; title: "Until day 11"; description: "If still on trial"; timeout: 11 d }action remind { type: message; title: "Trial ends in 3 days"; channel: email }handoff remind_link { title: "Reminder email"; channel: email; resume: /settings/billing/plans }action day_14 { type: wait; title: "Until day 14"; description: "If still on trial"; timeout: 14 d }action end_trial { title: "End the trial"; description: "Edits blocked, data kept" }action day_44 { type: wait; title: "Until day 44"; description: "If still read-only; a warning email goes out first"; timeout: 30 d }action delete_data { title: "Delete the data"; description: "The workspace and everything in it" }end deleted { type: abandoned; description: "Never came back" }start returning { description: "Signs in later, not yet paid" }action open_ws { title: "Open workspace"; description: "Reads the plan" }view read_only { title: "Workspace, read-only"; description: "Trial ended: view and export, no edits"; route: /w/:id }ref plan { journey: CHOOSE_PLAN; title: "Choose a plan"; description: "Pick a plan, add a card" }end paid { type: success; description: "On a paid plan" } from_signup --> start_trialstart_trial --> homestart_trial --> workspaces { payload: [plan, trial_ends_at] }start_trial --> day_14start_trial --> day_11day_11 --> remind : timeoutremind --> remind_linkremind_link ..> plan : [Choose a plan]day_14 --> end_trial : timeoutend_trial --> workspaces { payload: [plan] }end_trial --> day_44day_44 --> delete_data : timeoutdelete_data --> deletedreturning --> open_wsworkspaces --> open_ws { payload: [plan, trial_ends_at] }open_ws -up-> home : on trialopen_ws --> read_only : read-onlyhome --> plan : [Upgrade]read_only --> plan : [Upgrade]plan .right.> paid : upgradedplan ..> open_ws : left without paying@endujn