Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
/ chatwoot Public archive
forked from chatwoot/chatwoot

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. πŸ”₯πŸ’¬

License

Notifications You must be signed in to change notification settings

loydhale/chatwoot

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5,808 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

DeskFlow

πŸš€ White-Label AI Support Platform for Agencies

Transform your agency's support operations with intelligent automation, powered by Atlas AI


License: MIT Built on DeskFlows Ruby Vue.js


πŸ“– What is DeskFlow?

DeskFlow is a powerful customer support platform purpose-built for agenciesβ€”especially those on GoHighLevel (GHL). It enables agencies to offer white-labeled support services to their clients, complete with RAG-powered AI assistance from Atlas, our intelligent assistant.

DeskFlow is a fork of DeskFlows, the open-source customer engagement platform, enhanced with agency-specific features and deep GHL Marketplace integration.

Who is DeskFlow for?

  • GHL Agencies wanting to offer branded support tools to clients
  • SaaS Companies needing white-label customer support
  • Managed Service Providers providing help desk solutions
  • Any business wanting AI-powered support automation

✨ Features

🎨 White-Label Ready

  • Full branding customization at platform and per-account levels
  • Custom logos, colors, and CSS per agency/client
  • Subdomain and custom domain support
  • Branded email templates

πŸ€– Atlas AI Assistant

  • RAG-powered responses from your knowledge base
  • Document ingestion (URLs, PDFs, text files)
  • Co-pilot mode for agent assistance
  • Automatic ticket resolution
  • Customizable personality and tone per account
  • Usage metering for billing

πŸ“¬ Omni-Channel Inbox

  • Email integration
  • Website live chat widget
  • API integrations
  • Unified conversation view
  • Team collaboration tools

πŸ“š Knowledge Base

  • Self-service help center
  • AI-powered search
  • Article categories and organization
  • Public and private articles
  • Customizable branding

πŸ”— GHL Marketplace Integration

  • OAuth authentication (SSO from GHL)
  • Subscription billing ($29-$199/mo tiers)
  • Usage-based AI metering
  • Agency rebilling support
  • Webhook receivers

πŸ“Š Analytics & Reporting

  • Conversation metrics
  • Agent performance
  • Response times
  • AI usage tracking
  • Customer satisfaction scores

πŸ–ΌοΈ Screenshots

Coming soon β€” Screenshots of the dashboard, widget, and Atlas AI in action

Dashboard Chat Widget Atlas AI
Dashboard Widget Atlas

πŸš€ Quick Start

Prerequisites

Requirement Version
Ruby 3.2+
Node.js 24+
PostgreSQL 15+ (with pgvector extension)
Redis 7+
Docker Latest (optional)

Option 1: Docker Setup (Recommended)

# Clone the repository
git clone https://github.com/loydhale/deskflows.git deskflow
cd deskflow

# Copy environment file
cp .env.example .env

# Start with Docker Compose
docker-compose up -d

# Access at http://localhost:3000

Option 2: Manual Development Setup

# Clone the repository
git clone https://github.com/loydhale/deskflows.git deskflow
cd deskflow

# Install Ruby dependencies
bundle install

# Install JavaScript dependencies
pnpm install

# Setup environment
cp .env.example .env
# Edit .env with your database credentials

# Setup database
rails db:prepare

# Start development server
pnpm run dev

# Access at http://localhost:3000

First-Time Setup

  1. Navigate to http://localhost:3000
  2. Create your super admin account
  3. Set up your first inbox (chat widget, email, or API)
  4. Configure Atlas AI with your knowledge base
  5. Customize branding in Settings

βš™οΈ Configuration

Environment Variables

Create a .env file in the root directory:

# Database
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DATABASE=deskflow_production
POSTGRES_USERNAME=deskflow
POSTGRES_PASSWORD=your_secure_password

# Redis
REDIS_URL=redis://localhost:6379

# Application
SECRET_KEY_BASE=your_secret_key_here
FRONTEND_URL=https://your-domain.com
DEFAULT_LOCALE=en

# Email (SMTP)
SMTP_ADDRESS=smtp.your-provider.com
SMTP_PORT=587
SMTP_USERNAME=your_email@domain.com
SMTP_PASSWORD=your_smtp_password
MAILER_SENDER_EMAIL=support@your-domain.com

# AI (Atlas)
OPENAI_API_KEY=sk-your-openai-key
ATLAS_ENABLED=true

# GHL Integration (Optional)
GHL_CLIENT_ID=your_ghl_client_id
GHL_CLIENT_SECRET=your_ghl_client_secret
GHL_MARKETPLACE_URL=https://marketplace.gohighlevel.com

Atlas AI Configuration

Atlas can be configured per-account or globally:

Setting Description Default
ATLAS_ENABLED Enable AI features true
ATLAS_MODEL OpenAI model to use gpt-4o
ATLAS_TEMPERATURE Response creativity (0-1) 0.7
ATLAS_MAX_TOKENS Max response length 500

White-Label Branding

Customize your deployment:

  1. Platform-level: Replace assets in /public and modify styles in /app/javascript
  2. Per-account: Use the Admin β†’ Settings β†’ Branding panel

πŸ“ Project Structure

deskflow/
β”œβ”€β”€ app/                      # Rails application
β”‚   β”œβ”€β”€ controllers/          # API & web controllers
β”‚   β”œβ”€β”€ javascript/           # Vue.js frontend
β”‚   β”‚   β”œβ”€β”€ dashboard/        # Agent dashboard SPA
β”‚   β”‚   β”œβ”€β”€ widget/           # Embeddable chat widget
β”‚   β”‚   └── portal/           # Knowledge base portal
β”‚   β”œβ”€β”€ models/               # ActiveRecord models
β”‚   β”œβ”€β”€ services/             # Business logic
β”‚   └── views/                # Email templates, etc.
β”œβ”€β”€ config/                   # Rails configuration
β”œβ”€β”€ db/                       # Database migrations
β”œβ”€β”€ docker/                   # Docker configuration
β”œβ”€β”€ enterprise/               # Enterprise features (Atlas AI)
β”œβ”€β”€ lib/                      # Shared libraries
β”œβ”€β”€ public/                   # Static assets (logos, etc.)
└── spec/                     # RSpec test suite

πŸ”§ Development

Running Tests

# All tests
bundle exec rspec

# Specific test file
bundle exec rspec spec/models/user_spec.rb

# JavaScript tests
pnpm test

Code Quality

# Ruby linting
bundle exec rubocop

# JavaScript linting
pnpm lint

Database Migrations

rails db:migrate           # Run pending migrations
rails db:rollback          # Rollback last migration
rails db:seed              # Seed development data

🚒 Deployment

Production Checklist

  • Set strong SECRET_KEY_BASE
  • Configure SMTP for emails
  • Set up SSL certificates
  • Configure Redis for production
  • Set up background job workers (Sidekiq)
  • Configure CDN for assets (optional)
  • Set up monitoring and logging

Docker Production

docker-compose -f docker-compose.production.yml up -d

Platform Guides


πŸ“„ License

DeskFlow is built on DeskFlows, licensed under the MIT License.

MIT License

Copyright (c) 2017-2024 DeskFlows Inc.
Copyright (c) 2025 GrowLocals.ai (DeskFlow modifications)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

πŸ™ Attribution & Thanks

DeskFlow is proudly built on DeskFlows, the excellent open-source customer engagement platform. We extend our sincere gratitude to the DeskFlows team and all its contributors for creating such a solid foundation.

Key upstream features we build upon:

  • Omni-channel inbox architecture
  • Vue.js dashboard and widget
  • Rails API backend
  • Enterprise Captain AI (now Atlas)

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“ž Support


Built with ❀️ by GrowLocals.ai

Powered by DeskFlows

About

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. πŸ”₯πŸ’¬

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Ruby 45.6%
  • Vue 28.5%
  • JavaScript 22.7%
  • HTML 1.8%
  • SCSS 0.6%
  • Shell 0.4%
  • Other 0.4%