NeuronFlow Docs
Clear, practical guidance to build reliable workflows with AI, tools, memory, and resumable execution.
Overview
NeuronFlow is a visual automation platform where you connect nodes into a workflow graph. Every run is logged, and optional Agent Mode lets you resume unfinished runs with memory and visible plans.
Drag nodes, connect edges, and configure each step with clear inputs and outputs.
Execute on demand or on a schedule, with full execution history and debug logs.
Persist state, add context, and safely connect to tools and APIs.
Quickstart
- Open the editor at /app/ and create a new workflow.
- Add a Trigger node (Manual, Schedule, or Webhook).
- Add a processing node (AI Agent, HTTP Request, Set, or Tool).
- Connect nodes by dragging from the right handle of one node to the left handle of the next.
- Configure node details in the right‑hand panel.
- Run a test and review the output and logs.
- Save the workflow and enable schedules if needed.
Template Library
Templates are ready‑made workflows you can customize and run immediately.
- Open the editor and click Templates.
- Choose a template that matches your goal.
- Configure any required integrations or credentials.
- Run a test and save your customized workflow.
Examples
Trigger (Schedule) → HTTP (Fetch sitemap) → Loop (URLs) → AI Agent → Memory (save cursor) → Output
Use Agent Mode to resume from the last optimized URL and store the cursor in Memory.
Webhook → Set (normalize fields) → If (valid email) → Tool (CRM) → Output
Add Approval before creating a lead if you need manual review.
Core Concepts
- Workflow: A graph of steps that runs in order. Each run is an execution.
- Node: A single step. Example: HTTP, AI Agent, Memory.
- Edge: A connection that passes output from one node to another.
- Execution: A single run with logs, status, and outputs.
- Trigger: The entry point. Every workflow needs one.
- Tool: A configured integration that the AI Agent can call.
- Agent Mode: Adds resumable state, plan, and checkpoints.
- Memory: Durable key‑value storage across runs.
Editor Guide
Drag nodes from the left sidebar to the canvas. Connect output handles (right) to input handles (left).
Click a node to edit configuration, test data, and advanced options.
Tools connect to the AI Agent tool handle (orange). The agent can then call those tools.
Use the Run button to execute a test. Inspect logs and outputs in the execution drawer.
Agent Mode (Resumable Workflows)
Agent Mode makes workflows stateful across runs. It auto‑checkpoints after each node and resumes from the last successful node if the previous run was incomplete.
- Plan: Generated on first run. You can edit text, reorder, or disable steps.
- Resume: Only resumes if the last run was incomplete.
- Progress: Based on completed nodes (excluding triggers).
- Summary: Each completed run stores a short summary for context.
Memory v2
Memory v2 is session‑aware durable storage. Use it to keep cursors, results, or state across runs.
auto, get, set, append, delete, list, clear
Auto mode keeps old behavior: empty input = get, otherwise set.
Arrays push items, objects merge keys, strings append with a newline.
Context Memory
Context Memory stores explicit context blocks and injects them into AI Agent prompts automatically.
Variables & Templating
Use double‑curly syntax in most fields to reference runtime data.
Arrays use numeric keys with dot notation, e.g., {{input.items.0.title}}.
Node Reference
Each node has a purpose, key configs, and predictable output.
Trigger
Starts the workflow. Choose Manual, Schedule, or Webhook.
Output: payload + timestamp.
Webhook
Receives HTTP requests and passes body/headers into the flow.
Config: path, method.
AI Agent
LLM‑powered reasoning with optional tool calls.
Config: prompt, model, tools.
Tool
Connects to an external tool record for AI usage.
Config: tool name, actions.
HTTP Request
Call APIs with method, headers, params, and body.
Output: status, headers, response body.
Sync (Diff/Merge)
Compare source vs target datasets and output creates/updates/deletes.
Config: key field, paths, conflict policy.
Set
Add or overwrite fields in the payload.
Config: JSON fields.
If / Switch
Branch on conditions or multiple paths.
Config: condition, value, operator.
Merge
Combine outputs from different branches.
Output: merged payload.
Loop
Iterate through arrays, processing each item.
Config: array path, mode.
Wait
Pause for a duration before resuming.
Config: seconds.
Approval
Pause until manual approval or rejection.
Use for destructive actions.
Sort
Sort arrays by a key.
Config: key path, order.
Memory v2
Persistent state across runs.
Config: action, key, session.
Context Memory
Stores context blocks and injects them into AI prompts.
Config: title, mode, inject.
Code (JS/PHP)
Custom logic and transformations.
Use sparingly for complex cases.
CMS / API Action
Safe CRUD for external APIs and CMS systems.
Config: base URL, resource, intents.
Output
Formats the final output as text, JSON, or markdown.
Config: format.
Tools & Integrations
Tools are external services that can be invoked by AI Agents. OAuth services connect under Integrations, while API‑key tools are configured directly in the node.
Connect in /integrations/ first, then select the account or property inside the node.
Enter tokens directly in the node. Use Approval for destructive actions.
Executions & Logs
- Running: Active workflow execution.
- Paused: Stopped due to time limit or approval.
- Failed: Error thrown in a node.
- Completed: Finished successfully.
Open Execution History to inspect step‑by‑step outputs, logs, and resume paused workflows.
Security & Best Practices
- Store credentials in Integrations or encrypted tool configs, not in prompts.
- Use Approval nodes before delete or irreversible actions.
- Enable Memory History when you need audit trails.
- Use Session IDs for user‑specific or tenant‑specific workflows.
- Keep prompts concise and deterministic for stable outputs.
Troubleshooting
- No output: Check the Output node format and upstream node logs.
- Auth errors: Reconnect in Integrations or verify API keys.
- Workflow paused: Resume from Execution History.
- Missing data: Validate node IDs and variable paths.
- Agent ignores tools: Ensure Tool nodes are connected to the Agent tool handle.