Ejento AI
Guides
QuickstartRecipesREST APIsRelease NotesFAQs
Guides
QuickstartRecipesREST APIsRelease NotesFAQs
Ejento AI
  1. Guides
  • Basic Operations
    • Features
      • Organization → Projects → Assistants → Teams Hierarchy
    • Guides
      • Login/Signup
  • Assistants
    • Overview
    • Features
      • Assistant Access Control
      • Assistant Evaluation
      • Evaluation Metrics
      • URL-based Chat Thread Creation and Prepopulation
      • Reasoning Patterns
      • Staging & Publishing
    • Guides
      • Add Assistant
      • Evaluate Assistant
      • Edit Assistant
      • Assistant Edit Access
      • Embed Assistant
      • Delete Assistant
      • Add Favourite Assistants
      • View Assistant Id
      • Voice Calling with Assistants
  • Corpus
    • Overview
    • Features
      • Corpus Permissions
      • PII Redaction
      • ETag Setup for Corpus Incremental Refresh
    • Guides
      • Assistant Corpus Setup
      • Assistant Corpus Settings
      • Corpus Access Control
      • Corpus Connections
      • View Corpus Id
      • View Document Id
      • Tagging
        • Corpus tagging
        • Document tagging
  • Teams
    • Overview
    • Guides
      • Add a Team
      • Edit a Team
      • Delete a Team
      • View Team Id
  • Projects
    • Overview
    • Guides
      • Add a Project
      • Edit a Project
      • Managing Assistants in a Project
      • Delete a Project
      • View Project Id
  • User Settings
    • Overview
    • Features
      • Ejento AI User Access Levels
    • Guides
      • Add new user
      • Invite Users via Link or Email
      • View my User Id
  • API Keys
    • Overview
    • Guides
      • How to generate API Key and Auth Token
  • Workflows
    • Overview
    • Features
      • Workflow Access Control
    • Guides
      • Add Workflow
      • Workflow Chat
      • Workflow Edit Access
  • Tools
    • Overview
    • Guides
      • Tools Overview
      • Create External Tool
      • Connect Tool to Assistant
  • Analytics
    • Overview
    • Guides
      • Analyzing Data in the Analytics Dashboard
  • Chatlogs
    • Overview
    • Guides
      • Managing Chatlogs
      • View Chatlog & Chat thread Id
  • Integrations
    • Overview
    • Guides
      • Email Indexing
      • Microsoft Teams
      • Sharepoint Indexing
      • Google Drive Connector
      • MS Teams Integration Setup
      • Creating a Connection in Credential Manager
      • Slack App
      • Discord Bot
  • Ejento AI Shield
    • Overview
    • Features
      • Understanding Guardrails
    • Guides
      • How to enable Guardrails
  • Assistant Security
    • Overview
    • Features
      • Assistant Red Teaming
    • Guides
      • Red Team an Assistant
  • Permission Sets
    • Overview
    • Guides
      • Add Permission Set
  • Usage
    • Overview
    • Guides
      • Set Spend Limits
  1. Guides

Add Workflow

Build a workflow that sends each question to the right assistants and returns one answer. You create the workflow in a project, add a supervisor and at least two assistants on the canvas, connect them, and publish it.

How a workflow is built#

Every workflow belongs to one project and is made of nodes on a canvas. The canvas starts with Start, Input, and End nodes. You add one supervisor, which coordinates the workflow, and the assistants it can call on. A question enters through Input, the supervisor decides which assistants handle it, and the answer leaves through End. To learn what each supervisor type does, see Workflows Overview.

Use cases#

One entry point for several teams: Your HR, IT, and facilities teams each have their own assistant. Put all three in one workflow with a Router, and employees ask a single place instead of guessing which assistant to use.
Combined answers: Your product and support assistants know different things about the same product. A workflow with a Consolidator brings both views into one answer.
If a single assistant can answer everything your users ask, share that assistant instead of building a workflow.

Before you start#

The assistants must be in the same project as the workflow, and they must be published. Draft assistants can't be added to a workflow.
You need at least two assistants. You can't publish a workflow with fewer.
To create workflows, you need a Permission Set that allows creating workflows. See Workflow Access Control.

1. Open the Workflows page#

In the sidebar, click Workflows, then click Add Workflow.
Step 1 screenshot

2. Name the workflow and choose a project#

In the Create Workflow dialog, enter a Workflow Name, choose a project under Project Selection, and click Add Workflow. The canvas opens.
The project decides which assistants you can add: only assistants from this project are listed later.
Step 2 screenshot

3. Add a supervisor#

Under Supervisor on the left, click the type you want. It's added to the canvas and connected between Input and End. Click the supervisor to open its settings, where you can change its Type and choose a Model.
TypeWhat it doesChoose it when
RouterSelects and validates the most relevant assistant's response, so the best single answer is shown.One specialist can usually answer each question.
ConsolidatorCombines the responses from all connected assistants into one answer, based on how relevant each is to the question.Questions span several areas and you want every view in one answer.
PlannerBreaks the question into parts and engages the assistants needed for each.Requests have several parts that different assistants handle.
Model is the default model the supervisor uses to coordinate the assistants.
A workflow has exactly one supervisor. Once you add one, the other types are unavailable on the left. To use a different type, change Type in the supervisor's settings.
Step 3 screenshot

4. Add and connect assistants#

Under Assistant on the left, click Assistant once for each assistant you want, at least two. Then drag from the dot at the bottom of the supervisor to the dot at the top of each assistant node to connect them.
Step 4 screenshot

5. Choose an assistant for each node#

Click an assistant node, then choose an assistant from Select Assistant. Repeat for every assistant node.
Some assistants appear grayed out:
Drafted: the assistant isn't published yet. Publish it first, then add it.
Assigned: the assistant is already used by another node in this workflow. Each node needs a different assistant.
To remove a node, click it, then click the three dots in its settings and choose Delete.
Step 5 screenshot

6. Publish the workflow#

Click Publish at the top right. The message Workflow created successfully appears, and the workflow is listed on the Workflows page with the status Live.
If you have fewer than two assistants, you see Add at least two assistants instead, and the workflow isn't created.
Step 6 screenshot
To start chatting with your workflow, see Workflow Chat.
Previous
Workflow Access Control
Next
Workflow Chat