Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Free open-source Next.js template for building a visual AI workflow automation platform with drag-and-drop builder and code generation.
AI Workflow Builder Template is a free, open-source Next.js template for building a visual AI workflow automation platform, combining a drag-and-drop workflow canvas with TypeScript code generation.
This template is a starting point for creating a visual workflow automation platform where users connect trigger nodes (Webhook, Schedule, Manual, Database Event) to action nodes (Resend, Linear, Slack, Firecrawl, GitHub, Stripe, and more) on a drag-and-drop React Flow canvas. It runs on Next.js 16 with React 19 and can be deployed to Vercel in one click, with a Neon Postgres database configured automatically. It is built on Workflow DevKit, the execution engine described at useworkflow.dev.
During deployment you choose the Vercel deploy option, a Neon Postgres database is created automatically, and you provide Better Auth credentials and an AI Gateway API key. Locally, you clone the repository, run pnpm install, set the same environment variables in a .env.local file, run pnpm db:push to create tables, and start the dev server with pnpm dev. Workflows are executed by Workflow DevKit, which handles logging, type safety, and serverless execution.
The template is free and open source under the Apache 2.0 license. You can deploy it to Vercel or run it locally without purchasing a license.
Yes, the template is free and open source, released under the Apache 2.0 license. You can deploy it to Vercel directly or run it locally with Node.js 18+, pnpm, and a PostgreSQL database.
It provides a complete visual workflow builder with drag-and-drop nodes, real integrations for services like Resend and Slack, AI-powered workflow generation from natural language, and automatic conversion of workflows into executable TypeScript code through the "use workflow" directive.
The template is built on Next.js 16 with React 19, Tailwind CSS, shadcn/ui, React Flow, Drizzle ORM, Better Auth, Jotai, and Monaco Editor. It uses OpenAI GPT-5 for AI workflow generation and Workflow DevKit as the execution engine.
Included integrations are Resend, Linear, Slack, Stripe, Firecrawl, GitHub, Perplexity, Clerk, fal.ai, Blob, v0, Webflow, and Superagent, each with specific action nodes such as Send Email, Create Ticket, Send Slack Message, Create Customer, and Scrape URL.
Yes. The API endpoint for generating code converts a saved workflow into type-safe TypeScript that retains real integration calls, error handling, and execution logging. A code example shows a welcome email flow using generated functions.
