Workflows (Agentic RAG for Documentation)
Workflows connect multiple Biel.ai projects into a single chatbot interface. Each project covers a specific domain, and a router directs queries to the most appropriate one. Projects maintain their own sources, model configuration, and custom prompts.

This feature is available exclusively on Enterprise plans. Contact us to learn more about enterprise solutions.
How workflows work
Single project:
Workflow with routing and actions:
The router analyzes each query and directs it to the appropriate agent. Agents can also trigger external actions (tickets, notifications, etc.) based on conversation context.
When to use workflows
| Scenario | Example | Why workflows help |
|---|---|---|
| Multiple languages/SDKs | Python, JavaScript, Java docs | Users only see relevant examples |
| Multiple products | Product A (analytics), Product B (collaboration) | Focused responses without cross-contamination |
| Different doc types | API reference, user guides, admin docs | Routes technical queries to API docs, UI questions to guides |
| Large doc sets (1000+ pages) | Enterprise documentation | Splitting by domain improves accuracy |
| Custom actions | Bug reports → Zendesk, demo requests → Calendly | Trigger integrations based on conversation context |
Use a single project instead if your docs are under 1000 pages, cover one cohesive topic, and don't need external integrations.
Setting up a workflow
As part of your enterprise agreement, our team handles the initial workflow configuration to ensure everything works correctly from the start.
We'll work with you to define routing rules, configure integrations, and test the setup before going live.
Prerequisites
- At least two existing projects with indexed content.
- (Optional) Webhook endpoints for custom actions.
Create your workflow
- In the Biel.ai dashboard, click Workflows > Create workflow.
- Enter a Name and optional Description.
- Click Create.
Add projects
-
In your workflow settings, navigate to the Projects section.
-
Click Add project.
-
Select a project from your existing projects.
-
Define when this project should be used:
- Keywords: Terms that indicate this project should handle the query
- Topics: High-level categories this project covers
- Priority: Ranking when multiple projects could match
-
Repeat for each project you want to include.
-
Click Save.
Configure routing rules
-
Navigate to Routing rules in your workflow settings.
-
Click Add rule.
-
Define your rule:
Name: API Questions
Condition: Query contains ["API", "endpoint", "authentication", "integration"]
Action: Route to "Developer Documentation" project
Priority: High -
Add multiple rules to cover different scenarios.
-
Set a fallback strategy:
- Query all projects: Combines responses from all relevant projects
- Default project: Routes to a general knowledge project
- Request clarification: Asks the user to rephrase
-
Click Save.
Set up custom actions (optional)
- Navigate to Actions in your workflow settings.
- Click Add action.
- Configure your action:
- Action type: Slack, Microsoft Teams, Email, Zendesk, Webhook, or other available integrations.
- Trigger condition: When this action should fire.
- Configuration: Credentials and integration details.
- Click Save.
Test your workflow
- In the workflow dashboard, click Test.
- Enter sample queries that should trigger different projects, including edge cases and action triggers.
- Review routing decisions and responses.
- Adjust rules and priorities as needed.
Deploy your workflow
- In your workflow settings, navigate to Deployment.
- Copy the embed code and add it to your website.
Supported integrations
| Category | Platforms |
|---|---|
| Communication | Slack, Microsoft Teams, Email, Discord |
| Ticketing | Zendesk, Jira, ServiceNow, Freshdesk |
| CRM | Salesforce, HubSpot |
| Scheduling | Calendly, Cal.com |
| Analytics | Segment, Mixpanel, Google Analytics |
| Custom | Any HTTP endpoint via webhooks |