Let AI choose a workflow branch

Write a question and a few answers. AI reads the record, picks one answer, and the workflow follows that branch.

Web AI 3 min read Updated
In this article

The AI Decision step in an Algus workflow answers a question about the record that started the workflow, for example "Is this a safety concern?". You write the question and the possible answers. AI picks one answer, and the workflow follows the arrow for that answer.

Note

Before you start: available on the Premium, Enterprise and Unlimited plans and uses AI credits. See AI in Algus.

You also need the Create Workflows or Edit Workflows permission.

Add an AI Decision step

  1. Go to Workflows and open the workflow.
  2. Drag AI Decision from Node Types onto the canvas and connect an earlier step to it.
  3. Click the step, then click the gear icon next to it.
  4. Type the Question, for example Is this a safety concern?
  5. Under Answers, type 2 to 6 answers. A new step starts with Yes and No. Click Add answer for more, or the trash icon to remove one.
  6. Optionally type Guidance, for example Injuries, hazards and wet floors are safety concerns. Service quality is not.
  7. Click Save in the panel.

If fewer than two answers are filled in, the step shows Add at least two answers.

Connect one branch per answer

  1. Connect the AI Decision step to the step that should run for the first answer.
  2. Click the arrow's label and choose the answer. The list has every answer plus AI unavailable.
  3. Repeat for each answer.
  4. Connect one more arrow and choose AI unavailable. This path runs when AI cannot run.
  5. Save the workflow.

You can connect several steps to the same answer. All of them run when AI picks that answer.

Tip

Always connect AI unavailable, for example to a Send Notification step that asks a person to look at the record. If nothing is connected to it, that path just ends.

Tips for good questions

  • Ask one thing at a time. Use two AI Decision steps in a row if you need two decisions.
  • Make the answers clearly different, for example Safety, Quality, Service and Other.
  • Add an Other answer when not every record fits your answers.
  • Use Guidance for your own rules, such as what your organization counts as urgent.

Example

A Store Visit feedback workflow asks "Is this a safety concern?":

  • Yes → Create Incident of type Customer Safety.
  • No → Create Issue in the Customer Complaint category.
  • AI unavailable → Send Notification to the store manager.

Good to know

  • When AI unavailable is used: the AI wallet does not have enough credits, the plan does not include workflow AI, the AI service did not answer with one of your answers, or the step has no question or fewer than two answers.
  • Activity log: the decision is written to the record's activity log, with the question, the answer and a short reason. When AI could not run, the log says the decision was skipped.
  • Plan: without workflow AI, AI Decision shows a Premium badge in Node Types and cannot be dragged onto the canvas.

What AI reads

AI reads only the record that started the workflow. It never receives people's names, email addresses or phone numbers.

Workflow starts fromWhat AI reads
FeedbackThe answers (personal details questions are left out), the score %, the NPS group, and the AI sentiment and summary when they exist
InspectionsThe template, site, score % and the answers
TasksThe title, task type, status, priority and description
IssuesThe title, category, status, priority, location and description
IncidentsThe title, incident type, status, severity, risk score, location and description

Frequently asked questions

It depends on how much AI has to read. A long inspection uses more than a short feedback comment. See AI credits.

The step follows the AI unavailable branch, and nothing is charged for that decision.

Yes. Use the start step's conditions to decide whether the workflow runs, for example only for low scores. Then use AI Decision to decide what happens next.

Was this article helpful?

Still need help? Contact support