Skip to content
Cognolo

Cognolo is in early access, and its hosted service isn’t open yet. This guide describes how the dashboard and the runtime are built to work. Some parts, such as the GitHub App and the code reader, have so far been tried only on sample code. Ask about early access

Guide › Your app, page by page › Assistant

Workflows

Saved steps people run by hand from the assistant: how to make one, publish it, and let people run it.

A workflow is a saved set of steps someone runs from the assistant panel instead of typing the same requests again. You can make one here and publish it to everyone who has its tools, and your app can let people save their own, which it shares here so you can read them.

Workflows for Sharengeti Business: the switch for each environment, and a Morning check workflow as a design preview and as the published copy.Workflows for Sharengeti Business: the switch for each environment, and a Morning check workflow as a design preview and as the published copy.
Cognolo’s own test app, Sharengeti Business, with sample data.

Let people run them

Let people run saved workflows has a switch for each environment. Your app decides who is offered which of its own workflows; the switch only lets them run, or stops them. Switching it off stops a run that is under way. Turning it on in Production asks you first.

Make a new workflow

  1. Open Assistant, then Workflows, and choose New workflow.
  2. Give it a Name and a short Summary of what it does, and choose the Environment. Try it in Dev first.
  3. Add steps from Steps on the left: Assistant step, Check with me, Pick a path or Repeat. Each new step goes after the one you picked.
  4. Give each assistant step its tools: click a tool under Tools to add it to the picked step, or drag it onto a step. Find a tool searches them.
  5. Write what the assistant should do in each step, in plain words.
  6. Choose Save. The workflow’s own page opens, showing its steps and anything to fix first.
  7. Choose Publish to offer it to everyone in that environment who has every tool it uses. Cognolo asks you first and says what its tools can do.
A new workflow: Steps and Tools on the left, and Name, Summary and Environment on the right, above the first step.A new workflow: Steps and Tools on the left, and Name, Summary and Environment on the right, above the first step.
Cognolo’s own test app, Sharengeti Business, with sample data.

The kinds of step

Assistant step
What the assistant should do, and the tools it may use for it. The assistant chooses the order of those tools, and uses only those in that step.
Check with me
The run waits here until the person says continue. It approves nothing by itself.
Pick a path
A question, and a path for each answer you label. The assistant picks one of your labels; if it can’t decide, the person picks. Each path has its own steps, and an empty one goes straight on.
Repeat
What to do each round, with the tools for it, up to the number of rounds you set (at most 10). Anything but looking something up waits for a person.

Use ↑ and ↓ on a step to move it, and Delete to take it out. A workflow holds up to 12 steps. As you edit, a line under the summary says what its tools can do, for example Reads only.

Editing Morning check: its name and summary, the line saying it reads only, and its first step listing today’s pickups and returns with the todays_activity tool.Editing Morning check: its name and summary, the line saying it reads only, and its first step listing today’s pickups and returns with the todays_activity tool.
Cognolo’s own test app, Sharengeti Business, with sample data.

After you publish

The Morning check page: what it does, its two steps one under the other, and the Edit steps, Publish again and Delete buttons.The Morning check page: what it does, its two steps one under the other, and the Edit steps, Publish again and Delete buttons.
Cognolo’s own test app, Sharengeti Business, with sample data.
  • In the panel. It appears in the assistant panel of everyone in that environment who has every tool it uses, marked From your admin, with What it does to read the steps before they choose Start.
  • Edit steps changes your design preview. Nothing changes for people until you choose Publish again; waiting runs of the earlier version stop the next time someone continues them.
  • Withdraw takes it out of everyone’s panel. Delete removes your design preview; the published copy stays until you withdraw it.
  • Try a copy, on a workflow your app shared, saves your edits as a separate design preview and leaves the app’s own alone.

What stays the same in a workflow

  • Only the person’s own tools. A workflow never gives anyone a tool. Each run needs every tool it names, held by the person running it now.
  • Changes still wait. Each change waits for approval as it would in a chat, at every step, as the skill’s trust level says.
  • Started by a person. Workflows run only when someone starts one. Scheduling comes later.
  • Cognolo never saves one by itself. The assistant can draft a workflow when someone asks, from the lines they typed, and they decide whether to keep it.

The list

Each workflow shows the environment, what its tools can do, how many steps it has, how many times it has run and how the last run ended. Design preview marks one made here; Published marks the copy you offered to everyone. A workflow your app shared also says who shared it (the label your app gives each person). Open one to read its steps.