Loading...
Help Center / Getting Started / App Builder Overview

App Builder Overview

App Builder Overview

Turn plain-English descriptions into fully functional business applicationsβ€”built, validated, and deployed in a single conversation with an AI agent.


What is the App Builder?

The App Builder is a conversational development environment embedded in MangoApps Workforce. Administrators describe the application they need in natural language, and an AI agent powered by Claude reads the SDK documentation, studies example plugins, plans the architecture, writes all the code, validates syntax and security, and deploys the appβ€”all streamed in real-time to a chat-based interface.

The result is a production-ready application with dashboards, CRUD operations, email notifications, scheduled jobs, analytics, and full access to platform data like shifts, schedules, attendance, and leave requests.

Core Value Proposition:

  • πŸ€– Conversational Development β€” Describe what you need; the AI handles architecture, code, validation, and deployment
  • ⚑ Real-Time Streaming β€” Watch the AI think, write files, run tools, and fix issues live
  • πŸ”„ Iterative Refinement β€” Send follow-up messages to add features, fix bugs, or change behavior in the same session
  • πŸ›‘οΈ Built-In Quality Gates β€” Automatic syntax validation, security scanning, code review, post-deploy verification, and auto-fix

At a Glance

πŸ“‹ Starter Templates πŸ”§ AI Tools πŸ”„ Auto-Fix Retries πŸ“‘ Streaming
20+ across 9 categories 17 specialized tools Up to 3 per deploy Real-time via ActionCable

Perfect For:

  • 🏒 Administrators β€” Build custom internal tools without writing code or filing IT requests
  • πŸ”§ Operations Teams β€” Create expense trackers, approval workflows, equipment logs, and alert systems in minutes

How It Works

The Build Conversation

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                         APP BUILDER CONVERSATION                              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                                               β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                                          β”‚
β”‚  β”‚  YOU DESCRIBE   β”‚  "Build an expense tracker where employees submit       β”‚
β”‚  β”‚  (Plain English) β”‚   expenses and managers approve them. Include           β”‚
β”‚  β”‚                 β”‚   a dashboard with spend charts and email               β”‚
β”‚  β”‚                 β”‚   notifications on approval."                            β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                                          β”‚
β”‚          β”‚                                                                    β”‚
β”‚          β–Ό                                                                    β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚                        AI AGENT WORKS                                  β”‚   β”‚
β”‚  β”‚                                                                       β”‚   β”‚
β”‚  β”‚  Phase 1: RESEARCH        Phase 2: PLANNING        Phase 3: BUILDING  β”‚   β”‚
β”‚  β”‚  πŸ“– Read SDK docs         πŸ” Check slug            πŸ“ Write plugin.rb β”‚   β”‚
β”‚  β”‚  πŸ“š Study examples        πŸ“‹ Plan architecture     πŸ“ Write controllersβ”‚   β”‚
β”‚  β”‚                                                    πŸ“ Write views     β”‚   β”‚
β”‚  β”‚                                                    πŸ“ Write templates β”‚   β”‚
β”‚  β”‚                                                                       β”‚   β”‚
β”‚  β”‚  Phase 4: QUALITY         Phase 5: DEPLOY          Phase 6: VERIFY    β”‚   β”‚
β”‚  β”‚  βœ… Validate syntax       πŸš€ Deploy to platform    πŸ” Check registry  β”‚   β”‚
β”‚  β”‚  πŸ”’ Security scan         πŸ“¦ Create package        🌐 Test HTTP pages β”‚   β”‚
β”‚  β”‚  ⭐ Code review           πŸ”„ Register plugin       πŸ”§ Auto-fix if err β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚          β”‚                                                                    β”‚
β”‚          β–Ό                                                                    β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                                          β”‚
β”‚  β”‚  APP IS LIVE    β”‚  Open your new app, iterate with follow-ups, or         β”‚
β”‚  β”‚  (Deployed)     β”‚  start a new session                                     β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                                          β”‚
β”‚                                                                               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Auto-Fix Verification Loop

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     POST-DEPLOY AUTO-FIX LOOP                             β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                                           β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚   DEPLOY     │────▢│   VALIDATE   │────▢│   ERRORS FOUND?          β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚                                                         β”‚                 β”‚
β”‚                              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”       β”‚
β”‚                              β”‚ No                        β”‚ Yes    β”‚       β”‚
β”‚                              β–Ό                           β–Ό        β”‚       β”‚
β”‚                       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚       β”‚
β”‚                       β”‚  SUCCESS   β”‚              β”‚  AI FIXES  β”‚ β”‚       β”‚
β”‚                       β”‚  βœ… Done   β”‚              β”‚  errors &  β”‚ β”‚       β”‚
β”‚                       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              β”‚  redeploys β”‚ β”‚       β”‚
β”‚                                                   β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β”‚       β”‚
β”‚                                                          β”‚       β”‚       β”‚
β”‚                                               β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”    β”‚       β”‚
β”‚                                               β”‚  Retry ≀ 3  β”‚β”€β”€β”€β”€β”˜       β”‚
β”‚                                               β”‚  times      β”‚            β”‚
β”‚                                               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜            β”‚
β”‚                                                                           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key Features

πŸ€– The AI Agent

The builder uses a Claude-powered AI agent with 17 specialized tools, streaming responses, and a tiered prompt system that adapts to the complexity of your request.

Capability How It Works
Thinking Mode The AI shows its reasoning process with configurable effort levels (low, medium, high)
17 Tools Purpose-built tools for every phaseβ€”research, building, validation, deployment, and management
Streaming Output Text, thinking, and tool execution progress stream to the UI in real-time via ActionCable
Tool Call Budget Max 50 tool calls per session to keep builds focused and efficient
Conversation Memory Full conversation history maintained; summarized after 10 messages to manage context length
Feature Layer Detection Keywords in your request trigger specialized prompt layers (widgets, webhooks, workflows, etc.)
Business Context The AI knows your business name, user count, locations, departments, enabled apps, and deployed plugins

πŸ”§ The 17 AI Tools

Every tool the AI agent can use during a build session:

Research Phase

Tool Purpose
GetSdkDocumentation Reads the complete Plugin SDK reference before writing any code
ReadExamplePlugin Studies full source code of 6 reference plugins (project_tracker, expense_tracker, hello_world, pto_reminder, overtime_dashboard, schedule_publish_notifier)

Planning Phase

Tool Purpose
CheckSlugAvailability Verifies the plugin slug isn’t taken by system plugins, marketplace apps, or other businesses

Building Phase

Tool Purpose
WritePluginFile Creates or replaces a file in the plugin session (plugin.rb, controllers, views, templates)
ReadPluginFile Reads an existing file to understand current state before making changes
PatchPluginFile Applies a targeted find-and-replace edit to a single fileβ€”safer than full rewrites for small changes

Quality Phase

Tool Purpose
ValidateRubySyntax Compiles Ruby code to catch syntax errors before deployment
SecurityScan Scans for prohibited patterns: eval, system calls, direct DB access, and other dangerous code
ReviewPluginCode Analyzes plugin code against best practices and returns a scored quality report with suggestions
RunPluginTests Executes the plugin’s test suite in an isolated mock context

Deployment Phase

Tool Purpose
DeployPlugin Writes files to the plugin directory, creates a package record, registers the plugin, and triggers a server restart
VerifyPlugin Post-deploy verification: checks plugin registry, loads controllers, compiles templates, and tests HTTP pages
SeedSampleData Populates the deployed plugin with realistic sample records so users see content immediately

Management Phase

Tool Purpose
ListDeployedPlugins Shows all plugins deployed for the current business
GetPluginHealth Retrieves health status, error counts, and analytics for a plugin
DisablePlugin Disables a plugin (triggers on_deactivate hook)
EnablePlugin Re-enables a disabled plugin (triggers on_activate hook)
GetAuditLog Retrieves recent audit log entries for a plugin

πŸ“‘ Real-Time Streaming

Every action streams to the browser via ActionCable’s PluginBuilderChannel.

Stream Event What You See
thinking Indicator that the AI is reasoning about the next step
thinking_chunk Incremental thinking text displayed in real-time
chunk AI response text appearing word-by-word
tool_progress (executing) Tool name, phase badge, and description (e.g., β€œValidating plugin.rb”)
tool_progress (completed) Tool result summary with elapsed time (e.g., β€œplugin.rb syntax OK β€” 0.2s”)
files_updated File tree sidebar refreshes when files are written or patched
auto_fix Auto-fix attempt notification with error details and retry count
complete Final completion with file list, deploy status, tool call count, and token usage
error Error message if something goes wrong

Build Phases: Each tool is classified into a phase displayed as a badge during streaming:

Phase Tools Badge
Research GetSdkDocumentation, ReadExamplePlugin πŸ“– research
Planning CheckSlugAvailability πŸ“‹ planning
Building WritePluginFile, ReadPluginFile, PatchPluginFile πŸ”¨ building
Quality ValidateRubySyntax, SecurityScan, ReviewPluginCode βœ… quality
Testing RunPluginTests πŸ§ͺ testing
Deploying DeployPlugin πŸš€ deploying
Verifying VerifyPlugin πŸ” verifying
Seeding SeedSampleData 🌱 seeding
Managing ListDeployedPlugins, GetPluginHealth, DisablePlugin, EnablePlugin, GetAuditLog βš™οΈ managing

🧠 Tiered Prompt System

The AI agent uses a smart prompt system that adapts to the complexity of your request. Simple apps get a focused prompt; complex ones get additional context layers.

Feature Layer Triggered By Keywords What It Adds
Dashboard Widgets β€œdashboard”, β€œwidget”, β€œoverview” Widget DSL, PluginWidgetAdapter patterns
Search β€œsearchable”, β€œfind”, β€œdiscoverable” Search indexing, GlobalSearchService extension
Notifications β€œnotify”, β€œalert”, β€œpush”, β€œSMS” NotificationService integration, push/SMS patterns
Org Graph β€œrole”, β€œpermission”, β€œdepartment”, β€œhierarchy” Read-only query objects for organizational structure
DataTable & Schema β€œtable”, β€œtracker”, β€œspreadsheet”, β€œinventory” Record schema DSL, typed fields, DataTables.js patterns
Workflows β€œworkflow”, β€œapproval”, β€œstate machine” Workflow DSL, state machines, ApprovalRequest bridging
Webhooks β€œwebhook”, β€œintegration”, β€œStripe”, β€œSlack” Incoming/outgoing webhook DSLs, HMAC verification

Prompt Size Management: Base prompt ~800 lines, each feature layer adds ~200–400 lines. Maximum prompt size capped at 2,500 lines to keep the AI focused.


Start from 20+ pre-built templates organized by category and difficulty.

Category Templates Examples
Getting Started 2 Hello World (beginner), Simple Counter (beginner)
CRUD / Data Management 3 Equipment Tracker, Inventory Manager, Team Kudos
Analytics & Dashboards 2 Overtime Dashboard, Leave Analytics
Notifications 1 Slack Notifier
Automation & Workflows 3 Approval Flow, Schedule Alerts, Daily Digest
HR & People 2 Onboarding Checklist, Training Tracker
Finance & Expense 2 Expense Tracker, Mileage Logger
Integrations 2 Webhook Relay, Cross-Plugin Dashboard
General Custom User-saved templates

Template Features:

  • Filter templates by category with tabbed navigation
  • Difficulty badges (beginner, intermediate, advanced)
  • Usage count tracking (β€œ12 uses”)
  • Custom templates: save any AI session as a reusable template for your organization
  • One-click to populate the chat with the template’s prompt

πŸ’¬ Session Management

The App Builder maintains persistent sessions with full conversation history.

Feature Description
Resume Sessions Pick up where you left offβ€”conversation history, files, and deploy status preserved
Session Search Search across session names and descriptions
Rename Sessions Double-click the session name in the header to rename (or right-click menu)
Delete Sessions Remove sessions you no longer need
Conversation Summarization After 10 messages, older conversation is compressed into a structured summary (original request, plugin metadata, file list, progress) while keeping the last 4 messages verbatim
Optimistic Locking Sessions are locked during AI processing (5-minute TTL) to prevent concurrent builds

Deploy Statuses:

Status Meaning
draft Session created, no generation started
generating AI agent is actively building
deploying Plugin is being written to disk and registered
deployed Plugin is live and accessible
failed An error occurred during generation or deployment

✏️ Manual Editing & Code Review

Review and edit generated code before deploying.

Feature Description
File Tree Sidebar Browse all generated files in a tree view with file count
Code Editor Drawer Slide-over editor with syntax highlighting for viewing and editing files
Edit Toggle Switch between read-only and edit mode
Diff View Compare changes to see what the AI modified
Ask AI About File Click the wand icon to ask the AI to edit the currently open file
Validate Button Run pre-deploy validation (syntax + security) on all files
Download as ZIP Export the complete app source code for external development or backup

πŸš€ Deployment & Verification

One-click deployment with automatic post-deploy verification.

Step What Happens
1. File Write All generated files written to the plugin directory
2. Package Creation PluginPackage record created with version, checksum, and metadata
3. Plugin Registration Plugin class registered in MangoappsSdk::PluginRegistry
4. MarketplaceApp Sync Corresponding marketplace app entry created/updated
5. Server Restart Touch tmp/restart.txt to reload the application
6. Verification AI calls VerifyPlugin to check registry, controllers, templates, and HTTP responses
7. Auto-Fix If verification fails, PluginFileValidator feeds errors back to the AI for up to 3 auto-fix attempts

Verification Checks:

  • Plugin class loaded in registry
  • Controller classes resolve (tries both plural and singular naming)
  • #index action exists on each controller
  • ERB templates compile without syntax errors
  • HTTP requests to plugin pages return 200 (or auth redirect)
  • Error pages detected and reported with exception class, message, and backtrace

πŸ”„ Iterative Refinement

Modify deployed or in-progress apps through follow-up messages.

Approach When to Use How It Works
Patch Small changes (fix a label, add a column, change a color) PatchPluginFile does a targeted find-and-replace on one occurrence
Rewrite Major changes (>50% of file affected) WritePluginFile replaces the entire file
Never regenerate unchanged files The AI is instructed to only touch files that need changes Unchanged files remain exactly as-is

Context Preservation:

  • Current files are included in the AI’s context (truncated to 3,000 chars each)
  • Conversation messages truncated to 2,000 chars each
  • After 10 messages, older conversation summarized to manage prompt size

πŸ“₯ Import Existing Apps

Bring deployed apps into the App Builder for modification or improvement.

Feature Description
Import from Plugin Manager Click any deployed app on the welcome screen to import its source files
Full File Import All plugin files (plugin.rb, controllers, views, templates) loaded into a new session
Compatibility Check SDK compatibility checker runs on import to flag deprecated APIs
AI-Assisted Improvement Once imported, ask the AI to add features, fix issues, or modernize the code

What the AI Can Build

The AI generates complete app packages with these file types and capabilities:

Component Files Generated Capabilities
Plugin Definition plugin.rb Slug, name, version, capabilities, settings, navigation, widgets, workflows, events, scheduled jobs
Controllers controllers/*.rb CRUD operations, JSON APIs, file uploads, search, pagination, bulk operations
Views views/plugins/{name}/**/*.html.erb Dashboards, list views, forms, detail pages, charts (Chart.js, ApexCharts)
Email Templates views/mailers/*.html.erb Formatted HTML emails sent via PluginMailer
Tests test/plugin_test.rb Automated tests run in isolated mock context via PluginTestRunner

Platform Integrations Available:

  • 16+ read-only APIs (users, shifts, schedules, attendance, timesheets, leave, holidays, and more)
  • JSONB data storage with search, pagination, and file attachments
  • Email sending with ERB templates (100/hour)
  • HTTP calls to external APIs with rate limiting (50/min)
  • Cron-like scheduled jobs
  • Platform event hooks (25+ event types)
  • Dashboard widgets
  • Auto-generated admin settings UI
  • Ask AI agent tools
  • RAG semantic search indexing
  • Incoming webhooks with HMAC verification

User Roles & Permissions

Role Capabilities
Admin Full access to App Builder: create sessions, build apps, deploy, import, manage templates, generate API keys
Employee No access to App Builder (admin-only feature); uses deployed apps as enabled by admin

Feature Gate: The App Builder requires plugin_ai_builder_enabled? to be set on the business. If disabled, administrators are redirected to the Plugin Manager with an informational message.


How We Compare

See how the MangoApps App Builder compares to leading AI-powered app builders:

Feature MangoApps App Builder Bolt.new Lovable Replit Agent
Conversational AI Building βœ… βœ… βœ… βœ…
Real-Time Streaming βœ… βœ… βœ… βœ…
Pre-Built Templates βœ… (20+) ❌ ⚑ Limited ⚑ Limited
Auto-Fix Verification Loop βœ… (3 retries) ❌ ❌ ⚑ Limited
Post-Deploy Verification βœ… (HTTP + registry) ❌ ❌ ❌
Platform Data Access (HR, Shifts, Leave) βœ… (16+ APIs) ❌ ❌ ❌
Built-In Email & Scheduled Jobs βœ… ❌ ❌ ❌
Security Scanning βœ… (static analysis) ❌ ❌ ❌
Code Review & Scoring βœ… ❌ ❌ ❌
One-Click Deploy to Production βœ… ❌ (manual) βœ… βœ…
No Per-User Pricing βœ… πŸ’° $20/mo πŸ’° $25/mo πŸ’° $20/mo
Legend: βœ… Included ❌ Not Available πŸ’° Paid Add-on ⚑ Limited

Why MangoApps App Builder?

  • πŸ”— Platform-Native β€” Built apps connect directly to shifts, schedules, attendance, leave, and user data without any API configuration
  • πŸ›‘οΈ Enterprise Quality Gates β€” Automatic syntax validation, security scanning, code review scoring, and post-deploy HTTP verification with auto-fix loop
  • πŸ’° No Separate Cost β€” Included in the MangoApps platform, no per-user or per-build pricing

Getting Started

Step 1: Open the App Builder

Navigate to Admin β†’ Plugins β†’ App Builder (or click the β€œCreate with AI” button in the Plugin Manager header).

Step 2: Choose How to Start

  • Pick a template β€” Browse the gallery, filter by category, and click to populate the chat
  • Type a description β€” Describe the app you want in the text area and press Enter
  • Import an app β€” Click any deployed app to import its source files for modification

Step 3: Watch the AI Build

The AI will stream its progress in real-time:

  • πŸ“– Reading SDK docs and example plugins
  • πŸ“‹ Planning architecture and checking slug availability
  • πŸ”¨ Writing files (plugin.rb first, then controllers, views, templates)
  • βœ… Validating syntax and running security scans
  • ⭐ Reviewing code quality

Step 4: Review & Deploy

  • Browse files in the sidebar tree
  • Click any file to open it in the code editor
  • Click Deploy App to go live
  • The AI automatically verifies the deployment and auto-fixes any issues

Step 5: Iterate

  • Send follow-up messages to add features, change behavior, or fix issues
  • The AI patches only the files that need changes
  • Re-deploy when ready

Best Practices

Writing Effective Prompts

  • βœ… Be specific β€” β€œBuild an expense tracker with categories (Travel, Office, Equipment), manager approval workflow, and a dashboard with spend-by-category chart” works better than β€œBuild an expense app”
  • βœ… Mention capabilities upfront β€” If you need email, scheduled jobs, or external HTTP calls, say so in the first message
  • βœ… Reference target users β€” β€œEmployees submit, managers approve, admins see analytics” helps the AI plan permissions correctly

During the Build

  • βœ… Let the AI finish β€” Wait for the β€œcomplete” message before sending follow-ups
  • βœ… Use follow-ups for refinement β€” β€œAdd a CSV export button to the list page” is better than starting a new session
  • βœ… Review the code review β€” The AI runs ReviewPluginCode and reports a quality score; address suggestions before deploying

After Deployment

  • βœ… Check the verification results β€” The AI reports which pages passed and which failed
  • βœ… Seed sample data β€” The AI can populate your app with realistic records so users see content immediately
  • βœ… Save as template β€” If you built something reusable, click β€œSave as Template” to share it with your organization

Frequently Asked Questions

Q: How long does it take to build an app?
A: Simple apps (dashboard, counter) take 1–2 minutes. Full CRUD applications with email, charts, and multiple pages typically take 3–5 minutes. The AI uses up to 50 tool calls per session, and you can see progress streamed in real-time.

Q: What happens if the AI-generated code has errors?
A: After every deployment, the AI runs automatic verification that checks the plugin registry, controller loading, template compilation, and HTTP responses. If errors are found, the auto-fix loop feeds them back to the AI, which patches the issues and redeploysβ€”up to 3 attempts. Validation errors (syntax, security) are also caught before deployment.

Q: Can I edit the code manually?
A: Yes. The file tree sidebar lets you browse all generated files, and the code editor drawer provides syntax-highlighted editing. Changes are saved to the session immediately. You can also download the full source as a ZIP for editing in your preferred IDE.

Q: What platform data can my apps access?
A: Apps have read-only access to 16+ platform query objects: users, shifts, schedules, locations, departments, attendance records, timesheets, leave requests, leave balances, holidays, user availabilities, shift listings, approval requests, and more. All queries are automatically business-scoped.



Describe what you need. The AI builds it. Your custom app is live in minutes.

Ask AI Product Advisor

Hi! I'm the MangoApps Product Advisor. I can help you with:

  • Understanding our 40+ workplace apps
  • Finding the right solution for your needs
  • Answering questions about pricing and features
  • Pointing you to free tools you can try right now

What would you like to know?