Building a Workflow on the Canvas
Add Steps to a workflow, connect them in the order they run, set each Step up, and move around the canvas.
Build With Steps and Connections
A workflow opens on its canvas. You add Steps from the list on the left, connect them in the order they run, and click a Step to set it up in the panel on the right. Everything saves as you go.
If Spark built this workflow, a later Spark change replaces every Step, including Steps you add here, such as a Condition Step, and the edits you make to them. Finish asking Spark for changes before you edit here. See What a Spark Change Replaces.
The Workflow Editor
The top of the editor holds:
| Item | What it does |
|---|---|
| Workflow name | Click it to rename the workflow. Press Enter to save the new name, or Escape to cancel. |
| Draft or Published | Whether Members with access can use the workflow. |
| Auto-Saved | Shows once your latest change is saved. While a change saves, it reads Saving.... There's no Save button. |
| Canvas and Settings | Switch between the Steps and the workflow-level settings. See Workflow Settings. |
| Full Screen | Hides everything but the editor. Click Exit Full Screen or press Escape to go back. |
| Undo and Redo | Step back through your changes on the canvas, or forward again. |
| Share | Appears once the workflow is published. If your plan doesn't include share links, it shows a lock. See Share Links. |
| Preview and Publish | Run the workflow in a new tab, or make it available to Members. See Testing and Publishing a Workflow. |
Below the top bar, the Steps list sits on the left, the canvas in the middle, and the selected Step's settings on the right.
Add a Step
The Steps list on the left groups the Steps you can add:
| Group | Steps |
|---|---|
| Input | Human Input and Opt-In |
| Content | Info |
| Agent | Agent |
| Logic | Condition and Compute |
| Output | Save to Profile and Webhook |
Type in Search Steps... to find a Step by name or description. See Step Types to pick the right one.
To add a Step, do one of these:
- Click it. ThoughtFlow adds the Step below the last Step you added and connects them.
- Drag it onto the canvas. ThoughtFlow connects it the same way and places it below that Step. If there's nothing to connect it to, the Step lands where you drop it.
If the last Step you added already leads to another Step, the new Step joins at the end of that path. Right after a Condition Step, the next Step you add connects to its True branch. Connect the False branch yourself.
The new Step opens in the panel on the right, ready to set up.
A workflow can have only one Opt-In Step. If you try to add a second, ThoughtFlow says so and doesn't add it.
Connect Steps
Each Step has a dot at the top, where a connection comes in, and a dot at the bottom, where one goes out. To connect two Steps, drag from the bottom dot of the first Step to the top dot of the next.
The connections set the order your Steps run in, not where the Steps sit on the canvas.
- A Condition Step has two dots at the bottom, labeled True and False. Drag from the one for the path you're building. Connect both before you publish. See Condition Step.
- A Human Input Step can connect to a Step that no other Human Input Step connects to. If you try a second one, ThoughtFlow says "A step can only receive one Human Input connection".
To remove a connection, hover over it and click the X that appears.
Set Up a Step
Click a Step to open its settings on the right. Every Step has:
| Setting | What it does |
|---|---|
| Step Name | The Step's name on the canvas. Members see it in the progress list unless you set a Progress Label. |
| Description | A note about what the Step does. It shows on the Step's card on the canvas. |
| Progress Label | What Members see in the progress list while this Step runs. Leave it blank to use the Step name. |
| Hide from Progress List | Leaves the Step out of the progress list. The Step still runs. |
The rest of the settings depend on the Step type. Each Step type has its own page under Workflow Steps, starting with Step Types. An Agent step also has Pause for Human Review. See Human Review.
To keep the panel out of the way while you look at the canvas, click Minimize Panel. Click Expand Panel to bring it back. Drag the panel's left edge to make it wider or narrower. Click Close or click an empty spot on the canvas to close it.
Duplicate, Delete and Rename Steps
Hover over a Step and click the three dots on its card to open the Step Menu:
- Duplicate adds a copy of the Step, with its settings, next to the original. The copy isn't connected to anything.
- Delete asks you to confirm, then removes the Step and its connections.
You can also select a Step and press Delete or Backspace, or click Delete Step at the bottom of its settings. If you delete a Human Input Step whose answers other Steps use, the confirmation lists those answers and the Steps that use them. Those Steps lose the answers.
To rename a Step, change its Step Name.
Move Around the Canvas
The toolbar on the canvas holds:
| Button | What it does |
|---|---|
| Select | Click Steps to select them, or drag across the canvas to select several. |
| Pan | Drag to move around the canvas. |
| Zoom Out and Zoom In | Change how close you are. |
| Fit View | Fits every Step on the screen. |
| Minimap | Shows or hides a small map of the whole workflow. |
Drag a Step to move it. Where a Step sits doesn't change when it runs.
Undo and Redo also work from the keyboard: Ctrl+Z or Cmd+Z to undo, and Ctrl+Shift+Z or Cmd+Shift+Z to redo.
Fix Step Warnings
A warning icon on a Step's card means something in it needs your attention. Hover over the icon to read what.
Some warnings stop you from previewing or publishing the workflow until you fix them, such as an Agent step with no instructions or a Condition Step with an unconnected branch. Others are reminders, such as an Info Step with nothing to show. See Testing and Publishing a Workflow.