Whizan Flow (Automation Pipelines)
Build multi-step deployment pipelines, automated rollbacks, and team approval workflows.
Supported:Visual Workflow BuilderTypeScript Flow DSLWebhook Integrations
When to Use This Service
Ideal Use Cases
- Multi-stage deployment workflows (e.g. Run tests -> Migrate Database -> Cutover Frontend -> Post Slack message)
- Gated production deployments requiring team approval before proceeding
- Automated failure recovery and zero-downtime rollback pipelines
- Cross-service synchronization triggered on deployment completion
When to Choose Another Workload
- Simple single-service builds (standard automated deployment already handles atomic rollbacks)
- High-throughput sub-millisecond data transformation pipelines
How to Use & Deploy
Option 1Deploy via Web Console
- 1Go to 'Whizan Flow' in the sidebar.
- 2Click '+ New Workflow' or choose from pre-built production templates.
- 3Add pipeline steps: build triggers, database migrations, sanity probes, and notifications.
- 4Configure trigger events (e.g. on git push to main, or on manual trigger).
- 5Enable the workflow and monitor step-by-step visual execution logs.
Option 2Deploy via CLI & Terminal
Deploy instantly from your local workspace terminal using the global Whizan CLI:
$ whizan flow run --name deploy-productionOr prompt your AI Coding Assistant (Cursor / Antigravity MCP):
“Set up a Whizan Flow workflow to run prisma migrate and notify slack after deploy”
Practical Project Example
workflow.ts
import { defineWorkflow, step } from "@whizan/flow";
export default defineWorkflow({
name: "Production Release Pipeline",
trigger: "on_deployment_cutover",
steps: [
step("Run Database Migrations", async ({ exec }) => {
await exec("npx prisma migrate deploy");
}),
step("Smoke Test Health Check", async ({ probe }) => {
await probe("https://api.mycompany.com/health", { expectedStatus: 200 });
}),
step("Notify Engineering Team", async ({ notify }) => {
await notify.slack("#deployments", "🚀 Production cutover completed successfully!");
})
]
});Configuration Reference
| Parameter / Setting | Description | Default / Recommended |
|---|---|---|
| Trigger Mode | Event that starts the workflow (Git Push, Deployment Cutover, or Manual) | Manual |
| Failure Strategy | Action taken if a step fails: ABORT, ROLLBACK, or CONTINUE | ROLLBACK |
| Step Approvals | Require manual approval from a workspace admin before executing critical steps | Disabled |
Best Practices & Pro Tips
Tip 1Always include an automated health check step before posting public notifications.
Tip 2Use step approvals for production database migrations to prevent accidental schema changes.
