Build

Workflow Preview and Publish

Review, preview, improve, publish.

Portal Workflow

ModelNex Portal
Preview and publish workflows from the portal
Back to Workflows
New User Activation
draft
Save
Preview
Publish
Launch preview in your app with ?modelnex_test_workflow=FLOW_ID
Flow Name
New User Activation
Target Users
All Users
Trigger
On Signup
Launcher
Floating Bubble
Step 1
narrate
Required
orientation / manual_continue
Guide the user to create their first project from the onboarding checklist.
1

Open the draft in Portal

Review generated metadata, copy, checkpoints, and success-state hints.

2

Launch Test & Improve

Run the draft in your app so reviewers can catch copy, targeting, and timing issues.

3

Apply corrections

Save inline edits, feedback-based fixes, or a step re-teach before the next preview pass.

4

Publish after validation

Release only after the latest draft version matches the real customer path.

What To Validate

Every critical target resolves

Broken targets make the experience feel unreliable immediately.

Route recovery lands correctly

The user should return to the intended task, not a nearby page.

Success states match the real UI

Completion copy should reflect the actual post-task screen.

Resume copy still makes sense

If the user returns halfway through, the language should remain coherent.

Re-Teach During Test & Improve

When a draft step is wrong in preview, an authorized reviewer can pause the run and re-teach only that step from the app. The SDK captures the corrected interaction and submits it back to the current draft in the background.

When to re-teach vs edit inline

Use inline edits for simple copy or ordering changes.

Use re-teach when the step logic, target, or expected user action needs to be shown again in the product.

How New Versions Are Created

Portal versions are created when a draft change from Test & Improve is applied. That includes accepted feedback changes and step re-teach corrections.

  1. Start Test & Improve on a draft workflow.
  2. Apply a correction from feedback or from a re-teach capture.
  3. Portal saves the updated draft as the next version, such as v2, v3, or later.
  4. Use Version Inspector to compare applied changes, keep refining the current draft, then publish when ready.
What customers see

Versions are draft revisions for your team. Customers continue to see the currently published workflow until you publish the updated draft.

Programmatic Launch

URL-triggered previews are useful, but production apps often launch a workflow from a button, checklist item, empty state, or chat bubble search flow. Use startWorkFlow(workFlowId) to fetch and start an onboarding workflow directly from code.

tsx
import { useModelNex } from '@modelnex/sdk'

export function SetupButton() {
  const { startWorkFlow } = useModelNex()

  return (
    <button onClick={() => void startWorkFlow('FLOW_ID')}>
      Start Workspace Setup
    </button>
  )
}

In Portal, these code-driven and search-driven launches are grouped under the manual trigger label "Manual or Search".

Fixing Preview Failures

You usually do not need to re-record a flow. Most preview failures can be fixed directly in Portal.

Targeting Error

Agent cannot find the element

Edit the selector or text-match rule so the step points at a stable element.

Timing Issue

Step fires before page load

Add a wait condition or a short delay so the target exists before the agent acts.

Route Mismatch

Recovery lands on the wrong page

Update the step target URL so recovery takes the user back to the intended route.

Copy Update

Narration sounds confusing

Rewrite the step copy in Portal and re-run the preview immediately.

Keep recording and release separate

Use Workflow Authoring for capture and draft generation. Use this page for review, preview, testing, and publish decisions.

View all guides Previous: Author Workflows Next: Knowledge and Documentation