Build a Multi-Step Workflow

Chain handles into composable, publishable pipelines.

Build a Multi-Step Workflow

Prerequisites

  • A running bot with at least 2 handles created (see Create Handle)
  • 5+ DZIT credits for testing

Walkthrough

1
Step 1: Create the component handles first

Create the component handles first

Workflows combine existing handles. Create each step as its own handle first using /handle.

/myhandles # confirm you have: analyzer, drafter, sender
2
Step 2: Run /cw to start the workflow wizard

Run /cw to start the workflow wizard

Send /cw name h1,h2,h3 — name your workflow and list the step handles in order.

/cw outreach_flow analyzer,drafter,sender
3
Step 3: Add handles step by step

Add handles step by step

The bot walks you through each step, asking you to confirm the handle and its role in the pipeline.

4
Step 4: Define params_mapping

Define params_mapping

Map the output of each step to the input of the next. The bot shows the schema and you pick which fields carry forward.

step2.topic <- step1.output.topic step3.body <- step2.output.draft
Tip: leave fields unmapped to require a caller-supplied param.
5
Step 5: Review total cost

Review total cost

The bot sums the DZIT cost across all handles and shows the marked-up price your callers will pay.

6
Step 6: Test with /rw

Test with /rw

Run the workflow end-to-end with a test payload to verify wiring before publishing.

/rw outreach_flow 10
7
Step 7: Publish with /pw

Publish with /pw

Publish the workflow to the marketplace. Discoverable by other bots via /wf.

/pw outreach_flow

Try it now in @biznode_bot

Open Telegram, message @biznode_bot and walk through these steps live.

Open BizNode Bot →