Examples

Journeys like yours, written in UJN

Twenty flows product teams build all the time, from sign-up to returns. Each one is a single UJN file that the module checks with no warnings. Open one to see its drawing, its source and three notes on what UJN states in that flow.

Accounts and identitySign up and verify your email Sign up, leave for the inbox, and come back by link on any device.
  • handoff
  • handoff timeout
  • waiting view
  • message action
Accounts and identitySign in with a passkey or a code Passkey, or a password and an SMS code, with a countdown and a lockout.
  • auth action
  • message action
  • wait action
  • timeout
Accounts and identityPassword reset Reset a forgotten password by an email link that is valid for 30 minutes.
  • message action
  • handoff
  • handoff timeout
  • handoff resume
Accounts and identityInvite a teammate An admin invites a teammate to a free seat; the teammate signs up and joins.
  • actor
  • start
  • modal
  • action
Accounts and identityVerify your identity on your phone Capture ID and selfie on the phone, then see the result on the computer.
  • handoff
  • handoff timeout
  • handoff resume (came back too late)
  • waiting view
Accounts and identityDownload your data Confirm your password, wait for the export, then download it from a 7-day email link.
  • auth action
  • event action
  • timeout exit
  • message action
Payments and subscriptionsCheckout Pay by card, approve in the bank app, or go back to try another card.
  • handoff
  • handoff timeout
  • failed return
  • system
Payments and subscriptionsUpgrade or cancel a plan Upgrade now, downgrade or cancel at period end, with one retention offer before a cancel.
  • modal
  • payload
  • system
  • guards on an action
Payments and subscriptionsA free trial that ends A 14-day trial with no card: a reminder, then read-only, then the data is deleted.
  • wait action
  • timeout exit
  • message action
  • handoff
Commerce and servicesBook an appointment Pick a slot, pay a deposit, then reschedule or cancel from a reminder SMS.
  • wait action
  • message action
  • handoff
  • system
Commerce and servicesReturn an item for a refund Return items at a drop-off point; an inspector decides a full, partial or no refund.
  • handoff
  • handoff timeout
  • abandoned end
  • event action
Commerce and servicesSign a contract with two signers Two signers sign in parallel at an e-signature service; the account goes live after both.
  • actor
  • fork and join
  • event action
  • event timeout
Commerce and servicesSearch, filter, open a detail page Search rentals, filter them in a drawer and open a stay, without leaving the site.
  • deep-link start
  • two starts
  • data
  • browser storage
Product and mobileSet up the app on a new phone Mobile setup with sign-in, two OS permission prompts, and a trip to phone Settings.
  • deep-link start
  • payload
  • ref
  • permission action
Product and mobileSet up a new workspace A three-step setup wizard that saves each step and resumes where the user left off.
  • wizard view
  • parent
  • two starts
  • data
Product and mobileConnect a calendar Consent on the provider's site within 10 minutes, tokens stored, then an initial sync.
  • handoff
  • handoff timeout
  • expired resume
  • failed return
Product and mobileAccount settings redesign in progress One settings map that shows what ships, what stays legacy, and what is planned.
  • legacy flag
  • deprecated flag
  • future flag
  • idea flag
AI and automationReply to a ticket with an AI draft An AI drafts a support reply and refund; the agent and a team lead decide.
  • system
  • payload
  • context
  • waiting view
AI and automationAn AI agent acts, the user confirms A travel assistant plans a trip change; nothing is booked until the user confirms.
  • system
  • payload
  • guards on an action
  • modal
AI and automationSupport chat hands over to a person A help bot answers; a person takes over with the transcript, live or by email.
  • system
  • payload
  • guards on an action
  • waiting view

Your own journey

Start from an example

Open any example in Try it and change it into your own flow, or give your AI assistant the primer and describe the flow in your own words.