Agents, Workflows & Triggers

In the Introduction to indigo.ai, we've highlighted what makes our solution unique. Instead of relying on a traditional single AI agent managing all tasks, our platform is designed around a collaborative AI Agents Workforce: a team of specialized agents, each with distinct expertise and knowledge bases, working together seamlessly.

👮‍♀️ Agents

An AI Agent is an advanced software program capable of interacting with its environment, collecting data, and performing tasks to achieve predefined goals. From a technical perspective, each agent operates based on a prompt template—a structured instruction set designed by indigo.ai for optimal performance.

AI Agents are built using a series of instructions that define:

  • How to respond to specific user questions.

  • What tone, style, and approach to use.

  • Where to source knowledge from (e.g., documentation or databases).

Each agent is goal-oriented: if a user asks a question related to a specific topic, the agent responds accordingly, using predefined information.

💡 Think of agents as subject matter experts for different tasks or services. For example, in a shoe e-commerce scenario, you might have agents for shipping & returns, payments and transactions, and product recommendations.

The AI Agent Block

Building a Team of Agents

There's no limit to the number of agents you can create and associate with a virtual assistant.

However, it's crucial to strike the right balance between granularity—ensuring each agent has a clear, non-overlapping scope—and manageability, keeping the setup streamlined and avoiding excessive complexity.

The General Agent

Among your team of agents, one stands out as essential: the General Agent.

The General Agent serves as a fallback mechanism, with the primary objective of replying to all questions that do not pertain to the other specialized agents.

This agent is automatically included in every new workspace and should never be deleted.

Whether it's casual conversation, general FAQs, vague requests, or even trolling attempts, the General Agent steps in to ensure users always receive a response.

For more details on configuring this and other agents, check out the next article: How to Create an Agent.

⛓️ Workflows

Workflows represent a step-by-step process that must be completed before an agent responds or the virtual assistant takes action.

While it's mandatory to configure at least one agent, workflows are optional and can be implemented as needed. For simple setups, you can build a virtual assistant composed solely of agents.

However, for more complex scenarios, workflows become essential. For example:

  • Product Recommendation Workflow: User requests the best product → virtual assistant retrieves and filters options from the catalog → best-fit product is passed to the agent → agent shares the recommendation.

  • Customer Support Workflow: User asks to connect with a human → workflow gathers conversation history and user details → virtual assistant connects with the CRM → support ticket is created and confirmed to the user.

Workflows are the backbone of complex virtual assistants, but building them is simple. In your workspace, you can just drag and drop workflow components from the available blocks. This approach makes workflow creation highly intuitive and flexible.

The Workflow Area and Its Building Blocks

Find detailed information about workflow building blocks here: Blocks & Variables

🧠 Mother Agent

Visual representation of the indigo.ai architecture

At the core of every AI-powered interaction is the Mother Agent, the orchestrator that ensures every user query is handled by the most suitable specialized agent or workflow.

It acts as the decision-making brain of the virtual assistant, determining—for every single user message—which agent should respond or which workflow should be triggered before delivering an answer.

The Mother Agent is not visible within the workspace—it is a built-in Indigo.ai feature with a complex internal logic that cannot be modified or configured by users. However, if necessary, Indigo’s Customer Success team can adjust it in specific cases.

Behind the scenes, the Mother Agent operates through an advanced prompting system:

  1. When a user sends a message, the Mother Agent ranks all available agents and workflows in the workspace based on relevance to the query.

  2. It then chooses the most suitable agent or workflow by considering various factors, such as conversation context (previous messages) and triggers (explained below).

  3. Once selected, the agent or workflow takes over and processes the response.

While its logic is intricate, the key takeaway is that the Mother Agent dynamically orchestrates interactions, allowing you to efficiently manage and control conversational flows with your users.

👂 Triggers

The Mother Agent determines virtual assistant behavior primarily based on triggers.

A trigger defines the conditions for activating an agent or workflow. You can specify:

  • Trigger Details: When the agent/workflow should activate.

  • Example Questions: Sample user queries that would activate the agent/workflow.

However, not all agents or workflows need a trigger—only high-level agents or workflows require them.

In essence, the Mother Agent assigns user queries to top-level agents, which can delegate tasks to secondary agents or workflows (without needing triggers). This layered approach ensures an organized, scalable, and efficient response process.

This may seem complex, but in reality, it’s quite straightforward. The best way to approach it is by thinking in terms of conversation flow: the main entry points and key topics that the virtual assistant handles should have a trigger, the supporting ones not.

That is why, to make this process easier, the first step in our AI Agents creation guide (Build Your AI Agents) is designing the conversation flow.

Last updated

Was this helpful?