Mission 3: Combine with Your Flows
Estimated time: 10 minutes
Learning Objective
Learn how to integrate AI Agents into Flows by connecting different BLOX components. You will understand how to automate the process of adding documents to your AI Agent, enabling more efficient and scalable workflows.
Dataset
Download the required document: Titancraft_Company_Profile.pdf
Prerequisites
Please refer to the Navigation Guide to familiarize yourself with the platform interface.
Understanding Flow Structure
If you're new to Flows and BLOX, we recommend reviewing Mission 2: First Flow to understand the basics of working with logic flows.
BLOX Used in This Mission
- Basics/Input - For file upload
- AI/Create AI Agent - For document integration
Step-by-Step Instructions
1. Create a New Flow
In the folder, click on the "Add Item" button.
2. Name Your Flow
Add a new Flow and call it "AI Flow".
3. Add BLOX Components
Open the Flow. Right-click on the flow canvas to call the Smart Assistant, then search for and add:
-
"Create AI Agent" BLOX
-
"Input" BLOX
4. Configure the Input BLOX
- Give the "Input" BLOX a name
- Open the options
- Choose "File" as the input type
5. Configure the Create AI Agent BLOX
- Click on the "Create AI Agent" BLOX
- Enable with the eye symbol that files can be connected
- Set "Document Database" to your AI agent
6. Connect the BLOX
Connect the two BLOX as shown in the picture below.
7. Test the Flow
Upload a PDF file in the "Input" BLOX to test. The Flow should automatically add the PDF document to the AI Agent.
How It Works
- File Input - The Input BLOX receives a PDF file
- Connection - The file is passed to the Create AI Agent BLOX
- Document Upload - The AI Agent automatically processes and indexes the document
- Knowledge Base Update - The agent's knowledge is enhanced with the new document
Benefits of Flow Integration
- Automation - No manual document uploads required
- Scalability - Process multiple documents automatically
- Integration - Connect with other data sources and workflows
- Efficiency - Streamline the document training process
- Consistency - Ensure all documents are processed uniformly
Future Possibilities
API Integration
Later you'll learn how to create APIs in Module 6. Once you have learned that, you will be able to seamlessly integrate the document upload process into your workflows for even greater automation and flexibility.
Use Cases
| Scenario | Application |
|---|---|
| Automated Updates | Automatically add new company documents to AI Agent |
| Batch Processing | Upload multiple PDFs at once via workflow |
| Integration | Connect document management systems to AI Agent |
| Scheduled Updates | Trigger document uploads on a schedule |
Summary
You've successfully learned how to:
✓ Create Flows for AI Agent automation
✓ Use the Input BLOX for file uploads
✓ Configure the Create AI Agent BLOX
✓ Connect BLOX components together
✓ Automate document uploads to AI Agents
✓ Understand the benefits of workflow integration





