Skip to Content

Workflows

What a workflow is and how it helps

A workflow is a multi-step process you build on the workflow canvas and can run again and again. Each step does one part of the work and produces a result. Later steps can use earlier results as references.

When a step changes, Vita Dream shows which later results it affects. You decide what to run again.

The workflow canvas with its parts numbered: 1 the credit chip; 2 Ask PAM; 3 Save version; 4 the More actions menu; 5 the banner for steps that need setup; 6 a Decide step; 7 a Repeat block; 8 the toolbar.

  1. The credit chip: how much credit is left. See plans and billing.
  2. Ask Vita Dream: the assistant that builds and edits the workflow.
  3. Save version: saves a snapshot of the workflow.
  4. More actions: Run history, Versions, and duplicating, sharing, exporting or archiving the workflow.
  5. The banner for steps that still need setup before you run. Show me takes you to the first one and Next moves through the rest. Each of those steps is also marked Needs setup on the canvas, with Set up as its button.
  6. A Decide step with a Yes and a No branch.
  7. A Repeat block holds the steps that run for each item.
  8. The toolbar: Add step, Templates, Arrange and Fit. Zoom sits under the minimap, in the bottom-left corner.

If a change can’t be saved, Couldn’t save appears beside the workflow name; hover it to see why. Your next edit tries again.

When to use it

A workflow helps with work that goes through several stages, when the sequence of steps is settled, when many inputs need the same process, or when you need a history of each run. If the way you do the work still changes a lot from job to job, write a playbook first or use an Agent step for the flexible part.

If you are not sure what the steps should be, start from a session that gave good results, then rebuild those steps as a workflow. You can also describe the output you need to Ask Vita Dream so the assistant proposes a draft of the steps.

See choosing how to work to compare workflows with sessions and playbooks.

How to use it

Build a workflow

For each step, answer three questions: what it takes in, what it does and what it returns. For example, follow this order and you have a workflow that runs:

  1. Choose New workflow → Start from scratch. The blank canvas opens Build your workflow: pick a step card to add it, switch to Templates to take a template’s steps, or, if your Vita Dream has Ask Vita Dream, choose Draft with Vita Dream to have Vita Dream build it.
  2. Add the first step, usually Ask or Media (where input comes from).
  3. Open each step, name it after its job and fill in its settings.
  4. Add the next steps and connect them.
  5. Test-run each step, check its results and adjust the prompt if it isn’t right.
  6. When the process works, save a version and keep the results you need.

Step types

Pick a step by what you want to do. You don’t need all of them. A simple poster workflow might need only Ask to take the request, Write to write the copy and Image to create the image. Steps fall into four groups:

The Add step menu fully open, showing every step type with a short description.

Each step type has a one-line description to help you pick.

Take input

StepUse it toExample setupResult
AskAsk the person running it and wait for an answer: text, a choice or a fileAsk “What’s the product name and the message to get across?” with Free textThe runner’s answer
MediaBring an existing file into the workflow. It creates nothing newUpload a product photo used on every runA file for later steps to mention

Create content

StepUse it toExample setupResult
WriteWrite headlines, scripts, prompts or lists of contentMention the answer from Ask and ask for “Write one headline, no explanation”Text, or a list
ImageCreate or edit images from a description and referencesMention the headline, choose 1:1, add the product photo as a reference and say the shape must stay the sameAn image
VideoCreate video from a description and inputs the model supportsChoose an image as the first frame and describe the motion. Check that the model accepts that kind of input. A model that takes only frames, such as Veo, uses each image as the First frame or End frame With a model that edits a clip, turn on Edit task next to the clip: it edits that clip and keeps its lengthA video
SpeechRead text aloud, optionally with a sample voiceChoose the content from Write. To change the wording, edit the input text: this step doesn’t rewrite it. When you pick a recording to clone a voice, you confirm you have the right to clone itAn audio file
MusicCreate a song or background music, with or without lyricsDescribe the background music, tempo and mood. Say whether it needs lyricsAn audio file
TranscribeTurn a recording into textChoose an audio file, or an audio output from an earlier stepText

In a Write step, Structured output decides the shape of the result: choose Document for a piece of text, or List of records for a list that a Repeat step can work through item by item.

Hand flexible work to an Agent

StepUse it toExample setupResult
AgentHand off work where Vita Dream chooses how to do it, as in a session“Apply the product launch playbook, clarify missing information and create suitable options”Artifacts, with the conversation

Agent works with the brand context, playbooks and connectors. It can stop to ask you something, or ask permission before running a connector action (see respond when a run needs you). Give clear-cut work such as “write a headline of at most 6 words” to Write. Use Agent only when the work needs choices about how to do it.

Branch and repeat

StepUse it toExample setupResult
DecideChoose the Yes or No branch by a conditionIn Continue when, choose an earlier step’s conclusion, the comparison and the target valueOnly the matching branch runs
RepeatDo the same work for each item in a listWith a list of headlines, the Image step inside uses Current item to create one image per headlineOne result per item

Decide doesn’t judge open questions such as “is this image good enough?”. If you need a judgement, have Write or Agent reach a conclusion first, then have Decide check that conclusion.

For Repeat, choose where the list comes from in Repeat over:

  • A step’s list: the list changes with each run, such as three pieces of copy from Write.
  • A list I write: the list is known in advance, such as the three ratios 1:1, 4:5 and 9:16.

In the steps inside, choose Current item so each pass gets its own item. Shared sources, such as the product photo, are referenced as usual.

The Setup tab of an Image step inside Repeat: the prompt with a mention chip for the Ask step and a Current item chip, with Image model and Aspect ratio below.

Current item shows as a chip in the prompt, next to mentions of other steps.

Input, settings and connections

Where does input come from?

Use Ask for information that changes on every run, such as the product name or the discount. When the run reaches Ask, it stops and waits for the person running it to answer. You can also put Ask mid-process, when you need that person to decide after seeing earlier results.

Use Media for a fixed file, such as a product photo used on every run. In this step you can pick several brand assets at once, or drag in files and whole folders from your computer. Drag files onto a step card to add them to that step, drop them on empty canvas to create a new Media step, or drag files from one step to another. A step can also reference a brand asset directly without a separate Media step.

Fill in each step’s settings

Name the step after its job, such as “Write headline”, then fill in the fields for that step type. Don’t just add steps and draw connections: a step with a missing input or model isn’t ready to run. In the prompt, say what the step should do with its input, not just insert a mention.

Connect steps and reference data

To connect, drag from a step’s port and drop on the receiving step. For Repeat, drop on the top of the card. For Decide, drop on the Yes or No branch row.

Connections set the run order. When you connect two compatible steps, Vita Dream adds a mention of the source to the receiving step’s prompt. For example, connecting Write → Image adds the Write output to the Image prompt.

Open the receiving step’s settings to check the source was added, then write how to use it, such as “Use the headline from the Write step word for word”. You can still type @ or choose References to add other sources. If a connection can’t be added to the prompt (as with the branches of Decide), set that source in the receiving step’s own field.

Run and rerun

Test-run each step or group of steps before running the whole process, and check both the content it creates and whether the step got the right input. Run buttons show the credits the run will use, unless a step it runs is left on the Default model.

Run this step, Run selection and Update step (Update 3 steps when several steps use changed inputs, with the real number) start a new run with your latest changes on the canvas. Rerun and Rerun from here make another attempt with the settings the run started with, when you only want another option.

ActionWhereWhat runs
Run this stepThe play button on a stepThis step, plus the earlier steps it needs
Run selectionThe toolbar, when several steps are selectedExactly the selected steps
RerunOn a step’s result. On an Ask step it is Ask againThis step only
Rerun from hereThe arrow next to Rerun → This step and everything afterThis step and the later steps that use its result
Update step / Update 3 stepsThe banner when steps use changed inputsEvery step that uses outdated information

While a run is going, you can Pause it (nothing new starts, work in progress finishes) and then Resume, or Cancel run. Steps already running still finish and are charged. Steps not started are cancelled free.

When a step changes

When you change an answer, a choice or a setting, later results that used the old information are marked as outdated, and the workflow canvas reports steps that use changed inputs. Old results stay in the history. Vita Dream doesn’t delete or rerun anything on its own. Choose Update step / Update 3 steps, run steps one by one with Run this step, or keep the current results.

For example, after you change the discount in Ask, the poster made with the old discount is marked as outdated. Choose Update step / Update 3 steps to recreate the poster with the new discount.

Follow each step’s results

Each time a step runs, it creates an attempt. If a step has several attempts, later steps use the selected one.

The Details tab of an Image step that ran twice, showing Attempt 1, Attempt 2, the Use attempt 1 for later steps button and the image passed to later steps.

Later steps use the selected attempt. The Details tab shows which attempt is being passed on.

For a different result, edit the step’s prompt, for example add “brighter background”, then choose Run this step. Or create a new step of the same type, mention the old step’s result and add your edit request.

Results don’t go to the library on their own. When the run finishes, choose Review outputs and mark the results you want to keep. Agent results need to be opened and then saved.

Save a version

Choose Save version to save a snapshot of the workflow with its current results. Open More actions → Versions to look back at saved versions, or Restore to return the draft to an earlier version. A run always uses the draft on the canvas, not a saved version.

The Versions panel opened from More actions, with two saved versions and the Restore button.

Restore an earlier version from this panel.

Build and edit workflows with Ask Vita Dream

Ask Vita Dream is an assistant that helps you build and edit the workflow itself. It isn’t the Ask step: the assistant doesn’t run inside the workflow. You describe the output you need, or say where a run went wrong. The assistant reads the steps and the actual runs, then proposes changes.

  1. Open Ask Vita Dream while you are editing the workflow.
  2. Choose a starter (see the table below), or write your own request.
  3. Read the Proposed changes card: each line is one change, such as adding, changing, deleting, connecting or disconnecting a step.
  4. Choose Apply if you agree, or Apply and run the step (Apply and run 3 steps for several) when the proposal includes steps that should run again. If it isn’t right, say what to change in the composer so the assistant proposes again.

After you apply, Vita Dream makes the change on the canvas one step at a time, the way a person would: its pointer moves to each step, new steps land and their connections draw in, changed steps flash and deleted steps fade out. Everyone who has the workflow open sees it. Your view follows Vita Dream so the steps it works on stay on screen; pan, zoom or press Esc to stop following. If you edit the workflow while Vita Dream is still placing steps, the rest appears at once. A change of more than 30 steps appears at once, and nothing is animated when your device is set to reduce motion.

When someone deletes a step you are on

When another member, or Vita Dream working for them, deletes a step you have selected, have open or are typing in, Vita Dream says who deleted it and offers Restore for 10 seconds. Restore puts the step back as you last saw it, including text you had not finished typing, with its connections and its place in a group if those still exist.

Going further

Respond when a run needs you

SituationWhat you seeWhat to do
The run reaches an Ask stepThe status Needs your inputChoose Answer. The choices shown are only suggestions: you can type a different answer
Agent needs to ask or get permissionA question, or a request to approve a connector actionAnswer, or approve or decline it right in the run
A step failsThe status Needs attention and a Fix step buttonChoose Fix step to go to that step, fix the settings and run it again

Ask Vita Dream: starters, history and permissions

The starters change with the state of the workflow:

WhenStarterWhat the assistant does
The workflow has no stepsDescribe the output you needAsks you a few short questions, then proposes steps
The workflow has no stepsBuild from a typical processStates its assumptions and proposes right away
The workflow has stepsDiagnose the last runReads the latest run to find what went wrong and proposes fixes
The workflow has stepsReview the stepsGoes through the steps and proposes improvements
The workflow has stepsDistill a reusable ruleReads the run and your feedback, then proposes a new playbook or an update to one. Playbooks are also saved only when you apply

Other things to know:

  • Attach context with @: in the assistant’s composer, type @ to choose a session or a workflow run (the Sessions group), or another workflow (the Workflows group). You can also attach files.
  • Outdated proposals: once handled, the card records what happened, such as Changes applied or Changes requested. If the workflow has changed since the assistant made its proposal, ask the assistant to propose again.
  • Conversation history: each workflow keeps its conversations with the assistant. You can copy a link to a conversation to share it with other members. Other people’s conversations are read-only. To follow up, start your own conversation.
  • Permissions: you can use the assistant when you can edit the workflow, which means Editor or above, and not while viewing an earlier version.

Share, export and copy workflows

From the workflow menu, you can:

  • Share with link to send the workflow to others to view. The share link uses the current draft, not a saved version.
  • Export as JSON so others can recreate it with Import JSON.
  • Duplicate workflow to try a different approach.
  • Archive workflow when you no longer use it. You can restore it later.

When a workflow is copied to another brand, its media files are copied with it. Steps that use brand guidelines use the receiving brand’s guidelines. Other documents from the original brand don’t come along. The step notes what you need to attach instead.

Permissions, limits and location in the app

Every member of the brand can see the list of workflows. Editor or above can create, edit, save versions of and run workflows. By default, each run is visible only to the person who ran it, the Owner and Admins. The person who ran it can share the run with the whole brand.

See brands, members and roles for permissions, limits for the number of steps and concurrent runs, or capabilities and models for sample workflows.