{
  "title": "Customer Onboarding Journey",
  "description": "End-to-end customer onboarding workflow from registration to first purchase",
  "type": "business-process",
  "data": {
    "nodes": [
      {
        "id": "actor-new-customer",
        "type": "actor",
        "position": {
          "x": 12,
          "y": 478.3333333333333
        },
        "data": {
          "name": "New Customer",
          "summary": "Person starting their journey with the platform",
          "mode": "full",
          "editor": {
            "title": "Actor",
            "subtitle": "Edit the details of the actor",
            "schema": {
              "type": "object",
              "required": ["name"],
              "properties": {
                "name": {
                  "type": "string",
                  "title": "Name",
                  "default": "New Actor",
                  "description": "The name of the actor (person/user)"
                },
                "summary": {
                  "type": "string",
                  "title": "Description",
                  "default": "",
                  "description": "A brief description of the actor"
                }
              }
            }
          }
        },
        "measured": {
          "width": 262,
          "height": 100
        }
      },
      {
        "id": "command-register-account",
        "type": "command",
        "position": {
          "x": 394,
          "y": 479.3333333333333
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "register-account-cmd",
            "name": "Register Account",
            "version": "1.0.0",
            "summary": "Customer creates new account with email and password"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "event-account-created",
        "type": "event",
        "position": {
          "x": 776,
          "y": 479.3333333333333
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "account-created",
            "name": "Account Created",
            "version": "1.0.0",
            "summary": "New customer account successfully registered"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "command-verify-email",
        "type": "command",
        "position": {
          "x": 1158,
          "y": 495.66666666666663
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "verify-email-cmd",
            "name": "Verify Email",
            "version": "1.0.0",
            "summary": "Customer confirms email address via verification link"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "event-email-verified",
        "type": "event",
        "position": {
          "x": 1540,
          "y": 495.66666666666663
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "email-verified",
            "name": "Email Verified",
            "version": "1.0.0",
            "summary": "Customer email address successfully verified"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "command-complete-profile",
        "type": "command",
        "position": {
          "x": 1922,
          "y": 512
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "complete-profile-cmd",
            "name": "Complete Profile",
            "version": "1.0.0",
            "summary": "Customer adds personal details and preferences"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "event-profile-completed",
        "type": "event",
        "position": {
          "x": 2304,
          "y": 512
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "profile-completed",
            "name": "Profile Completed",
            "version": "1.0.0",
            "summary": "Customer profile successfully filled out"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "command-make-first-purchase",
        "type": "command",
        "position": {
          "x": 2686,
          "y": 469.33333333333337
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "make-first-purchase-cmd",
            "name": "Make First Purchase",
            "version": "1.0.0",
            "summary": "Customer completes their first transaction"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "event-first-purchase-completed",
        "type": "event",
        "position": {
          "x": 3068,
          "y": 469.33333333333337
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "first-purchase-completed",
            "name": "First Purchase Completed",
            "version": "1.0.0",
            "summary": "Customer's inaugural purchase successfully processed"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "external-email-service",
        "type": "external-system",
        "position": {
          "x": 1922,
          "y": 332
        },
        "data": {
          "mode": "full",
          "externalSystem": {
            "id": "sendgrid-email",
            "name": "SendGrid Email Service",
            "version": "2023.1",
            "summary": "Email delivery service for verification and welcome messages"
          }
        },
        "measured": {
          "width": 262,
          "height": 100
        }
      },
      {
        "id": "external-analytics-service",
        "type": "external-system",
        "position": {
          "x": 3450,
          "y": 510.6666666666667
        },
        "data": {
          "mode": "full",
          "externalSystem": {
            "id": "mixpanel-analytics",
            "name": "Mixpanel Analytics",
            "version": "2023.1",
            "summary": "Customer behavior tracking and onboarding funnel analysis"
          }
        },
        "measured": {
          "width": 262,
          "height": 100
        }
      },
      {
        "id": "note-onboarding-guide",
        "type": "note",
        "position": {
          "x": 12,
          "y": 12
        },
        "data": {
          "text": "🎯 **Customer Onboarding Journey**\\n\\nEnd-to-end workflow mapping the customer's path from first interaction to conversion:\\n\\n**📝 Registration** → **✉️ Email Verification** → **👤 Profile Setup** → **🛒 First Purchase**\\n\\n**Key Milestones:**\\n1. **Account Creation** - Customer provides basic info\\n2. **Email Verification** - Confirms legitimate email address\\n3. **Profile Completion** - Gathers preferences and details\\n4. **First Purchase** - Converts prospect to paying customer\\n\\n**Success Metrics:**\\n• **Conversion Rate** - % completing each step\\n• **Time to Purchase** - Days from signup to first order\\n• **Drop-off Points** - Where customers abandon the flow\\n• **Activation Rate** - % reaching first purchase milestone\\n\\n**💡 Optimization Tips:**\\n• Minimize friction at each step\\n• Provide clear value propositions\\n• Use progressive profiling\\n• Celebrate milestones with customers",
          "color": "green"
        },
        "measured": {
          "width": 400,
          "height": 300
        },
        "width": 400,
        "height": 300
      }
    ],
    "edges": [
      {
        "source": "actor-new-customer",
        "target": "command-register-account",
        "label": "Initiates",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__actor-new-customer-command-register-account"
      },
      {
        "source": "command-register-account",
        "target": "event-account-created",
        "label": "Results in",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": true,
        "type": "animatedMessage",
        "id": "xy-edge__command-register-account-event-account-created"
      },
      {
        "source": "event-account-created",
        "target": "command-verify-email",
        "label": "Triggers",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-account-created-command-verify-email"
      },
      {
        "source": "command-verify-email",
        "target": "event-email-verified",
        "label": "Results in",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": true,
        "type": "animatedMessage",
        "id": "xy-edge__command-verify-email-event-email-verified"
      },
      {
        "source": "event-email-verified",
        "target": "command-complete-profile",
        "label": "Enables",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-email-verified-command-complete-profile"
      },
      {
        "source": "command-complete-profile",
        "target": "event-profile-completed",
        "label": "Results in",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": true,
        "type": "animatedMessage",
        "id": "xy-edge__command-complete-profile-event-profile-completed"
      },
      {
        "source": "event-profile-completed",
        "target": "command-make-first-purchase",
        "label": "Encourages",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-profile-completed-command-make-first-purchase"
      },
      {
        "source": "command-make-first-purchase",
        "target": "event-first-purchase-completed",
        "label": "Results in",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": true,
        "type": "animatedMessage",
        "id": "xy-edge__command-make-first-purchase-event-first-purchase-completed"
      },
      {
        "source": "event-account-created",
        "target": "external-email-service",
        "label": "Via",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-account-created-external-email-service"
      },
      {
        "source": "event-email-verified",
        "target": "external-email-service",
        "label": "Via",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-email-verified-external-email-service"
      },
      {
        "source": "event-profile-completed",
        "target": "external-analytics-service",
        "label": "Tracked by",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-profile-completed-external-analytics-service"
      },
      {
        "source": "event-first-purchase-completed",
        "target": "external-analytics-service",
        "label": "Tracked by",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-first-purchase-completed-external-analytics-service"
      }
    ],
    "viewport": {
      "x": 50,
      "y": 50,
      "zoom": 0.7
    },
    "creationDate": "2025-08-11T15:34:13.587Z",
    "name": "Customer Onboarding Journey",
    "version": "1.0",
    "source": "https://app.eventcatalog.dev",
    "appState": {},
    "id": "customer-onboarding-journey"
  },
  "usecase": "Customer Journey Mapping",
  "mermaid": "flowchart TD\n    A[👤 New Customer] --> B[📝 Register Account]\n    B --> C[✅ Account Created]\n    C --> D[✉️ Verify Email]\n    D --> E[📧 Email Verified]\n    E --> F[👤 Complete Profile]\n    F --> G[🛒 Make First Purchase]",
  "tags": ["Business Process"]
}