Creating Your First Workflow
This guide will walk you through creating your first AI workflow in Asgard. Workflows are the core of Asgard's functionality, allowing you to define how your AI application processes inputs and generates outputs.
Navigating to the Workflow Builder
- Log in to your Asgard account
- Navigate to your project dashboard
- Click on the "Workflows" tab in the left sidebar
- Click the "Create New Workflow" button
Setting Up Your Workflow
When creating a new workflow, you'll need to provide some basic information:
- Workflow Name: Enter a descriptive name for your workflow (e.g., "Customer Support Bot")
- Description (optional): Add details about the workflow's purpose
- Workflow Type: Select the type of workflow you want to create (e.g., Conversational, Data Processing, etc.)
- Click "Create" to enter the workflow builder
Understanding the Workflow Builder Interface
The workflow builder interface consists of several key areas:
- Canvas: The main area where you design your workflow by adding and connecting components
- Component Library: A sidebar containing available components you can add to your workflow
- Properties Panel: A panel that displays the properties of the currently selected component
- Toolbar: Contains tools for testing, saving, and deploying your workflow
Adding Components to Your Workflow
Every workflow starts with "Start" and "End" nodes. To build your workflow:
- Click on a component in the Component Library to select it
- Drag it onto the canvas between the "Start" and "End" nodes
- Connect components by clicking and dragging from one component's output port to another component's input port
Configuring Components
Each component has its own set of properties that you can configure:
- Click on a component in the canvas to select it
- Use the Properties Panel to configure the component's settings
- Click "Apply" to save your changes
Testing Your Workflow
Before deploying your workflow, you should test it to ensure it works as expected:
- Click the "Test" button in the toolbar
- Enter test inputs in the test panel
- Click "Run Test" to see how your workflow processes the inputs
- Review the outputs and make adjustments as needed
Saving and Deploying Your Workflow
Once you're satisfied with your workflow:
- Click the "Save" button to save your changes
- Click the "Deploy" button to make your workflow available for use
- Select your deployment target (e.g., Web, API, etc.)
- Configure deployment settings
- Click "Deploy" to finalize the deployment
Next Steps
Congratulations! You've created your first workflow in Asgard. In the Tutorials section, we'll explore more advanced workflows and how to customize them for specific use cases.