Set up a new workspace

Right after signing up, a new user sets up their team's workspace in a three-step wizard: name it and pick its web address, import contacts from a spreadsheet, and invite teammates. Steps 2 and 3 are optional, Back goes from step 3 to step 2, and a web address already in use keeps the user on step 1. Every step is saved, so a user who leaves and signs in later lands on the step where they stopped, and Finish opens the workspace home.

14 screens and steps20 arrows0 warnings

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

Set up a new workspace  SETUPA new workspace in three steps; each step is saved, so a user who leaves comes back to itStart Signed in, no workspace yetStartSigned in, no workspace yetSet up your workspace (Wizard) 3 steps Route: /setupWizardSet up your workspace3 steps/setupName your workspace (View) Step 1 · name and web address Route: /setup/nameViewName your workspaceStep 1 · name and web address/setup/nameSave step 1 (Action) Creates the workspaceActionSave step 1Creates the workspaceStart Signs in later, setup not finishedStartSigns in later, setup not finishedFind saved step (Action)ActionFind saved stepImport contacts (View) Step 2 · optional · CSV or XLSX Route: /setup/importViewImport contactsStep 2 · optional · CSV or XLSX/setup/importContacts spreadsheet (File) Location: contacts.xlsxFileContacts spreadsheetcontacts.xlsxSave step 2 (Action) Imports the rows, if anyActionSave step 2Imports the rows, if anySetup progress (Server database) Next step: 2, 3 or done Location: table onboarding · stepServer databaseSetup progressNext step: 2, 3 or donetable onboarding · stepInvite your team (View) Step 3 · optional Route: /setup/inviteViewInvite your teamStep 3 · optional/setup/inviteInvite a teammate (Journey) Back here once invites are sent Journey: INVITE_TEAMMATEJourneyInvite a teammateBack here once invites are sentINVITE_TEAMMATEFinish setup (Action)ActionFinish setupWorkspace home (View) Route: /w/:workspaceViewWorkspace home/w/:workspaceNo label Navigation from later to Find saved stepNo label Navigation, read from Setup progress to Find saved step Payload: {next_step}{next_step}left on step 2 Navigation from Find saved step to Import contactsleft on step 2left on step 3 Navigation from Find saved step to Invite your teamleft on step 3No label Navigation from after_signup to Set up your workspaceGet started Navigation from Set up your workspace to Name your workspaceGet startedNext Navigation from Name your workspace to Save step 1 Payload: {name, web_address}Next{name, web_address}saved Navigation from Save step 1 to Import contactssavedNo label Navigation, write from Save step 1 to Setup progress Payload: {next_step}{next_step}Next Navigation from Import contacts to Save step 2 Payload: {contacts_file}Next{contacts_file}Skip Navigation from Import contacts to Save step 2SkipNo label Navigation, read from Contacts spreadsheet to Save step 2 Payload: {rows}{rows}No label Navigation, write from Save step 2 to Setup progress Payload: {next_step}{next_step}saved Navigation from Save step 2 to Invite your teamsavedBack Return from Invite your team to Import contactsBackFinish Navigation from Invite your team to Finish setupFinishNo label Navigation, write from Finish setup to Setup progress Payload: {next_step}{next_step}Invite people Navigation from Invite your team to Invite a teammate ReturnsInvite peopleNo label Navigation from Finish setup to Workspace homeaddress taken Failed return from Save step 1 to Name your workspaceaddress taken
The source (42 lines)
wizard.puml
@startujnrender { direction: down; arrow_spacing: 24 }journey SETUP "Set up a new workspace"description: "A new workspace in three steps; each step is saved, so a user who leaves comes back to it"unique_id_friendly: workspace_setup start after_signup { description: "Signed in, no workspace yet" }view setup { type: wizard; title: "Set up your workspace"; description: "3 steps"; route: /setup }view name_step { title: "Name your workspace"; description: "Step 1 · name and web address"; route: /setup/name; parent: setup }action save_name { title: "Save step 1"; description: "Creates the workspace" }start later { description: "Signs in later, setup not finished" }action resume { title: "Find saved step" }view import_step { title: "Import contacts"; description: "Step 2 · optional · CSV or XLSX"; route: /setup/import; parent: setup }data sheet { type: file; title: "Contacts spreadsheet"; location: contacts.xlsx }action save_import { title: "Save step 2"; description: "Imports the rows, if any" }data progress { title: "Setup progress"; description: "Next step: 2, 3 or done"; location: "table onboarding · step" }view invite_step { title: "Invite your team"; description: "Step 3 · optional"; route: /setup/invite; parent: setup }ref invite { journey: INVITE_TEAMMATE; title: "Invite a teammate"; description: "Back here once invites are sent" }action finish { title: "Finish setup" }view home { title: "Workspace home"; route: /w/:workspace } later --> resumeprogress -up-> resume { payload: [next_step] }resume --> import_step : left on step 2resume --> invite_step : left on step 3after_signup --> setupsetup --> name_step : [Get started]name_step --> save_name : [Next] { payload: [name, web_address] }save_name .x.> name_step : address takensave_name --> import_step : savedsave_name --> progress { payload: [next_step] }import_step --> save_import : [Next] { payload: [contacts_file] }import_step --> save_import : [Skip]sheet --> save_import { payload: [rows] }save_import --> progress { payload: [next_step] }save_import --> invite_step : savedinvite_step ..> import_step : [Back]invite_step -left-> invite : [Invite people] { returns }invite_step --> finish : [Finish]finish -up-> progress { payload: [next_step] }finish -right-> home@endujn