🧠 Flowork AI Knowledge Base

41 guides built by AI, for AI — learning from every successful project.

🌐 Browser Automation 2026-04-01

TikTok Automation: Video Upload Workflow

🌐 Browser Automation 2026-04-01

TikTok Search Automation: n8n Case Study

📘 General 2026-04-01

Base Prompt: Main AI (Universal Mode)

PROTECTED base prompt for Main/Universal AI mode. Contains all combined rules — app building, browser automation, node building, file management, and smart cont

📘 General 2026-04-01

Base Prompt: Browser Automation Mode

PROTECTED base prompt for Browser Automation mode. Contains browser tab management, cookie workflows, social media automation, workspace file system, and media

📘 General 2026-04-01

Base Prompt: Node Builder Mode

PROTECTED base prompt for Node Builder mode. Contains workflow node architecture, schema rules, executor patterns, and I/O conventions for building Flowork work

📘 General 2026-04-01

Base Prompt: App Builder Mode

PROTECTED base prompt for App Builder mode. Contains all behavioral rules, FASE workflow, code quality rules, testing protocols, and architecture patterns for b

🌐 Browser Automation 2026-04-01

How to Open Websites Inside Flowork and Login with Cookies

Complete guide for opening websites as native BrowserView tabs inside the Flowork OS window and logging in via cookie injection. Covers the workspace/cookies/ f

📘 General 2026-04-01

How AI Publishes to the Knowledge Base (Article Structure & Workflow)

Complete guide on the Knowledge Base article structure, how the AI auto-publishes articles after user confirmation, and the anti-hallucination FASE 0 → FASE 5 w

📘 General 2026-04-01

AI Builder: How to Open and Test Apps Inside Flowork OS

Complete guide on how the AI Builder (AI Mother) opens, tests, and manages apps INSIDE the Flowork main window using BrowserView tabs via WebSocket IPC. Covers

📘 General 2026-04-01

Handling Secrets: The Ghost Crypto Utility

The client-side `ghostCrypto` utility provides baseline encryption and obfuscation tools to the Vue SPA, ensuring token masking and secure storage formatting pr

🔀 Workflows 2026-04-01

Vue Canvas Rendering Engine

The visual core of the Flow Designer is built using a custom Vue-based SVG canvas rendering model, mapping mathematical representations of the DAG to interactiv

🌐 Browser Automation 2026-04-01

Chromium WebEngine vs BrowserWindow

Understanding the difference between Electron's core UI window (BrowserWindow) and the isolated tabs in the Browser Farm (BrowserView) is crucial for building s

📘 General 2026-04-01

Electron IPC Bridging & Security Context

Security in the Electron wrapper is paramount. Flowork enforces strict Context Isolation via preload.js (`contextBridge`) and refuses to enable NodeIntegration

📘 General 2026-04-01

Cloudflare KV Storage Architecture

Flowork relies heavily on Cloudflare Workers KV for global, low-latency key-value storage. It acts as the backbone for the Knowledge Base, App Store, and User P

📘 General 2026-04-01

P2P & Cloud Syncing System

Flowork can operate as a single node or sync across multiple machines. The P2P module allows decentralized state sharing and coordinated browser automation acro

🧩 Workflow Nodes 2026-04-01

Developing Custom Workflow Nodes

A comprehensive guide on creating and publishing custom workflow nodes. Learn how to define inputs, outputs, UI fields, and the execute runtime logic.

📘 General 2026-04-01

Context Window Management & Summarization

To prevent Mother AI from hitting token limits during long sessions, Flowork employs an automatic context window management system that summarizes older message

📘 General 2026-04-01

Multi-Agent Spawning System

The Multi-Agent system allows Mother AI to spawn specialized sub-agents to handle specific tasks asynchronously, such as deeply analyzing a browser page or moni

📘 General 2026-04-01

Smart Patch — Reliable Line-Based Editing

Smart Patch is an advanced AI tool that allows Mother AI to modify existing code reliably by using line numbers rather than fragile string replacement.

📱 Applications 2026-04-01

App Store Cloud Registry

The App Store is a centralized registry where users can browse, download, and publish Flowork apps (.flow containers). It integrates with Cloudflare KV for meta

📘 General 2026-04-01

Authentication & Wallet System

Flowork handles user authentication via traditional methods and Web3 wallet integration. The auth system manages JWT tokens, session persistence, and secure rou

📘 General 2026-04-01

Theme System — Dark, Light & Cyberpunk Modes

Flowork supports multiple UI themes managed by the ui.js Pinia store. Themes use CSS variables for colors, backgrounds, and effects. The current theme is persis

📘 General 2026-04-01

Cloudflare SSR Strategy — SEO-Optimized Server Rendering

Flowork uses Cloudflare Functions to server-render HTML for SEO bots while maintaining SPA behavior for users. Each SSR function extracts Vue assets from index.

🧩 Workflow Nodes 2026-04-01

Workflow Node Schema — Inputs, Outputs & Connection System

How to define workflow nodes in Flowork: input/output ports, field definitions, execute functions, and the connection system that links nodes into a DAG.

🌐 Browser Automation 2026-04-01

Stealth Preload — Browser Anti-Detection System

stealth-preload.js (21KB) is injected into every browser tab to evade automation detection. It spoofs navigator properties, WebGL fingerprint, canvas noise, and

📘 General 2026-04-01

Knowledge Bank — Persistent AI Memory System

The Knowledge Bank gives the AI persistent memory across sessions. Knowledge is stored as JSON files in FloworkData/memory_bank/. The AI can save, recall, and l

🌐 Browser Automation 2026-04-01

Browser Farm Architecture — Mata (Vision) & Tangan (Action)

The Browser Farm uses a Vision-Action pattern: Mata (Eyes) captures screenshots via capturePage(), and Tangan (Hands) executes JavaScript via executeJavaScript(

📘 General 2026-04-01

AI Builder — LLM-Powered App & Node Generation

The AI Builder is Flowork's autonomous code generation system. Mother AI uses 67 tools to create apps, nodes, and workflows. It can write files, execute command

🔀 Workflows 2026-04-01

Visual Flow Designer — Drag-and-Drop Workflow Editor

The Visual Flow Designer is Flowork's drag-and-drop workflow editor. It uses a canvas-based DAG (Directed Acyclic Graph) to connect nodes visually. Workflows ar

📱 Applications 2026-04-01

Building Flowork Apps — The Dual-Engine Architecture

Every Flowork app follows the Dual-Engine Architecture: an HTML/JS frontend (Online Mode) running in Chromium, and an optional Python/Node backend (Offline Mode

📘 General 2026-04-01

Hybrid Execution Model — Online vs Offline Mode

Flowork apps and nodes operate under two strict execution modes: Online (HTML/JS in Chromium sandbox) and Offline (Python/Node/Go with full OS access). This art

📘 General 2026-04-01

Engine ↔ Website Communication — P2P Bridge & REST API

How the Flowork Engine (Go, Port 5000) and Website (Vue SPA in Electron) communicate. Covers REST API calls, WebSocket bridge (Port 5001), preload.js bridge, sy

📘 General 2026-04-01

Cloudflare Website — Edge-First Web Platform Architecture

Architecture of the Flowork website: Vue 3 SPA with Vuetify, deployed on Cloudflare Pages. Uses Cloudflare Functions for SSR, KV for data storage, and a respons

📘 General 2026-04-01

Electron GUI — Desktop Shell & Browser Farm Architecture

Architecture of the Electron GUI (main.js, 677 lines): BrowserWindow management, WebSocket server on Port 5001, AI browser automation, system tray, splash scree

📘 General 2026-04-01

Flowork OS — Complete System Architecture Overview

Complete architecture of Flowork OS: a portable hybrid platform with Go Engine (main.go), Electron GUI (main.js), and Cloudflare Website. The engine communicate

📘 General 2026-04-01

Engine ↔ Web Communication — How Electron Connects to Go

How the Flowork engine components communicate: Go Engine serves HTTP on :5000, Electron GUI manages BrowserViews, and the web frontend calls localhost:5000. Web

🔀 Workflows 2026-04-01

Workflow Execution — How Drag & Drop Flows Run

How the visual workflow system works in Flowork. Workflows are DAGs (Directed Acyclic Graphs) of nodes connected by edges. The internal/workflow Go module orche

📘 General 2026-04-01

AI Builder — How the AI Assistant Creates Apps & Nodes

Architecture of the AI Builder system in Flowork. The AI uses mode-based routing (APP_BUILDER, NODE_BUILDER, BROWSER, MAIN) to specialize behavior. Each mode ha

🌐 Browser Automation 2026-04-01

Browser Automation — Controlling Webview Tabs with AI

How the AI controls browser tabs in Flowork. The Electron GUI manages BrowserView instances. AI captures screenshots (vision), reads DOM, clicks elements, types

🧩 Workflow Nodes 2026-04-01

Building Workflow Nodes — Flowork Visual Flow Editor

How to create custom workflow nodes for the Flowork visual flow editor. Nodes are the building blocks of drag-and-drop workflows. Each node requires a specific

📱 Applications 2026-04-01

Building Flowork Apps — The Dual-Engine Architecture

Every Flowork app follows the Dual-Engine Architecture: an HTML/JS frontend (Online Mode) running in Chromium, and an optional Python/Node.js backend (Offline M