Introduction
PromptVan makes it simple to build, test, and deploy AI workflows. In this tutorial, we'll walk through the fundamentals.
Prerequisites
- A PromptVan account
- Basic familiarity with prompts
- Node.js 18+ (for local development)
Step 1: Create Your First Workflow
Start by navigating to the Workflows dashboard. Click "New Workflow" and give it a descriptive name.
Configuration
const workflow = {
name: 'My First Workflow',
description: 'A simple example workflow',
steps: [
{
type: 'prompt',
id: 'greeting',
prompt: 'Say hello to {name}',
},
],
}
Step 2: Test Your Workflow
Use the built-in testing panel to verify your workflow works as expected.
Tip: Always test with realistic data to catch edge cases early.
Conclusion
Congratulations! You've created your first PromptVan workflow. Next, explore advanced features like branching, loops, and integrations.