Prerequisites
Install the Compozy CLI using one of these methods:Your First Workflow
You’ll learn how to use webhooks to create HTTP endpoints, integrate with tools for web scraping, and leverage AI agents for intelligent text analysis. This workflow showcases the building blocks you need to create sophisticated AI-powered applications. Want to take it further? Explore our workflow examples to learn how to:- Process content at scale with parallel execution
- Extract structured data with custom AI agents
- Connect to your favorite tools and databases
- Build complex automation pipelines
1
Initialize a new project
2
Add your dependencies
3
Set up basic workflow information
Create a new file
workflows/analyze.yaml and start adding the basic workflow information:4
Configure the webhook trigger
Define how your workflow will be invoked:There are many different triggers available, you can learn more about them here.
5
Add your workflows tasks
Now is when you define the flow of your workflow and which tasks, tools and agents will be used.
We break this is parts, but the final result is an one single YAML file.
You can check the final workflow file here.
6
Test your workflow
- Start the development server:
http://localhost:3000/analyze-content- Test the workflow using the CLI:
7
Optional: Deploy to Production
You can deploy your workflow to Compozy Cloud or to your own infrastructure:Your workflow will be available at:
- Compozy Cloud
- Self-Hosted
https://<your-project>.compozy.dev/analyze-content