Workflows Overview
Understand what a workflow is and how a Member moves through one, and find, create, duplicate and delete the workflows in your App.
What a Workflow Is
A workflow is a tool made of several Steps, run in order. Some Steps ask your Member for something, such as answers to a few questions. Others do work, such as an Agent step that writes a draft. You build workflows on a canvas on the Workflows page. Your Members never see the word "workflow": to them, everything you build is a tool.
When to Build a Workflow
An agent does its work in one step. Build a workflow when the work needs more than one:
- Several pieces of work. One Agent step drafts an outline, the next writes from it, and a third turns it into an email.
- Your Member at the right moments. Instead of handing your Member one long result to check at the end, a workflow can stop after a Step so they review that Step's result before the rest of the work builds on it. See Human Review.
- A conversation followed by more work. An agent can't start another tool when it finishes. To chat with a Member and then do more with what they said, build one workflow whose Agent step uses a chat agent, followed by the Steps that do the rest.
- Different paths for different Members. A Condition Step sends the workflow down one path or another based on an answer or a score. See Condition Step.
If one form and one result is all the tool needs, a form agent is simpler. See Agents Overview.
How a Member Moves Through a Workflow
-
The start screen. If the workflow shows one, your Member sees its icon, title and description, and clicks the start button. Otherwise the workflow opens on its first Step.
-
The Steps. Each Step runs in the order the canvas connects them. A Step that asks for something, such as a Human Input Step, shows a form and waits. A Step that does work, such as an Agent step, runs while your Member watches a progress list. An Agent step with Pause for Human Review stops so your Member can see its result before the workflow continues.
-
The completion screen. When the last Step finishes, your Member sees the completion title, any text or video you added, and the Assets you chose to show. Run Again starts the tool over.
If your Member leaves partway through, they can come back to the run from Activity.
The Workflows List
Click Workflows in the top navigation to see every workflow in your App, published or not.
Each row shows:
| Column | What it shows |
|---|---|
| Name | The workflow's name. Click it to open the workflow on the canvas. |
| Visibility | Open, Private or Secret. See Publishing and Visibility. |
| Last Modified | When the workflow was last changed. |
| Status | Published or Draft. Members never see drafts. |
Three icons can appear next to a name:
- A warning icon: "Uses deprecated model. Please update." A Step's AI model is being retired. Open the workflow and choose a new model for that Step. See Agent Step.
- A red alert icon: "A webhook delivery failed. Click to see recent deliveries." Click it to open Webhook Deliveries. See Webhook Step.
- A share icon: "Shared with a public link." The workflow has a share link. See Share Links.
Find a Workflow
- Search Workflows finds workflows by name.
- Sort orders the list: Newest First, Oldest First, Name A-Z, Name Z-A, Published First or Draft First.
- Group splits the list by Status (Published and Draft). Choose None for one list.
- Reset all clears your search, sort and grouping.
Row Actions
Click the three dots at the end of a row to see:
| Action | What it does |
|---|---|
| Edit | Opens the workflow on the canvas. |
| Duplicate | Makes a copy. See Duplicate a Workflow. |
| Webhook Deliveries | Shows the workflow's recent webhook deliveries and whether each one was Delivered, Failed, Interrupted or In Progress. It appears only for workflows with a Webhook Step. |
| Delete | Deletes the workflow. See Delete a Workflow. |
See What Your Members See
Click Member View at the top of the page. It opens the Tools page your Members use, so you can check how your published tools look to them.
Create a Workflow
Click Create Workflow
On the Workflows page, click Create Workflow. If your App has no workflows yet, the page says No Workflows Yet and the button reads Create Your First Workflow.
Name it
In Create a Workflow, type a name, such as "Client Intake to Draft Brief". You can change it later. Each workflow in your App needs its own name.
Click Create
ThoughtFlow opens the new workflow on the canvas. It starts as a Secret draft. See Building a Workflow on the Canvas.
You can also have Spark build a workflow for you by describing what you want. See Spark Overview.
You build workflows on a computer or tablet. On a phone, the canvas doesn't open.
Duplicate a Workflow
Duplicating gives you a copy to experiment with while the original keeps working.
Open the row menu
On the Workflows page, click the three dots at the end of the workflow's row.
Click Duplicate
ThoughtFlow makes the copy and opens it on the canvas. Its name ends in " (Copy)".
The copy starts as a Secret draft, whatever the original's visibility and status. Members can't see it until you publish it and give them access.
| The copy keeps | The copy doesn't keep |
|---|---|
| Name (with " (Copy)" added) and description | The icon |
| Every Step, with its settings, input fields and knowledge | Start Screen Title, Start Screen Description and Start Button Text |
| The connections between Steps | The completion screen: Completion Screen Title, Completion Text, Completion Video URL, Show Assets and Assets to Display |
| Output Name and Show Start Screen | Save Outputs to Member's User Knowledge |
After duplicating, check the copy's start screen, completion screen and Save Outputs to Member's User Knowledge on its Settings tab before you publish it. See Workflow Settings.
Spark can't work on a copy. It changes only the tools it built in a session.
Delete a Workflow
Open the row menu
On the Workflows page, click the three dots at the end of the workflow's row and click Delete.
Confirm
In the window that asks to delete the workflow, click Delete.
You can't restore a deleted workflow from the app. Runs and Assets created before you deleted it stay where they are.
If you only want Members to stop seeing a workflow, unpublish it instead. See Testing and Publishing a Workflow.