Agent + Workflow Quick Start
A step-by-step guide on how to talk to your docs with your Workflow integrated
One of the most powerful attributes of Agents is that they can interact with Workflows and not just Knowledge Bases. This provides you with options on how best to populate your Agent with the information it needs to answer your questions.
In this document, we're going to walk through an example of building an Agent that responds to your questions based on an article generated from a video.
1. Create a Workflow
For our example, we're going to reference an existing Workflow in our Agent. We'll use our built-in "Video to Article" template to help simplify things. It is designed to take in a video file and translate it into an article.
2. Create an Agent
Next, we'll set up the agent via the same Template page shown above. We'll use the "Blank Agent" option and customize it from there:
i. Add a Variable for our File Upload
We first need to define our input, so that our Agent requires a video file.
Choose "File Media" as the input type
Assign a variable name (we'll use "video_name")
Make it a required input
ii. Configure a Workflow Step
Load in our Workflow Step
Select the previously created "Video to Article" Workflow
Choose the desired version of the Workflow, as well as any additional variables you want to configure
3. Test and Publish Your Agent
Tweak the system prompt so the Agent responds exactly the way you want
Click "Test All" to start chatting with your Agent
Ask it to use the connected Workflow to answer your questions
Upload your file, and start asking!
Once you're satisfied with the output, Publish Agent
Last updated