Dynamic Choice Fields
Offer your Member choices built while the workflow runs, from an earlier Agent step's result, a User Knowledge field or their saved Assets.
Offer Choices Built From Your Member's Own Work
A Dynamic Choice field is a question whose options you don't type in. ThoughtFlow builds them when your Member reaches the Step, from an earlier Agent step's result, from a User Knowledge field, or from your Member's saved Assets. Your Member picks one, and the Steps after it work from that choice. Use it to let your Member pick one of five angles an Agent step suggested, one goal from their profile, or the client plan they saved last week, without retyping any of it.
Dynamic Choice fields work only in Human Input Steps. Form agents and Opt-In Steps don't offer them.
Spark doesn't add Dynamic Choice fields. If Spark built this workflow, a later Spark change replaces every Step, including the Dynamic Choice fields you add here. Finish asking Spark for changes first. See What a Spark Change Replaces.
Add a Dynamic Choice Field
Add a field to a Human Input Step
Click the Human Input Step, then click Add Field under Input Fields. Type your question in the label box, such as "Which angle do you want to write about?" See Human Input Step.
Change its type to Dynamic Choice
In the type list, choose Dynamic Choice.
Choose the Options Source
Choose Step Output, User Knowledge Field or Assets. The settings for that source appear below it. See Choose Where the Options Come From.
Decide what your Member can do
Turn on Allow Editing or Allow Writing Their Own if you want to, and change Message When Empty if the default doesn't fit. See Let Your Member Edit or Write Their Own.
Choose Where the Options Come From
| Options Source | Where the options come from | Settings |
|---|---|---|
| Step Output | The result of an Agent step earlier in this run. | Step, Section Heading, Options Are |
| User Knowledge Field | The value saved in one of your Member's User Knowledge fields. | User Knowledge Field, Section Heading, Options Are |
| Assets | Your Member's saved Assets in this App. | Only Assets From, Only Asset Names Containing |
Step Output
Under Step, choose the Agent step whose result becomes the options. The list shows only Agent steps that run before this Human Input Step. If that Agent step paused for Human Review, the options come from the result your Member approved, with their edits.
If the Agent step didn't run, for example because a Condition Step sent the run down the other branch, your Member sees the Message When Empty.
User Knowledge Field
Under User Knowledge Field, choose the field to read. Knowledge Log fields can't be used. See User Knowledge Fields.
Assets
Each option is one of your Member's saved Assets, shown by its name. When the Assets come from more than one tool, your Member sees them grouped under each tool's name.
- Only Assets From limits the options to Assets from the workflows you check. This Workflow is first in the list. Leave everything unchecked to offer any of your Member's Assets in this App, from any workflow or agent.
- Only Asset Names Containing limits the options to Assets whose name contains the text you type, such as "Client Plan".
When your Member picks an Asset, the Steps after it receive the Asset's full content.
Pair this with Asset Name on the Step that saves the Asset. If one tool names its Assets "Client Plan - " followed by the client's name, a later tool can offer only the Assets containing "Client Plan". See Step Types.
A Dynamic Choice field offers up to 50 options.
People who use the tool through a share link aren't signed in, so a field that reads from a User Knowledge field or from Assets shows them the Message When Empty. See Share Links.
How Options Are Read From Text
For Step Output and User Knowledge Field, ThoughtFlow reads the options from the text:
- Options Are sets what makes one option. List Items turns each item in a bulleted or numbered list into an option. Subheadings turns each of the highest-level headings into an option, with the text under it.
- Section Heading limits the options to the part of the text under a heading with this name. Capitals and bold don't matter. Leave it blank to use the whole text. If no heading matches, there are no options.
- Each option shows your Member its first line. A numbered item keeps its number.
- The Steps after it receive the whole option, including any lines nested under it.
For example, an Agent step returns this result:
## Angles
- The pricing mistake most coaches make
Open with a client story about undercharging.
- Three questions to ask before you raise your prices
- Why your best clients want to pay more
## Next Steps
- Pick one angle and draft the opening
With Section Heading set to "Angles" and Options Are set to List Items, your Member sees three options. If they pick the first one, the Steps after it also receive "Open with a client story about undercharging."
Tell the Agent step how to format its result. For example, end its instructions with "List five angles as a bulleted list under a heading called Angles." Then the options come out the same way every run.
Let Your Member Edit or Write Their Own
| Setting | What your Member can do |
|---|---|
| Allow Editing | After picking an option, change its text in an Edit Your Choice box before continuing. What they leave in the box is their answer. Offered for Step Output and User Knowledge Field. |
| Allow Writing Their Own | Pick Write My Own and type their own answer instead. |
| Message When Empty | The text your Member sees when there's nothing to choose from. Leave it blank to show "There's nothing to choose from yet." With Allow Writing Their Own on, a box to type their own answer appears under it. |
What the Steps After It Receive
The Steps after the Human Input Step receive the full text of your Member's choice, their edited text, or the answer they wrote. For an Asset, they receive the Asset's content. Insert the answer anywhere Insert Variable lists the field under Input Fields. See Variables.
Fix Dynamic Choice Warnings
A Human Input Step with a Dynamic Choice field that needs attention shows a warning on its card. These warnings don't stop you from previewing or publishing, but until you fix them your Member may see the Message When Empty instead of options. For a field labeled "Which angle?", the warnings read:
| Warning | What to do |
|---|---|
| "Choose where the options come from for the Dynamic Choice field "Which angle?"." | Choose an Options Source. |
| "The Dynamic Choice field "Which angle?" needs an Agent step that runs before this step." | Choose an Agent step under Step, and check that it's connected before this Human Input Step. |
| "The Dynamic Choice field "Which angle?" needs a User Knowledge field that exists." | Choose a User Knowledge Field. The one you chose may have been deleted. |
| "The Dynamic Choice field "Which angle?" can't read a Knowledge Log. Choose another User Knowledge field." | Choose a field that isn't a Knowledge Log. |
| "The Dynamic Choice field "Which angle?" limits Assets to a workflow that no longer exists." | Under Only Assets From, uncheck the item marked Unavailable. |