Documentation article

Create your first workflow.

A complete technical article with mobile navigation, table of contents, code controls, related guides and feedback.

Open documentation navigationDocumentation homeQuick startHelp center

Create a fictional workflow run, inspect a static response and understand the frontend interface states.

The endpoint, token and response are fictional. No request is sent.

Overview

This guide demonstrates a coherent developer experience for the template. A real product must provide its own package, endpoint, credentials, validation and error behavior.

1. Initialize the client

Use an explicit endpoint and keep credentials outside public frontend source code.

const nexora = createClient({
  endpoint: "https://api.example.test",
  token: process.env.NEXORA_TOKEN
});

2. Trigger a workflow

const run = await nexora.workflows.trigger({
  workflow: "lead-enrichment",
  input: { email: "ava@example.test" }
});

3. Handle the response

Use status and structured error fields rather than parsing message text.

{
  "id": "run_demo_8f2",
  "status": "queued",
  "created_at": "2026-07-11T12:00:00Z"
}

Next steps

  • Add a review checkpoint.
  • Map one fictional integration.
  • Define visible exception states.
  • Replace all demonstration content with real API behavior.
Related articles

Continue through the fictional documentation set.

Local links and complete article cards.

Role model

Plan builders, reviewers and administrators.

Explore →

Integration setup

Map scopes and destinations.

Explore →

Observe workflow runs

Read status, duration and exceptions.

Explore →
Need more context?

Continue building the documentation journey.

Use the previous/next controls or return to the searchable documentation home.

Contact support

Cookie preferences