ComfyUI Extension: PromptFlow
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Modular prompt engineering with wildcards, variations preview, auto-sort, and presets. Two modes (Simple/Extended), LoRA Manager integration, and 7 themes shared with FlowPath.
Looking for a different extension?
Custom Nodes (0)
README
π PromptFlow
Modular Prompt Engineering for ComfyUI
Features | Installation | Wildcards | Variations | Examples | Support
See It In Action
Simple Mode + Presets + Auto-Sort - Quick prompting with built-in presets

Variations Preview - See all wildcard combinations before generating

LoRA Manager + Saving Presets - Trigger words integration and custom presets

PromptFlow is a free and open source ComfyUI custom node that organizes your prompt workflow. Build structured prompts with wildcards, presets, and intelligent auto-sorting!
- π Two Modes - Simple (3 fields) or Extended (11 fields) for any workflow
- π² Wildcards -
{option1|option2|option3}syntax with 4 selection modes - π File Wildcards -
__folder/filename__loads from ComfyUI/wildcards/ - π Auto-Sort - Paste any prompt, auto-distribute to categories
- π― Variations Node - Preview all combinations before generating
- πΎ Presets - Built-in + custom presets with export/import
- π¨ 7 Themes - Shared theme system with FlowPath
- π LoRA Manager - Trigger words integration
β¨ Key Features
| Feature | Description |
|---------|-------------|
| π Simple Mode | 3 focused fields: Main Prompt, Style, Quality |
| π Extended Mode | 11 granular fields: Subject, Character, Expression, Outfit, Pose, Location, Style, Camera, Lighting, Quality, Custom |
| π² Wildcards | {a\|b\|c} inline syntax + __file__ wildcard files |
| π Field Modes | Fixed, Random, Increment, Decrement per field |
| π― Variations Node | See all possible combinations with seed hints |
| π Auto-Sort | Paste prompts, auto-categorize with 200+ keywords |
| βοΈ Drag & Drop | Reorder extended mode fields |
| πΎ Presets | 22 built-in + unlimited custom presets |
| π€ Export/Import | Share presets as JSON |
| π LoRA Manager | Auto-prepend trigger words |
| π¨ 7 Themes | Synced with FlowPath |
| β¨οΈ Shortcuts | Ctrl+Z undo, right-click menus |
π Quick Start
Installation
Method 1: ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Search for "PromptFlow"
- Click Install
- Restart ComfyUI
Method 2: Git Clone
cd ComfyUI/custom_nodes
git clone https://github.com/maartenharms/comfyui-promptflow
Then restart ComfyUI.
Method 3: Manual Download
- Download the latest release ZIP
- Extract to
ComfyUI/custom_nodes/comfyui-promptflow - Restart ComfyUI
Basic Usage
- Add PromptFlow node to your workflow (under "π PromptFlow" category)
- Fill in prompt fields - Or use Auto-Sort to paste existing prompts
- Connect outputs:
positiveβ CLIP Text Encode (positive)negativeβ CLIP Text Encode (negative)
- Generate!
π² Wildcard System
Inline Wildcards
Use {option1|option2|option3} in any field:
a {beautiful|elegant|stunning} {woman|lady} in a {forest|garden|meadow}
File Wildcards
Use __folder/filename__ to load from text files:
__characters/fantasy__ wearing __outfits/medieval__
Place .txt files in ComfyUI/wildcards/ folder (one option per line).
Field Modes
Each field can have its own mode:
| Mode | Behavior | |------|----------| | π Fixed | Always uses first option | | π² Random | Random selection (seed-based) | | π Increment | Cycles forward through options | | π Decrement | Cycles backward through options |
π― Variations Node
The PromptFlow Variations node shows all possible prompt combinations:
- Connect
prompt_dataoutput β Variations node input - See total combinations (e.g., "24 variations from 3 wildcards")
- Click rows to select specific variations
- Shift+click for range selection
- Queue Selected to generate only chosen variations
Perfect for batch generation with specific combinations!
π Auto-Sort
Paste any prompt and auto-distribute to the right categories:
- Click the β° menu β Auto-Sort
- Paste your prompt
- Preview shows categorization
- Click Apply
Works in both Simple and Extended modes!
πΎ Preset System
Built-in Presets
- 10 Style Presets - Photorealistic, Cinematic, Anime, Oil Painting, etc.
- 5 Quality Presets - Standard, Ultra, Minimal, Photo, Artistic
- 7 Negative Presets - Standard, Anatomy Fix, Full, NSFW Filter, etc.
Custom Presets
- Save button on each field to save content
- Load button to apply presets
- Right-click fields for quick save
- Global Presets save entire prompt state
Export/Import
Share presets via β° menu β Export/Import Presets
π LoRA Manager Integration
PromptFlow integrates seamlessly with LoRA Manager:
[LoRA Manager] --trigger_words--> [PromptFlow] --positive--> [CLIP Encode]
Trigger words are automatically prepended to your positive prompt.
π Node Reference
PromptFlow (Main Node)
Inputs: | Input | Type | Description | |-------|------|-------------| | seed | INT | For deterministic wildcard selection | | trigger_words | STRING | From LoRA Manager (optional) | | input_prompt | STRING | Prepend to output (optional) |
Outputs: | Output | Type | Description | |--------|------|-------------| | positive | STRING | Combined positive prompt | | negative | STRING | Negative prompt | | prompt_data | STRING | For Variations node |
PromptFlow Variations
Inputs: | Input | Type | Description | |-------|------|-------------| | prompt_data | STRING | From PromptFlow's prompt_data output |
Shows all wildcard combinations with selection and batch queuing.
π¨ Themes
Choose from 7 beautiful themes in Settings β PromptFlow β Theme:
| Theme | Primary | Accent | Vibe | |-------|---------|--------|------| | π Ocean Blue | Blue | Teal | Cool ocean waves | | π² Forest Green | Green | Amber | Lush nature | | π Pink Pony Club | Hot Pink | White | Fun and playful | | π§‘ Odie | Orange | Sandy Tan | Warm and friendly | | π Umbrael's Umbrage | Purple | Gold | Regal and mysterious (DEFAULT) | | βͺ Plain Jane | Gray | Gray | Simple and minimal | | π¦ The Dark Knight | Black | Yellow | For when Gotham needs you |
Note: Themes are shared with FlowPath!
β¨οΈ Keyboard Shortcuts
| Shortcut | Action | |----------|--------| | Ctrl+Z | Undo | | Ctrl+Y | Redo | | Escape | Close modal/dropdown | | Right-click | Context menu (Copy, Paste, Save, Clear) |
π Example Workflows
Check out the examples folder for ready-to-use workflows:
- PromptFlow Example Workflow (Simple).json - Basic 3-field workflow
- PromptFlow Example Workflow (Extended Mode with Wildcards & Variations).json - Full featured
- PromptFlow Example Workflow (LoRA Manager Integration).json - Trigger words workflow
All workflows include explanatory notes to help you get started!
π οΈ Troubleshooting
PromptFlow node not appearing
- Make sure you extracted to
ComfyUI/custom_nodes/comfyui-promptflow - Restart ComfyUI completely
- Check console for errors (search for "PromptFlow")
Wildcards not expanding
- Check syntax:
{option1|option2}for inline,__filename__for files - For file wildcards, ensure
.txtfile exists inComfyUI/wildcards/ - Check field mode is set to Random/Increment (not Fixed)
Auto-Sort not categorizing correctly
- Auto-Sort uses keyword matching - some tags may be ambiguous
- Review the preview before applying
- Manually adjust categories as needed after applying
Theme not applying
- Go to Settings β π PromptFlow β Theme
- Select your theme
- Node should update instantly
- If not, try reloading ComfyUI browser tab
π Support Development
PromptFlow is 100% free and open source
If you find it useful, consider supporting development:
β Ko-fi: https://ko-fi.com/maartenharms
β Star the repo: https://github.com/maartenharms/comfyui-promptflow
π£ Share with others: Help spread the word!
Every donation helps support continued development and new features
π€ Contributing
PromptFlow is open source and welcomes contributions! Whether you're fixing bugs, adding features, or improving documentation, we'd love your help.
How to Contribute
- Report Bugs - Open an issue describing the problem
- Request Features - Share your ideas for new features
- Submit Code - Fork, code, and submit a Pull Request
- Improve Docs - Fix typos, add examples, clarify instructions
Contribution Ideas
- β Add new auto-sort keywords
- β Create new preset packs
- β Improve wildcard parsing
- β Fix bugs and improve performance
- β Enhance documentation
- β Add new field types
π License
MIT License - Free to use, modify, and distribute
Copyright (c) 2026 Maarten Harms
See LICENSE file for full details.
π Also By Me
| Extension | Description | |-----------|-------------| | FlowPath | Intelligent path organization for ComfyUI - A1111-style counter, template variables, auto-detection, and 7 shared themes |
π Credits
Created by Maarten Harms (Mern)
Special thanks to:
- The ComfyUI community for feedback and support
- Everyone who helped test and improve PromptFlow
- Contributors who help make PromptFlow better
- Users who share their workflows and presets
π Contact & Links
- π GitHub: https://github.com/maartenharms/comfyui-promptflow
- β Ko-fi: https://ko-fi.com/maartenharms
- π¬ Discord: @itsmern
- π§ Issues: https://github.com/maartenharms/comfyui-promptflow/issues
Made for the ComfyUI community π
Write better prompts - generate better images!
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.