Getting Started with Activepieces
This guide will walk you through creating your first workflow in Activepieces. You’ll learn how to set up triggers, add actions, connect pieces, and publish your automation.Choose Your Path
You can get started with Activepieces in two ways:Cloud (Recommended)
Sign up for a free account at cloud.activepieces.com and start building immediately.
Self-Hosted
Run Activepieces on your own infrastructure. See the deployment guide for instructions.
Create Your First Workflow
Create an Account or Run Locally
Option 1: CloudVisit cloud.activepieces.com and sign up for a free account.Option 2: Local DevelopmentClone the repository and start the development environment:The application will be available at
http://localhost:4200Create a New Flow
Once logged in, click the “Create Flow” button in your dashboard.Give your flow a descriptive name, such as “My First Automation” or “Webhook to Slack”.
Flows in Activepieces are called “flows” throughout the codebase and can be thought of as workflows or automations.
Set Up a Trigger
Every flow starts with a trigger. Triggers determine when your automation runs.For this example, let’s use a Webhook trigger:
- Click on the trigger step (the first step in your flow)
- Search for and select “Webhook”
- The webhook URL will be automatically generated
- Copy this URL - you’ll use it to test your flow
Other popular triggers include:
- Schedule: Run on a cron schedule (every hour, daily, etc.)
- App Events: Trigger from specific apps (new email, new row in Google Sheets, etc.)
- MCP Tool: Expose your flow as an MCP server tool for AI assistants
Add Your First Action
Actions are the steps that execute when your trigger fires. Let’s add a simple action:
- Click the ”+” button below your trigger
- Search for “Data Mapper” or “HTTP Request”
- Configure the action:
- Search for and select “Slack”
- Choose “Send Message to Channel”
- Connect your Slack account (click ”+ New Connection”)
- Select a channel
- Write your message - you can reference trigger data using
{{trigger.body}}
- Select “HTTP” piece
- Choose “Send Request” action
- Set method to
POST - Enter URL:
https://httpbin.org/post - Add body with trigger data:
{{trigger}}
Connect a Piece (Integration)
Most pieces require authentication. Here’s how to connect them:
- When configuring an action that needs auth, you’ll see ”+ New Connection”
- Click it to open the authentication dialog
- Depending on the piece, you’ll either:
- Enter an API key directly
- Go through OAuth flow (for Google, Slack, etc.)
- Provide connection details (for databases, etc.)
- Give your connection a name
- Click “Save”
Connections are securely stored and can be reused across multiple flows in your project.
Test Your Flow
Before publishing, test your flow:
- Click the “Test Flow” button in the top right
- For webhook triggers, use curl or a tool like Postman:
- Watch the execution in real-time
- Click on each step to see input/output data
- Fix any errors and test again
Test runs don’t count against your execution limits and help you debug before going live.
Publish Your Flow
Once testing is successful:
- Click “Publish” in the top right
- Your flow is now live and will execute automatically when triggered
- The flow status changes from DRAFT to ENABLED
- Execution history
- Success/failure status
- Step-by-step execution logs
- Input and output data
Example: Complete Webhook to Slack Flow
Here’s a complete example of a flow that receives webhook data and sends it to Slack:Understanding Flow Versions
Activepieces uses a versioning system for flows:- Draft: Work-in-progress version that hasn’t been published
- Locked: Published version that’s actively running
- A new draft version is created
- The locked version continues running
- Publishing the draft replaces the locked version
Next Steps
Now that you’ve created your first flow, explore more advanced features:Add Branches & Loops
Build complex logic with conditional routing
Use Code Steps
Write custom JavaScript with npm packages
Build AI Workflows
Create intelligent automations with AI
Create Custom Pieces
Build your own integrations in TypeScript
Getting Help
If you run into issues:- Check the documentation
- Join our Discord community
- Browse example templates
- Review the API reference