Visual Workflow Automation Platform β Connect APIs, AI, and services with a drag-and-drop interface
TriggerHive is an open-source workflow automation platform that lets you visually connect triggers, APIs, AI models, and messaging services. Similar to n8n, Zapier, and Make, but built with a modern tech stack and fully customizable.
| Workflow | Description |
|---|---|
| LinkedIn Post Generator | Fetches trending tech articles β AI creates engaging post β Generates hashtags β Posts to Discord/Slack |
| Customer Feedback Analyzer | Google Form submission β AI sentiment analysis β Action items generation β Multi-channel alerts |
| Payment Celebration Engine | Stripe payment webhook β Fetch customer data β AI personalized thank-you β Team notifications |
- Drag-and-drop editor powered by React Flow
- Real-time canvas with live node connections
- Node configuration dialogs with dynamic forms
- Variable interpolation β Pass data between nodes with
{{nodeName.field}}
| Trigger | Description |
|---|---|
| π Google Form | Receive form submissions via secure webhooks |
| π³ Stripe | Listen to payment events (payment_intent.succeeded, etc.) |
| Execute workflows on-demand |
| Node | Description |
|---|---|
| π HTTP Request | Make GET/POST/PUT/PATCH/DELETE API calls |
| π€ OpenAI | Generate text with GPT-4, GPT-4o, GPT-4o-mini |
| π§ Anthropic | Use Claude models for AI processing |
| β¨ Google Gemini | Access Gemini 2.0 Flash and Pro models |
| π¬ Discord | Send messages via webhooks |
| π’ Slack | Post to Slack channels |
- Background processing with Inngest
- Real-time status updates via WebSocket channels
- Execution history with detailed logs and output data
- Error tracking with Sentry integration
- Secure credential management for API keys
| Technology | Purpose |
|---|---|
| Next.js 16 | React framework with App Router |
| React 19 | UI library |
| TypeScript | Type safety |
| React Flow | Visual workflow canvas |
| Tailwind CSS | Styling |
| Radix UI | Accessible UI primitives |
| shadcn/ui | Component library |
| Technology | Purpose |
|---|---|
| tRPC | End-to-end typesafe APIs |
| Prisma | Database ORM |
| Inngest | Event-driven background jobs |
| Better Auth | Authentication |
| Polar | Payments & subscriptions |
| Technology | Purpose |
|---|---|
| Vercel AI SDK | Unified AI model interface |
| OpenAI | GPT models |
| Anthropic | Claude models |
| Google AI | Gemini models |
| Handlebars | Template interpolation |
| Technology | Purpose |
|---|---|
| Neon | Serverless Postgres |
| Vercel | Deployment |
| Sentry | Error tracking |
| Stripe | Payment webhooks |
- Node.js 18+
- PostgreSQL database (or Neon)
- npm or pnpm
# Clone the repository
git clone https://github.com/swayamyadav05/TriggerHive.git
cd TriggerHive
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Edit .env with your credentials
# Run database migrations
npx prisma migrate dev
# Generate Prisma client
npx prisma generate
# Start development server
npm run dev# Database
DATABASE_URL="postgresql://..."
# App
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Authentication (Better Auth)
BETTER_AUTH_SECRET="your-secret-key"
# Stripe (for payment triggers)
STRIPE_SECRET_KEY="sk_..."
# Inngest (background jobs)
INNGEST_EVENT_KEY="..."
INNGEST_SIGNING_KEY="..."
# Sentry (error tracking)
SENTRY_AUTH_TOKEN="..."
# Optional: AI Providers (users add their own keys)
# These are stored encrypted per-user in the credentials system# Start all services (Next.js + Inngest Dev Server)
npm run dev:all
# Start Next.js only
npm run dev
# Start Inngest Dev Server
npm run inngest:dev
# Start ngrok tunnel (for webhooks)
npm run ngrok:dev
# Build for production
npm run build
# Run linting
npm run lint- Sign up and create your account
- Create a new workflow from the dashboard
- Add a trigger node (Manual, Google Form, or Stripe)
- Connect action nodes (HTTP Request, AI, Discord, Slack)
- Configure each node with required parameters
- Execute and watch real-time status updates!
Pass data between nodes using Handlebars syntax:
For Google Form Trigger:
- Open node settings β Copy webhook URL
- Copy the generated Apps Script
- Paste in Google Forms β Extensions β Apps Script
- Add trigger: On form submit
For Stripe Trigger:
- Open node settings β Copy webhook URL
- Go to Stripe Dashboard β Webhooks β Add endpoint
- Paste URL and select events (e.g.,
payment_intent.succeeded) - Copy signing secret β Paste in TriggerHive
TriggerHive/
βββ prisma/ # Database schema & migrations
β βββ schema.prisma
βββ public/ # Static assets
βββ src/
β βββ app/ # Next.js App Router
β β βββ (auth)/ # Auth pages
β β βββ (dashboard)/ # Dashboard pages
β β βββ api/ # API routes & webhooks
β βββ components/ # UI components
β β βββ ui/ # shadcn/ui primitives
β β βββ react-flow/ # Workflow canvas components
β βββ features/ # Feature modules
β β βββ auth/ # Authentication
β β βββ credentials/ # API key management
β β βββ editor/ # Workflow editor
β β βββ executions/ # Execution nodes & logic
β β βββ triggers/ # Trigger nodes
β β βββ workflows/ # Workflow management
β βββ inngest/ # Background job functions
β β βββ channels/ # Real-time channels
β β βββ functions.ts # Workflow executor
β βββ lib/ # Utilities
β β βββ handlebars-helpers.ts # Template helpers
β β βββ encryption.ts # Credential encryption
β βββ trpc/ # tRPC router & client
βββ docs/ # Documentation
- Credential Encryption β All API keys stored encrypted (AES-256)
- Webhook Verification β HMAC-SHA256 signature validation
- Stripe SDK Verification β Native Stripe webhook signature verification
- Per-user Isolation β Credentials and workflows scoped to users
- Secure Sessions β Better Auth with HTTP-only cookies
- Visual workflow editor with React Flow
- Multiple trigger types (Manual, Google Form, Stripe)
- AI integration (OpenAI, Anthropic, Gemini)
- Messaging nodes (Discord, Slack)
- HTTP Request node with all methods
- Real-time execution tracking
- Execution history with filtering
- Secure credential management
- Variable interpolation system
- Webhook security (HMAC-SHA256)
- Email nodes (SendGrid, Resend)
- Database nodes (Postgres, MongoDB)
- Conditional logic nodes (If/Else, Switch)
- Loop nodes (For Each, While)
- Workflow templates gallery
- Team collaboration features
- Workflow versioning
- Scheduled triggers (Cron)
- File storage nodes (S3, Google Drive)
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- React Flow β Workflow canvas
- shadcn/ui β Beautiful UI components
- Inngest β Event-driven background jobs
- Vercel AI SDK β Unified AI interface
- Better Auth β Authentication
- Polar β Payments
TriggerHive β Automate Everything π
Built with β€οΈ by Swayam Yadav
Last updated: December 20, 2025