[{"data":1,"prerenderedAt":1229},["ShallowReactive",2],{"footer-compare":3,"dynamicForm-newsletter":24,"mdc-yxx4ax-key":55,"\u002Fuse-cases\u002Fcustomer-onboarding":75,"mdc--y8ces7-key":107,"mdc--6ejues-key":121,"mdc--1s3vta-key":135},[4,8,12,16,20],{"path":5,"competitorName":6,"title":7},"\u002Fcompare\u002Fmake","Make","dataflows vs Make",{"path":9,"competitorName":10,"title":11},"\u002Fcompare\u002Fpipedream","Pipedream","dataflows vs Pipedream",{"path":13,"competitorName":14,"title":15},"\u002Fcompare\u002Fpower-automate","Power Automate","dataflows vs Power Automate",{"path":17,"competitorName":18,"title":19},"\u002Fcompare\u002Fzapier","Zapier","dataflows vs Zapier",{"path":21,"competitorName":22,"title":23},"\u002Fcompare\u002Fn8n","n8n","dataflows vs n8n",{"id":25,"title":26,"apiEndpoint":27,"body":28,"description":28,"extension":29,"fields":30,"mail":43,"meta":46,"navigation":35,"path":47,"seo":48,"stem":49,"submitButtonLabel":50,"successMsg":51,"__hash__":54},"forms\u002Fforms\u002Fnewsletter.yml","Newsletter","\u002Fapi\u002FdynamicFormsInbox",null,"yml",[31,38],{"name":32,"type":32,"label":33,"placeholder":34,"required":35,"validationError":36,"width":37},"email","Email","your@email.com",true,"Please enter a valid email address","full",{"name":39,"type":40,"label":41,"required":35,"validationError":42,"width":37},"privacy","checkbox","I agree to the [Privacy Policy](\u002Fprivacy)","You must agree to the privacy policy",{"to":44,"subject":45},"info@nbrx.com","New Newsletter Subscription",{},"\u002Fforms\u002Fnewsletter",{"title":26},"forms\u002Fnewsletter","Subscribe",{"title":52,"description":53},"Successfully subscribed","You will receive a confirmation email shortly.","9jNbCbi3ukyzmYA4p66npxcPS6f5NJ1U0M7vJ9PtbBM",{"data":56,"body":57},{},{"type":58,"children":59},"root",[60],{"type":61,"tag":62,"props":63,"children":64},"element","p",{},[65,68],{"type":66,"value":67},"text","I agree to the ",{"type":61,"tag":69,"props":70,"children":72},"a",{"href":71},"\u002Fprivacy",[73],{"type":66,"value":74},"Privacy Policy",{"id":76,"title":77,"body":28,"code":78,"description":79,"extension":29,"highlights":80,"industry":93,"meta":94,"navigation":35,"path":95,"problem":96,"seo":97,"solution":100,"stem":101,"systems":102,"__hash__":106},"useCases\u002Fuse-cases\u002Fcustomer-onboarding.yml","Customer Onboarding","\u002F\u002F Customer onboarding workflow\nexport const onboarding = defineWorkflow({\n  id: 'customer-onboarding',\n  trigger: { type: 'webhook', path: '\u002Fsignup' },\n\n  async run({ event, step }) {\n    const { email, name } = event.body\n\n    const account = await step.run('create-account', () =>\n      identity.createUser({ email })\n    )\n\n    const customer = await step.run('create-billing', () =>\n      billing.createCustomer({ email, accountId: account.id })\n    )\n\n    await step.run('create-crm-contact', () =>\n      crm.contacts.create({ name, email, customerId: customer.id })\n    )\n\n    await step.run('send-welcome', () =>\n      email.send({\n        to: email,\n        template: 'welcome',\n        data: { name }\n      })\n    )\n\n    return { accountId: account.id, customerId: customer.id }\n  },\n\n  onFailure: ({ step, context }) => step.run('rollback', () =>\n    cleanup.undo(context)\n  )\n})\n","From sign up to fully provisioned customer in minutes, across CRM, billing and email. With proper rollback if any step fails.",[81,85,89],{"title":82,"description":83,"icon":84},"All systems in sync","One signup creates the right record in every system, in the right order.","i-lucide-link",{"title":86,"description":87,"icon":88},"Safe rollback","If something fails, previous steps are undone automatically. No zombie accounts.","i-lucide-undo-2",{"title":90,"description":91,"icon":92},"Pause for humans","Workflow can wait for sales review or first payment, then continue on its own.","i-lucide-user-check","SaaS & Services",{},"\u002Fuse-cases\u002Fcustomer-onboarding","When a new customer signs up, several systems need to be set up at once: an account in the\nidentity system, a customer record in billing, a contact in the CRM, and a welcome email\nsequence in the marketing tool.\n\nIf just one of these steps fails halfway through, you end up with a broken customer: a user\nwho can log in but has no billing account, or a contact in the CRM that nobody can charge.\nCleaning that up by hand is slow, error prone and embarrassing when the customer notices.\n",{"title":98,"description":99},"Customer Onboarding Automation","Automate customer signup across CRM, billing and email with safe rollback.","dataflows runs the whole onboarding as one durable workflow. Every step is recorded. If a step\nfails, it retries. If it cannot succeed, the workflow rolls back the previous steps so you never\nend up with a half-created customer.\n\nThe workflow can also wait for slow events without using server resources: an email\nconfirmation, a manual review by sales, or the first payment. When the event arrives, the\nworkflow picks up exactly where it stopped.\n","use-cases\u002Fcustomer-onboarding",[103,104,105,33],"CRM","Billing","Identity","6snm0wWQ7ytpiP-TBivVBSjl6o61fBJofW8449vu97c",{"data":108,"body":109},{},{"type":58,"children":110},[111,116],{"type":61,"tag":62,"props":112,"children":113},{},[114],{"type":66,"value":115},"When a new customer signs up, several systems need to be set up at once: an account in the\nidentity system, a customer record in billing, a contact in the CRM, and a welcome email\nsequence in the marketing tool.",{"type":61,"tag":62,"props":117,"children":118},{},[119],{"type":66,"value":120},"If just one of these steps fails halfway through, you end up with a broken customer: a user\nwho can log in but has no billing account, or a contact in the CRM that nobody can charge.\nCleaning that up by hand is slow, error prone and embarrassing when the customer notices.",{"data":122,"body":123},{},{"type":58,"children":124},[125,130],{"type":61,"tag":62,"props":126,"children":127},{},[128],{"type":66,"value":129},"dataflows runs the whole onboarding as one durable workflow. Every step is recorded. If a step\nfails, it retries. If it cannot succeed, the workflow rolls back the previous steps so you never\nend up with a half-created customer.",{"type":61,"tag":62,"props":131,"children":132},{},[133],{"type":66,"value":134},"The workflow can also wait for slow events without using server resources: an email\nconfirmation, a manual review by sales, or the first payment. When the event arrives, the\nworkflow picks up exactly where it stopped.",{"data":136,"body":137},{},{"type":58,"children":138},[139,1223],{"type":61,"tag":140,"props":141,"children":146},"pre",{"className":142,"code":143,"language":144,"meta":145,"style":145},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Customer onboarding workflow\nexport const onboarding = defineWorkflow({\n  id: 'customer-onboarding',\n  trigger: { type: 'webhook', path: '\u002Fsignup' },\n\n  async run({ event, step }) {\n    const { email, name } = event.body\n\n    const account = await step.run('create-account', () =>\n      identity.createUser({ email })\n    )\n\n    const customer = await step.run('create-billing', () =>\n      billing.createCustomer({ email, accountId: account.id })\n    )\n\n    await step.run('create-crm-contact', () =>\n      crm.contacts.create({ name, email, customerId: customer.id })\n    )\n\n    await step.run('send-welcome', () =>\n      email.send({\n        to: email,\n        template: 'welcome',\n        data: { name }\n      })\n    )\n\n    return { accountId: account.id, customerId: customer.id }\n  },\n\n  onFailure: ({ step, context }) => step.run('rollback', () =>\n    cleanup.undo(context)\n  )\n})\n\n","typescript","",[147],{"type":61,"tag":148,"props":149,"children":150},"code",{"__ignoreMap":145},[151,163,207,243,315,324,368,419,427,493,533,542,550,612,676,684,692,742,822,830,838,887,913,934,964,990,1003,1011,1019,1080,1089,1097,1178,1201,1210],{"type":61,"tag":152,"props":153,"children":156},"span",{"class":154,"line":155},"line",1,[157],{"type":61,"tag":152,"props":158,"children":160},{"style":159},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[161],{"type":66,"value":162},"\u002F\u002F Customer onboarding workflow\n",{"type":61,"tag":152,"props":164,"children":166},{"class":154,"line":165},2,[167,173,179,185,191,197,202],{"type":61,"tag":152,"props":168,"children":170},{"style":169},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[171],{"type":66,"value":172},"export",{"type":61,"tag":152,"props":174,"children":176},{"style":175},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[177],{"type":66,"value":178}," const",{"type":61,"tag":152,"props":180,"children":182},{"style":181},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[183],{"type":66,"value":184}," onboarding ",{"type":61,"tag":152,"props":186,"children":188},{"style":187},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[189],{"type":66,"value":190},"=",{"type":61,"tag":152,"props":192,"children":194},{"style":193},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[195],{"type":66,"value":196}," defineWorkflow",{"type":61,"tag":152,"props":198,"children":199},{"style":181},[200],{"type":66,"value":201},"(",{"type":61,"tag":152,"props":203,"children":204},{"style":187},[205],{"type":66,"value":206},"{\n",{"type":61,"tag":152,"props":208,"children":210},{"class":154,"line":209},3,[211,217,222,227,233,238],{"type":61,"tag":152,"props":212,"children":214},{"style":213},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[215],{"type":66,"value":216},"  id",{"type":61,"tag":152,"props":218,"children":219},{"style":187},[220],{"type":66,"value":221},":",{"type":61,"tag":152,"props":223,"children":224},{"style":187},[225],{"type":66,"value":226}," '",{"type":61,"tag":152,"props":228,"children":230},{"style":229},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[231],{"type":66,"value":232},"customer-onboarding",{"type":61,"tag":152,"props":234,"children":235},{"style":187},[236],{"type":66,"value":237},"'",{"type":61,"tag":152,"props":239,"children":240},{"style":187},[241],{"type":66,"value":242},",\n",{"type":61,"tag":152,"props":244,"children":246},{"class":154,"line":245},4,[247,252,256,261,266,270,274,279,283,288,293,297,301,306,310],{"type":61,"tag":152,"props":248,"children":249},{"style":213},[250],{"type":66,"value":251},"  trigger",{"type":61,"tag":152,"props":253,"children":254},{"style":187},[255],{"type":66,"value":221},{"type":61,"tag":152,"props":257,"children":258},{"style":187},[259],{"type":66,"value":260}," {",{"type":61,"tag":152,"props":262,"children":263},{"style":213},[264],{"type":66,"value":265}," type",{"type":61,"tag":152,"props":267,"children":268},{"style":187},[269],{"type":66,"value":221},{"type":61,"tag":152,"props":271,"children":272},{"style":187},[273],{"type":66,"value":226},{"type":61,"tag":152,"props":275,"children":276},{"style":229},[277],{"type":66,"value":278},"webhook",{"type":61,"tag":152,"props":280,"children":281},{"style":187},[282],{"type":66,"value":237},{"type":61,"tag":152,"props":284,"children":285},{"style":187},[286],{"type":66,"value":287},",",{"type":61,"tag":152,"props":289,"children":290},{"style":213},[291],{"type":66,"value":292}," path",{"type":61,"tag":152,"props":294,"children":295},{"style":187},[296],{"type":66,"value":221},{"type":61,"tag":152,"props":298,"children":299},{"style":187},[300],{"type":66,"value":226},{"type":61,"tag":152,"props":302,"children":303},{"style":229},[304],{"type":66,"value":305},"\u002Fsignup",{"type":61,"tag":152,"props":307,"children":308},{"style":187},[309],{"type":66,"value":237},{"type":61,"tag":152,"props":311,"children":312},{"style":187},[313],{"type":66,"value":314}," },\n",{"type":61,"tag":152,"props":316,"children":318},{"class":154,"line":317},5,[319],{"type":61,"tag":152,"props":320,"children":321},{"emptyLinePlaceholder":35},[322],{"type":66,"value":323},"\n",{"type":61,"tag":152,"props":325,"children":327},{"class":154,"line":326},6,[328,333,338,343,349,353,358,363],{"type":61,"tag":152,"props":329,"children":330},{"style":175},[331],{"type":66,"value":332},"  async",{"type":61,"tag":152,"props":334,"children":335},{"style":213},[336],{"type":66,"value":337}," run",{"type":61,"tag":152,"props":339,"children":340},{"style":187},[341],{"type":66,"value":342},"({",{"type":61,"tag":152,"props":344,"children":346},{"style":345},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[347],{"type":66,"value":348}," event",{"type":61,"tag":152,"props":350,"children":351},{"style":187},[352],{"type":66,"value":287},{"type":61,"tag":152,"props":354,"children":355},{"style":345},[356],{"type":66,"value":357}," step",{"type":61,"tag":152,"props":359,"children":360},{"style":187},[361],{"type":66,"value":362}," })",{"type":61,"tag":152,"props":364,"children":365},{"style":187},[366],{"type":66,"value":367}," {\n",{"type":61,"tag":152,"props":369,"children":371},{"class":154,"line":370},7,[372,377,381,386,390,395,400,405,409,414],{"type":61,"tag":152,"props":373,"children":374},{"style":175},[375],{"type":66,"value":376},"    const",{"type":61,"tag":152,"props":378,"children":379},{"style":187},[380],{"type":66,"value":260},{"type":61,"tag":152,"props":382,"children":383},{"style":181},[384],{"type":66,"value":385}," email",{"type":61,"tag":152,"props":387,"children":388},{"style":187},[389],{"type":66,"value":287},{"type":61,"tag":152,"props":391,"children":392},{"style":181},[393],{"type":66,"value":394}," name",{"type":61,"tag":152,"props":396,"children":397},{"style":187},[398],{"type":66,"value":399}," }",{"type":61,"tag":152,"props":401,"children":402},{"style":187},[403],{"type":66,"value":404}," =",{"type":61,"tag":152,"props":406,"children":407},{"style":181},[408],{"type":66,"value":348},{"type":61,"tag":152,"props":410,"children":411},{"style":187},[412],{"type":66,"value":413},".",{"type":61,"tag":152,"props":415,"children":416},{"style":181},[417],{"type":66,"value":418},"body\n",{"type":61,"tag":152,"props":420,"children":422},{"class":154,"line":421},8,[423],{"type":61,"tag":152,"props":424,"children":425},{"emptyLinePlaceholder":35},[426],{"type":66,"value":323},{"type":61,"tag":152,"props":428,"children":430},{"class":154,"line":429},9,[431,435,440,444,449,453,457,462,466,470,475,479,483,488],{"type":61,"tag":152,"props":432,"children":433},{"style":175},[434],{"type":66,"value":376},{"type":61,"tag":152,"props":436,"children":437},{"style":181},[438],{"type":66,"value":439}," account",{"type":61,"tag":152,"props":441,"children":442},{"style":187},[443],{"type":66,"value":404},{"type":61,"tag":152,"props":445,"children":446},{"style":169},[447],{"type":66,"value":448}," await",{"type":61,"tag":152,"props":450,"children":451},{"style":181},[452],{"type":66,"value":357},{"type":61,"tag":152,"props":454,"children":455},{"style":187},[456],{"type":66,"value":413},{"type":61,"tag":152,"props":458,"children":459},{"style":193},[460],{"type":66,"value":461},"run",{"type":61,"tag":152,"props":463,"children":464},{"style":213},[465],{"type":66,"value":201},{"type":61,"tag":152,"props":467,"children":468},{"style":187},[469],{"type":66,"value":237},{"type":61,"tag":152,"props":471,"children":472},{"style":229},[473],{"type":66,"value":474},"create-account",{"type":61,"tag":152,"props":476,"children":477},{"style":187},[478],{"type":66,"value":237},{"type":61,"tag":152,"props":480,"children":481},{"style":187},[482],{"type":66,"value":287},{"type":61,"tag":152,"props":484,"children":485},{"style":187},[486],{"type":66,"value":487}," ()",{"type":61,"tag":152,"props":489,"children":490},{"style":175},[491],{"type":66,"value":492}," =>\n",{"type":61,"tag":152,"props":494,"children":496},{"class":154,"line":495},10,[497,502,506,511,515,520,524,528],{"type":61,"tag":152,"props":498,"children":499},{"style":181},[500],{"type":66,"value":501},"      identity",{"type":61,"tag":152,"props":503,"children":504},{"style":187},[505],{"type":66,"value":413},{"type":61,"tag":152,"props":507,"children":508},{"style":193},[509],{"type":66,"value":510},"createUser",{"type":61,"tag":152,"props":512,"children":513},{"style":213},[514],{"type":66,"value":201},{"type":61,"tag":152,"props":516,"children":517},{"style":187},[518],{"type":66,"value":519},"{",{"type":61,"tag":152,"props":521,"children":522},{"style":181},[523],{"type":66,"value":385},{"type":61,"tag":152,"props":525,"children":526},{"style":187},[527],{"type":66,"value":399},{"type":61,"tag":152,"props":529,"children":530},{"style":213},[531],{"type":66,"value":532},")\n",{"type":61,"tag":152,"props":534,"children":536},{"class":154,"line":535},11,[537],{"type":61,"tag":152,"props":538,"children":539},{"style":213},[540],{"type":66,"value":541},"    )\n",{"type":61,"tag":152,"props":543,"children":545},{"class":154,"line":544},12,[546],{"type":61,"tag":152,"props":547,"children":548},{"emptyLinePlaceholder":35},[549],{"type":66,"value":323},{"type":61,"tag":152,"props":551,"children":553},{"class":154,"line":552},13,[554,558,563,567,571,575,579,583,587,591,596,600,604,608],{"type":61,"tag":152,"props":555,"children":556},{"style":175},[557],{"type":66,"value":376},{"type":61,"tag":152,"props":559,"children":560},{"style":181},[561],{"type":66,"value":562}," customer",{"type":61,"tag":152,"props":564,"children":565},{"style":187},[566],{"type":66,"value":404},{"type":61,"tag":152,"props":568,"children":569},{"style":169},[570],{"type":66,"value":448},{"type":61,"tag":152,"props":572,"children":573},{"style":181},[574],{"type":66,"value":357},{"type":61,"tag":152,"props":576,"children":577},{"style":187},[578],{"type":66,"value":413},{"type":61,"tag":152,"props":580,"children":581},{"style":193},[582],{"type":66,"value":461},{"type":61,"tag":152,"props":584,"children":585},{"style":213},[586],{"type":66,"value":201},{"type":61,"tag":152,"props":588,"children":589},{"style":187},[590],{"type":66,"value":237},{"type":61,"tag":152,"props":592,"children":593},{"style":229},[594],{"type":66,"value":595},"create-billing",{"type":61,"tag":152,"props":597,"children":598},{"style":187},[599],{"type":66,"value":237},{"type":61,"tag":152,"props":601,"children":602},{"style":187},[603],{"type":66,"value":287},{"type":61,"tag":152,"props":605,"children":606},{"style":187},[607],{"type":66,"value":487},{"type":61,"tag":152,"props":609,"children":610},{"style":175},[611],{"type":66,"value":492},{"type":61,"tag":152,"props":613,"children":615},{"class":154,"line":614},14,[616,621,625,630,634,638,642,646,651,655,659,663,668,672],{"type":61,"tag":152,"props":617,"children":618},{"style":181},[619],{"type":66,"value":620},"      billing",{"type":61,"tag":152,"props":622,"children":623},{"style":187},[624],{"type":66,"value":413},{"type":61,"tag":152,"props":626,"children":627},{"style":193},[628],{"type":66,"value":629},"createCustomer",{"type":61,"tag":152,"props":631,"children":632},{"style":213},[633],{"type":66,"value":201},{"type":61,"tag":152,"props":635,"children":636},{"style":187},[637],{"type":66,"value":519},{"type":61,"tag":152,"props":639,"children":640},{"style":181},[641],{"type":66,"value":385},{"type":61,"tag":152,"props":643,"children":644},{"style":187},[645],{"type":66,"value":287},{"type":61,"tag":152,"props":647,"children":648},{"style":213},[649],{"type":66,"value":650}," accountId",{"type":61,"tag":152,"props":652,"children":653},{"style":187},[654],{"type":66,"value":221},{"type":61,"tag":152,"props":656,"children":657},{"style":181},[658],{"type":66,"value":439},{"type":61,"tag":152,"props":660,"children":661},{"style":187},[662],{"type":66,"value":413},{"type":61,"tag":152,"props":664,"children":665},{"style":181},[666],{"type":66,"value":667},"id",{"type":61,"tag":152,"props":669,"children":670},{"style":187},[671],{"type":66,"value":399},{"type":61,"tag":152,"props":673,"children":674},{"style":213},[675],{"type":66,"value":532},{"type":61,"tag":152,"props":677,"children":679},{"class":154,"line":678},15,[680],{"type":61,"tag":152,"props":681,"children":682},{"style":213},[683],{"type":66,"value":541},{"type":61,"tag":152,"props":685,"children":687},{"class":154,"line":686},16,[688],{"type":61,"tag":152,"props":689,"children":690},{"emptyLinePlaceholder":35},[691],{"type":66,"value":323},{"type":61,"tag":152,"props":693,"children":695},{"class":154,"line":694},17,[696,701,705,709,713,717,721,726,730,734,738],{"type":61,"tag":152,"props":697,"children":698},{"style":169},[699],{"type":66,"value":700},"    await",{"type":61,"tag":152,"props":702,"children":703},{"style":181},[704],{"type":66,"value":357},{"type":61,"tag":152,"props":706,"children":707},{"style":187},[708],{"type":66,"value":413},{"type":61,"tag":152,"props":710,"children":711},{"style":193},[712],{"type":66,"value":461},{"type":61,"tag":152,"props":714,"children":715},{"style":213},[716],{"type":66,"value":201},{"type":61,"tag":152,"props":718,"children":719},{"style":187},[720],{"type":66,"value":237},{"type":61,"tag":152,"props":722,"children":723},{"style":229},[724],{"type":66,"value":725},"create-crm-contact",{"type":61,"tag":152,"props":727,"children":728},{"style":187},[729],{"type":66,"value":237},{"type":61,"tag":152,"props":731,"children":732},{"style":187},[733],{"type":66,"value":287},{"type":61,"tag":152,"props":735,"children":736},{"style":187},[737],{"type":66,"value":487},{"type":61,"tag":152,"props":739,"children":740},{"style":175},[741],{"type":66,"value":492},{"type":61,"tag":152,"props":743,"children":745},{"class":154,"line":744},18,[746,751,755,760,764,769,773,777,781,785,789,793,798,802,806,810,814,818],{"type":61,"tag":152,"props":747,"children":748},{"style":181},[749],{"type":66,"value":750},"      crm",{"type":61,"tag":152,"props":752,"children":753},{"style":187},[754],{"type":66,"value":413},{"type":61,"tag":152,"props":756,"children":757},{"style":181},[758],{"type":66,"value":759},"contacts",{"type":61,"tag":152,"props":761,"children":762},{"style":187},[763],{"type":66,"value":413},{"type":61,"tag":152,"props":765,"children":766},{"style":193},[767],{"type":66,"value":768},"create",{"type":61,"tag":152,"props":770,"children":771},{"style":213},[772],{"type":66,"value":201},{"type":61,"tag":152,"props":774,"children":775},{"style":187},[776],{"type":66,"value":519},{"type":61,"tag":152,"props":778,"children":779},{"style":181},[780],{"type":66,"value":394},{"type":61,"tag":152,"props":782,"children":783},{"style":187},[784],{"type":66,"value":287},{"type":61,"tag":152,"props":786,"children":787},{"style":181},[788],{"type":66,"value":385},{"type":61,"tag":152,"props":790,"children":791},{"style":187},[792],{"type":66,"value":287},{"type":61,"tag":152,"props":794,"children":795},{"style":213},[796],{"type":66,"value":797}," customerId",{"type":61,"tag":152,"props":799,"children":800},{"style":187},[801],{"type":66,"value":221},{"type":61,"tag":152,"props":803,"children":804},{"style":181},[805],{"type":66,"value":562},{"type":61,"tag":152,"props":807,"children":808},{"style":187},[809],{"type":66,"value":413},{"type":61,"tag":152,"props":811,"children":812},{"style":181},[813],{"type":66,"value":667},{"type":61,"tag":152,"props":815,"children":816},{"style":187},[817],{"type":66,"value":399},{"type":61,"tag":152,"props":819,"children":820},{"style":213},[821],{"type":66,"value":532},{"type":61,"tag":152,"props":823,"children":825},{"class":154,"line":824},19,[826],{"type":61,"tag":152,"props":827,"children":828},{"style":213},[829],{"type":66,"value":541},{"type":61,"tag":152,"props":831,"children":833},{"class":154,"line":832},20,[834],{"type":61,"tag":152,"props":835,"children":836},{"emptyLinePlaceholder":35},[837],{"type":66,"value":323},{"type":61,"tag":152,"props":839,"children":841},{"class":154,"line":840},21,[842,846,850,854,858,862,866,871,875,879,883],{"type":61,"tag":152,"props":843,"children":844},{"style":169},[845],{"type":66,"value":700},{"type":61,"tag":152,"props":847,"children":848},{"style":181},[849],{"type":66,"value":357},{"type":61,"tag":152,"props":851,"children":852},{"style":187},[853],{"type":66,"value":413},{"type":61,"tag":152,"props":855,"children":856},{"style":193},[857],{"type":66,"value":461},{"type":61,"tag":152,"props":859,"children":860},{"style":213},[861],{"type":66,"value":201},{"type":61,"tag":152,"props":863,"children":864},{"style":187},[865],{"type":66,"value":237},{"type":61,"tag":152,"props":867,"children":868},{"style":229},[869],{"type":66,"value":870},"send-welcome",{"type":61,"tag":152,"props":872,"children":873},{"style":187},[874],{"type":66,"value":237},{"type":61,"tag":152,"props":876,"children":877},{"style":187},[878],{"type":66,"value":287},{"type":61,"tag":152,"props":880,"children":881},{"style":187},[882],{"type":66,"value":487},{"type":61,"tag":152,"props":884,"children":885},{"style":175},[886],{"type":66,"value":492},{"type":61,"tag":152,"props":888,"children":890},{"class":154,"line":889},22,[891,896,900,905,909],{"type":61,"tag":152,"props":892,"children":893},{"style":181},[894],{"type":66,"value":895},"      email",{"type":61,"tag":152,"props":897,"children":898},{"style":187},[899],{"type":66,"value":413},{"type":61,"tag":152,"props":901,"children":902},{"style":193},[903],{"type":66,"value":904},"send",{"type":61,"tag":152,"props":906,"children":907},{"style":213},[908],{"type":66,"value":201},{"type":61,"tag":152,"props":910,"children":911},{"style":187},[912],{"type":66,"value":206},{"type":61,"tag":152,"props":914,"children":916},{"class":154,"line":915},23,[917,922,926,930],{"type":61,"tag":152,"props":918,"children":919},{"style":213},[920],{"type":66,"value":921},"        to",{"type":61,"tag":152,"props":923,"children":924},{"style":187},[925],{"type":66,"value":221},{"type":61,"tag":152,"props":927,"children":928},{"style":181},[929],{"type":66,"value":385},{"type":61,"tag":152,"props":931,"children":932},{"style":187},[933],{"type":66,"value":242},{"type":61,"tag":152,"props":935,"children":937},{"class":154,"line":936},24,[938,943,947,951,956,960],{"type":61,"tag":152,"props":939,"children":940},{"style":213},[941],{"type":66,"value":942},"        template",{"type":61,"tag":152,"props":944,"children":945},{"style":187},[946],{"type":66,"value":221},{"type":61,"tag":152,"props":948,"children":949},{"style":187},[950],{"type":66,"value":226},{"type":61,"tag":152,"props":952,"children":953},{"style":229},[954],{"type":66,"value":955},"welcome",{"type":61,"tag":152,"props":957,"children":958},{"style":187},[959],{"type":66,"value":237},{"type":61,"tag":152,"props":961,"children":962},{"style":187},[963],{"type":66,"value":242},{"type":61,"tag":152,"props":965,"children":967},{"class":154,"line":966},25,[968,973,977,981,985],{"type":61,"tag":152,"props":969,"children":970},{"style":213},[971],{"type":66,"value":972},"        data",{"type":61,"tag":152,"props":974,"children":975},{"style":187},[976],{"type":66,"value":221},{"type":61,"tag":152,"props":978,"children":979},{"style":187},[980],{"type":66,"value":260},{"type":61,"tag":152,"props":982,"children":983},{"style":181},[984],{"type":66,"value":394},{"type":61,"tag":152,"props":986,"children":987},{"style":187},[988],{"type":66,"value":989}," }\n",{"type":61,"tag":152,"props":991,"children":993},{"class":154,"line":992},26,[994,999],{"type":61,"tag":152,"props":995,"children":996},{"style":187},[997],{"type":66,"value":998},"      }",{"type":61,"tag":152,"props":1000,"children":1001},{"style":213},[1002],{"type":66,"value":532},{"type":61,"tag":152,"props":1004,"children":1006},{"class":154,"line":1005},27,[1007],{"type":61,"tag":152,"props":1008,"children":1009},{"style":213},[1010],{"type":66,"value":541},{"type":61,"tag":152,"props":1012,"children":1014},{"class":154,"line":1013},28,[1015],{"type":61,"tag":152,"props":1016,"children":1017},{"emptyLinePlaceholder":35},[1018],{"type":66,"value":323},{"type":61,"tag":152,"props":1020,"children":1022},{"class":154,"line":1021},29,[1023,1028,1032,1036,1040,1044,1048,1052,1056,1060,1064,1068,1072,1076],{"type":61,"tag":152,"props":1024,"children":1025},{"style":169},[1026],{"type":66,"value":1027},"    return",{"type":61,"tag":152,"props":1029,"children":1030},{"style":187},[1031],{"type":66,"value":260},{"type":61,"tag":152,"props":1033,"children":1034},{"style":213},[1035],{"type":66,"value":650},{"type":61,"tag":152,"props":1037,"children":1038},{"style":187},[1039],{"type":66,"value":221},{"type":61,"tag":152,"props":1041,"children":1042},{"style":181},[1043],{"type":66,"value":439},{"type":61,"tag":152,"props":1045,"children":1046},{"style":187},[1047],{"type":66,"value":413},{"type":61,"tag":152,"props":1049,"children":1050},{"style":181},[1051],{"type":66,"value":667},{"type":61,"tag":152,"props":1053,"children":1054},{"style":187},[1055],{"type":66,"value":287},{"type":61,"tag":152,"props":1057,"children":1058},{"style":213},[1059],{"type":66,"value":797},{"type":61,"tag":152,"props":1061,"children":1062},{"style":187},[1063],{"type":66,"value":221},{"type":61,"tag":152,"props":1065,"children":1066},{"style":181},[1067],{"type":66,"value":562},{"type":61,"tag":152,"props":1069,"children":1070},{"style":187},[1071],{"type":66,"value":413},{"type":61,"tag":152,"props":1073,"children":1074},{"style":181},[1075],{"type":66,"value":667},{"type":61,"tag":152,"props":1077,"children":1078},{"style":187},[1079],{"type":66,"value":989},{"type":61,"tag":152,"props":1081,"children":1083},{"class":154,"line":1082},30,[1084],{"type":61,"tag":152,"props":1085,"children":1086},{"style":187},[1087],{"type":66,"value":1088},"  },\n",{"type":61,"tag":152,"props":1090,"children":1092},{"class":154,"line":1091},31,[1093],{"type":61,"tag":152,"props":1094,"children":1095},{"emptyLinePlaceholder":35},[1096],{"type":66,"value":323},{"type":61,"tag":152,"props":1098,"children":1100},{"class":154,"line":1099},32,[1101,1106,1110,1115,1119,1123,1128,1132,1137,1141,1145,1149,1153,1157,1162,1166,1170,1174],{"type":61,"tag":152,"props":1102,"children":1103},{"style":193},[1104],{"type":66,"value":1105},"  onFailure",{"type":61,"tag":152,"props":1107,"children":1108},{"style":187},[1109],{"type":66,"value":221},{"type":61,"tag":152,"props":1111,"children":1112},{"style":187},[1113],{"type":66,"value":1114}," ({",{"type":61,"tag":152,"props":1116,"children":1117},{"style":345},[1118],{"type":66,"value":357},{"type":61,"tag":152,"props":1120,"children":1121},{"style":187},[1122],{"type":66,"value":287},{"type":61,"tag":152,"props":1124,"children":1125},{"style":345},[1126],{"type":66,"value":1127}," context",{"type":61,"tag":152,"props":1129,"children":1130},{"style":187},[1131],{"type":66,"value":362},{"type":61,"tag":152,"props":1133,"children":1134},{"style":175},[1135],{"type":66,"value":1136}," =>",{"type":61,"tag":152,"props":1138,"children":1139},{"style":181},[1140],{"type":66,"value":357},{"type":61,"tag":152,"props":1142,"children":1143},{"style":187},[1144],{"type":66,"value":413},{"type":61,"tag":152,"props":1146,"children":1147},{"style":193},[1148],{"type":66,"value":461},{"type":61,"tag":152,"props":1150,"children":1151},{"style":181},[1152],{"type":66,"value":201},{"type":61,"tag":152,"props":1154,"children":1155},{"style":187},[1156],{"type":66,"value":237},{"type":61,"tag":152,"props":1158,"children":1159},{"style":229},[1160],{"type":66,"value":1161},"rollback",{"type":61,"tag":152,"props":1163,"children":1164},{"style":187},[1165],{"type":66,"value":237},{"type":61,"tag":152,"props":1167,"children":1168},{"style":187},[1169],{"type":66,"value":287},{"type":61,"tag":152,"props":1171,"children":1172},{"style":187},[1173],{"type":66,"value":487},{"type":61,"tag":152,"props":1175,"children":1176},{"style":175},[1177],{"type":66,"value":492},{"type":61,"tag":152,"props":1179,"children":1181},{"class":154,"line":1180},33,[1182,1187,1191,1196],{"type":61,"tag":152,"props":1183,"children":1184},{"style":181},[1185],{"type":66,"value":1186},"    cleanup",{"type":61,"tag":152,"props":1188,"children":1189},{"style":187},[1190],{"type":66,"value":413},{"type":61,"tag":152,"props":1192,"children":1193},{"style":193},[1194],{"type":66,"value":1195},"undo",{"type":61,"tag":152,"props":1197,"children":1198},{"style":181},[1199],{"type":66,"value":1200},"(context)\n",{"type":61,"tag":152,"props":1202,"children":1204},{"class":154,"line":1203},34,[1205],{"type":61,"tag":152,"props":1206,"children":1207},{"style":181},[1208],{"type":66,"value":1209},"  )\n",{"type":61,"tag":152,"props":1211,"children":1213},{"class":154,"line":1212},35,[1214,1219],{"type":61,"tag":152,"props":1215,"children":1216},{"style":187},[1217],{"type":66,"value":1218},"}",{"type":61,"tag":152,"props":1220,"children":1221},{"style":181},[1222],{"type":66,"value":532},{"type":61,"tag":1224,"props":1225,"children":1226},"style",{},[1227],{"type":66,"value":1228},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",1776512575235]