Custom Workflows to FlashBoards
Beta
FlashBoards supports custom workflows for both local ComfyUI and RunningHub cloud execution. Drop workflow files into a designated folder and they appear automatically in the Models modal with a cyan "Custom" badge.
Requires FlashBoards 1.2.0 or later. Custom local ComfyUI execution is currently in beta.
Overview
Custom workflows let you extend FlashBoards with your own AI pipelines. The system uses a file-based approach — place workflow files in a specific folder and FlashBoards automatically detects and registers them.
Pure ComfyUI JSON files that run on your local ComfyUI instance
RunningHub configs that execute published workflows in the cloud
Pair both file types to enable cloud + local execution for the same workflow
Custom workflows appear with a cyan "Custom" badge in the Models modal. Local-only workflows show in the Models tab, while cloud workflows appear in the Workflows tab.
File Structure
All custom workflow files go in the customWorkflows folder inside your FlashBoards data directory.
Folder Location
The custom workflows folder is located inside the FlashBoards data folder:
You can also open this folder directly from FlashBoards Settings → AI Generation → "Open Folder" button.
Download Example Files
Get sample config files to use as templates
File Types
- •
.json— Pure ComfyUI workflow (API or LiteGraph format) for local execution - •
.runninghub.json— RunningHub cloud workflow configuration - •
custom-workflows-meta.json— Optional metadata file for custom names and descriptions
Local ComfyUI Workflows
Export any ComfyUI workflow and drop it into the custom workflows folder. FlashBoards automatically detects inputs (prompts, images, videos) and makes them available in the AI panel.
Adding a Local Workflow
- 1. Export your workflow from ComfyUI using "Save (API Format)" or the regular Save button
- 2. Copy the .json file to refsLibrary/customWorkflows/
- 3. Restart FlashBoards or reopen the Models modal
- 4. Find your workflow in the Models tab with a cyan "Custom" badge
The workflow file stays 100% ComfyUI-compatible. You can re-import it into ComfyUI without modification.
- • LiteGraph format (standard Save)
- • API format (Save API Format)
- • CLIPTextEncode → text/prompt
- • LoadImage → image input
- • LoadImageMask → mask input
- • LoadVideo / VHS_LoadVideo → video
- • LoadAudio / VHS_LoadAudio → audio
Requirements
- • ComfyUI must be running locally and connected to FlashBoards
- • All custom nodes used in the workflow must be installed in your ComfyUI
- • Only standard input types are supported (image, video, audio, text, mask)
RunningHub Cloud Workflows
Register any published RunningHub workflow by creating a configuration file. You'll need the workflow's webappId and slot definitions.
Configuration File Structure
Create a .runninghub.json file with these fields:
Required
- •
id— Unique identifier for FlashBoards - •
name— Display name in the UI - •
webappId— RunningHub workflow ID (from URL) - •
outputType— "image" or "video" - •
slots— Array of input slot definitions
Slot Fields
- •
nodeId— Node ID in the RunningHub workflow - •
fieldName— Input field name on that node - •
type— "image", "video", "audio", "text", or "positions" - •
label— Display name in checklist - •
aiInputIndex— Order in input list (1-based) - •
required— Whether input is mandatory
Optional
- •
description— Brief description for workflow card - •
instanceType— GPU tier: "basic", "plus", or "pro" - •
estimatedDurationSeconds— For progress display
{
"id": "my-face-swap",
"name": "My Face Swap",
"webappId": "1938327236527456258",
"description": "Custom face swap workflow",
"outputType": "video",
"instanceType": "plus",
"estimatedDurationSeconds": 120,
"slots": [
{
"nodeId": "123",
"fieldName": "image",
"type": "image",
"label": "Face",
"aiInputIndex": 1,
"required": true
},
{
"nodeId": "456",
"fieldName": "video",
"type": "video",
"label": "Target Video",
"aiInputIndex": 2,
"required": true
}
]
}The webappId is the numeric ID in RunningHub workflow URLs. For example, in runninghub.ai/ai-detail/1938327236527456258, the webappId is 1938327236527456258.
Finding nodeId and fieldName
RunningHub provides an API button on every published AI App that shows the node IDs and field names you need.
Option A: Using workflows from other authors
1. Open the AI Apps page from the RunningHub main navigation.
2. Open the workflow (AI App) page and click the API button.
3. The API modal shows all node names and IDs you need for your config.
Option B: Using your own custom workflows
1. Create a custom workflow from the Workflows section.
2. Run the workflow successfully at least once, then publish it as an AI App. In the AI App settings, add your input nodes under "AI Input nodes". This is where you'll see the nodeId for each input.
3. Your published AI App will have its own page with an API button for verification.
4. Click the API button to verify your node IDs are correct.
If you're having trouble finding node IDs, contact us with the RunningHub workflow URL and we can help you create the configuration file.
RunningHub can only execute published workflows by webappId. You cannot upload arbitrary ComfyUI JSON to the cloud — the workflow must already exist on RunningHub.
Hybrid Mode
Enable both cloud and local execution for the same workflow by creating two files with matching base names. FlashBoards auto-detects the pair and shows both generate buttons.
How Hybrid Mode Works
- • Create both files with the same base name (e.g., face-swap.json and face-swap.runninghub.json)
- • FlashBoards detects the pair automatically
- • The workflow shows two generate buttons: local (monitor icon) and cloud
- • Choose execution mode based on speed, cost, or availability
Hybrid mode is useful when you want the flexibility to run locally during development or on cloud for production-quality results.
Workflow Metadata
Add custom names and descriptions to local workflows using the optional metadata file. This keeps your ComfyUI workflows pure while providing friendly display names in FlashBoards.
Metadata File
Create custom-workflows-meta.json in therefsLibrary folder (parent of customWorkflows).
Keys match workflow filenames without the .json extension. Workflows without metadata entries use the filename as the display name.
Available Metadata Fields
- •
name— Display name in the Models modal - •
description— Brief description shown below the name - •
outputType— "image" or "video" (affects capability badges) - •
tags— Array of tags for filtering (optional)
Tips & Troubleshooting
Best Practices
- • Use descriptive filenames — they become default display names
- • Test local workflows in ComfyUI first before adding to FlashBoards
- • Keep backup copies of your workflow files outside the customWorkflows folder
- • Use the metadata file to add friendly names without modifying workflow JSON
- • For RunningHub workflows, double-check slot nodeIds and fieldNames match the workflow
Common Issues
- • Workflow not appearing? Restart FlashBoards or reopen the Models modal
- • Invalid JSON will be skipped — check the console for error messages
- • ID collisions with built-in workflows are rejected — use unique IDs
- • Missing custom nodes in ComfyUI will cause local execution to fail
- • RunningHub workflows require a valid API token and published webappId
Return to the AI workflows guide to learn about the generation queue and input checklist, or check the ComfyUI setup guide to configure local workflow execution.