Skip to main content
Workflows are in gradual rollout. If you don’t see the Workflows tab under Automations, ask your ClarityQ contact to turn it on for your workspace.
A workflow is a group of agents that share records. Each agent has a goal and runs on its own schedule. On every run it analyzes your data with your Context Layer and skills, decides what needs attention, and can act in your apps, for example open a ticket or update a campaign. Before it changes anything, it can ask for your approval and carry on once someone answers. The records are what the agents remember from one run to the next, and how they pass work to each other.

Workflow or Task?

Use a task for a report. Use a workflow when something should happen as a result.

Who Can Use Workflows

Anyone who can use Ask Anything: Admins, Analyst Contributors, Analysts, and Business Users. A workflow belongs to the person who created it. Only you can see and change your workflows, their agents, and their records. Workflows are not available in an embedded ClarityQ.

The Workflows Tab

Open Automations in the sidebar and choose the Workflows tab. The list shows each workflow with its schedule, last run, next run, and status. Open a workflow’s row to see its agents.
  • Workflow menu: Edit, Add agent, Pause or Resume, and Delete.
  • Agent menu: Run now, Run a test, Pause or Resume, Edit, and Delete.
Click a workflow to open its page. It shows the workflow’s Agents, its Runs, and its Records.

Creating a Workflow

1

Start a new workflow

On the Workflows tab, click New workflow. The editor has two steps: Create agents and What to record.
2

Name the workflow

Enter a Workflow name. It must be different from your other workflows in this workspace.
3

Set up each agent

For each agent, fill in:
  • Agent name. Each agent in a workflow needs its own name.
  • Agent goal. What the agent should do on every run. The agent runs on its own and can’t ask you questions during a run, so write it the way you would ask in a chat and name the skills it should use. Click Improve to have ClarityQ clean up the wording.
  • Apps (optional). The apps the agent can use. See Apps and Approvals.
  • Schedule. Daily, Weekly, or Monthly, at a time you pick.
  • Delivery channel. Where the agent asks for approval and posts the result of every run: one Slack or Mattermost channel, or Email to the recipients you list.
  • If sending fails. What to do when an approved change can’t be sent to the app: Try again on the next run or Drop it.
4

Review what each agent records

Click Next. ClarityQ writes, from each agent’s name and goal, what the agent should write in the workflow’s records and what it should read from them. You can’t edit these instructions directly. To change them, go back and change a name or a goal.
5

Save

Click Save workflow. Each agent is active and runs at its next scheduled time.
After saving, test each agent before its first real run. Open the agent’s menu and click Run a test. See Test Runs.

From a Chat

You can also set up a workflow by describing it:
  • On a new chat, click Create a Workflow, or type /workflow and describe what you want.
  • The agent replies with a Workflow Proposal: the workflow’s name and, for each agent, its schedule, apps, delivery channel, goal, and what it records.
  • Click Edit & Create to open the editor with everything filled in. Nothing is created until you save there. Click Decline if you don’t want it.

Apps and Approvals

An agent can use the apps your admin connected through an API, and the MCP apps you have connected. Each run uses your own connection to the app. For each app you add to an agent, choose how approvals work: An action your admin Blocked is never used. If an app an agent uses is no longer available, the agent’s runs fail with the reason. The agent stays active, so its runs work again once the app is back.

Records

Records are files the agents write and read. An agent reads them at the start of a run to pick up where the last run stopped, and to see what the other agents found. The Records section on the workflow’s page shows the files, read only. Click Download records to save them all.

Editing, Pausing, and Deleting

  • Editing. You can change a workflow only when none of its agents is running. If runs are in progress, ClarityQ asks whether to stop them first. Stopping a run closes any approval request that is waiting, and nothing from it is sent.
  • Changing a name or a goal can change what the agents record. ClarityQ then updates the existing records to match, which can take a few minutes. Until it finishes, the workflow can’t be changed or run.
  • Pause an agent to stop new runs. A run that is already working finishes. A workflow shows Paused when all its agents are paused.
  • Deleting an agent deletes the agent and all its runs. The workflow’s records are kept.
  • Deleting a workflow deletes its agents, all their runs, and all the records. This can’t be undone.