Skip to content

Repository files navigation

πŸš€ AutoFlow β€” AI-Powered Workflow Automation

Describe what you want in plain English. AutoFlow's AI builds and runs the workflow.

License: MITPython 3.12React 18DockerOllama

AutoFlow is an open-source, AI-first workflow automation platform. Instead of manually connecting nodes and configuring webhooks, you describe your automation in natural language β€” AutoFlow's AI agent interprets your intent, builds the workflow visually, and executes it on a schedule or trigger.

Think Zapier or n8n, but you just type what you want and AI builds it.

✨ Features

  • πŸ€– AI Workflow Builder β€” Describe your workflow in plain English; AI generates the full pipeline with smart configs, filters, and template variables
  • 🧠 Multi-Model AI β€” Choose from 6+ AI models: Ollama Cloud (gpt-oss:120b, deepseek-v3.1:671b, qwen3-coder:480b, glm-5.1, glm-5.2), OpenAI, or Anthropic
  • πŸ”— 20+ Integrations β€” HTTP, Email, Slack, Discord, Telegram, Database, RSS, HackerNews, Weather, GitHub, X/Twitter, Webhook, Google Sheets, AI Sentiment, and more
  • πŸ“… Scheduler β€” Cron-based triggers, event-based triggers, webhook triggers
  • πŸ“Š Visual Editor β€” ReactFlow-based drag-and-drop workflow editor with live execution
  • πŸ” Self-Hosted β€” Your data stays on your server. Full privacy.
  • πŸ—οΈ Extensible β€” Plugin system for custom nodes and integrations
  • πŸ“ˆ Analytics β€” Execution history, success rates, performance metrics
  • 🎯 12 Templates β€” Pre-built workflows for weather, news, social, AI, DevOps, and data use cases
  • 🌐 REST API β€” Full programmatic access for developers
  • 🐳 Docker Ready β€” One command deployment with docker-compose

🧠 AI Models

AutoFlow supports multiple AI providers for workflow generation and AI nodes:

ProviderModelsType
Ollama Cloudgpt-oss:120b, deepseek-v3.1:671b, qwen3-coder:480b, glm-5.1, glm-5.2, lfm2.5:8bCloud + Local
OpenAIgpt-4o-mini, gpt-4oCloud
AnthropicClaude Sonnet 4Cloud
Rule-BasedBuilt-in pattern matcherOffline fallback

The AI Builder generates workflows with:

  • Smart node configurations (real URLs, cron expressions, API endpoints)
  • Template variables ({{weather.temperature}}, {{data.title}})
  • Conditional filters and branching
  • Multi-step pipelines with AI processing

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ React Frontend β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚ Dashboard β”‚ β”‚ Workflow β”‚ β”‚ AI Builder + β”‚ β”‚
β”‚ β”‚ & Analyticsβ”‚ β”‚ Editor β”‚ β”‚ Model Selector β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚ REST API
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ FastAPI Backend β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚ Workflow β”‚ β”‚ AI Agent β”‚ β”‚ Integration Layer β”‚ β”‚
β”‚ β”‚ Engine β”‚ β”‚ (Ollama) β”‚ β”‚ (20+ connectors) β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚Scheduler β”‚ β”‚ Auth & β”‚ β”‚ Templates & Seeds β”‚ β”‚
β”‚ β”‚ (Cron) β”‚ β”‚ Users β”‚ β”‚ (12 pre-built) β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ SQLite / PostgreSQL β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Quick Start

Docker (Recommended)

# Clone
git clone https://github.com/pitee33/autoflow.git
cd autoflow
# Set up your AI keys
cp .env.example .env
# Edit .env β€” add your Ollama API key (https://ollama.com/settings)# Launch
docker-compose up -d

Visit http://localhost:3000 β€” register and start building workflows!

Manual Setup

# Backendcd backend
python -m venv .venv &&source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # Add your API keys
uvicorn app.main:app --reload --port 8000
# Frontend (new terminal)cd frontend
npm install
npm run dev

Visit http://localhost:5173

Environment Variables

VariableDescriptionDefault
OLLAMA_API_KEYOllama Cloud API keyβ€”
OLLAMA_BASE_URLOllama API endpointhttps://ollama.com/v1
OLLAMA_MODELDefault AI modelgpt-oss:120b-cloud
OPENAI_API_KEYOpenAI API key (optional)β€”
ANTHROPIC_API_KEYAnthropic API key (optional)β€”
TELEGRAM_BOT_TOKENTelegram bot token for Telegram nodesβ€”
TELEGRAM_DEFAULT_CHAT_IDDefault Telegram chat IDβ€”
SECRET_KEYJWT secret keychange-this

πŸ’° Monetization (Cloud SaaS)

AutoFlow is open-source and free to self-host. The hosted AutoFlow Cloud offers:

  • Free β€” $0: 3 workflows, 100 runs/mo, rule-based AI
  • Starter β€” $19/mo: 25 workflows, 5K runs/mo, Ollama Cloud AI
  • Pro β€” $49/mo: Unlimited workflows, 50K runs/mo, all AI models
  • Enterprise β€” $199/mo: On-prem support, SLA, SSO, custom integrations

πŸ›£οΈ Roadmap

  • Core workflow engine with topological sort
  • AI workflow builder (Ollama Cloud + OpenAI + Anthropic)
  • Visual workflow editor (ReactFlow)
  • 20+ integrations (HTTP, Telegram, Slack, Discord, Weather, RSS, etc.)
  • 12 pre-built templates
  • Docker Compose deployment
  • Model selector (6 Ollama models)
  • Telegram bot integration with template variables
  • AutoFlow Cloud (hosted SaaS)
  • Marketplace for workflow templates
  • Team collaboration features
  • Mobile app
  • 100+ integrations

πŸ“„ License

MIT β€” do whatever you want. Fork it, sell hosted versions, build a business on it.

🀝 Contributing

PRs welcome! See CONTRIBUTING.md.


⭐ If this project helps you, give it a star!

GitHub:https://github.com/pitee33/autoflow

About

πŸš€ AutoFlow β€” AI-Powered Workflow Automation Platform. Describe what you want in plain English, AutoFlow builds and runs the workflow. Open-source, MIT, self-hostable.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages