FlowTruxFlowTrux/Docs

Core Concepts

Understand the building blocks of FlowTrux: organizations, workspaces, workflows, nodes, and roles.

Organizations

An Organization is the top-level tenant in FlowTrux. Every resource - workspaces, workflows, apps, AI providers, MCP servers, knowledge bases - belongs to an organization.

Each user belongs to one organization (one email = one organization). The organization's capabilities depend on its plan - Free, Starter or Pro. Paid plans require a billing address; business entities can provide a Tax ID.

Organization
├── Workspaces
│   ├── Workflows
│   ├── Apps (forms, result pages, custom apps)
│   └── Global variables
├── Shared resources (assigned to workspaces)
│   ├── AI Provider Keys
│   ├── MCP Server Configs
│   └── Knowledge Bases
├── Members (with roles)
└── Invites

Workspaces

A Workspace is a logical grouping within an organization that provides resource isolation. Workflows and apps live inside workspaces, and you can control which shared resources (AI providers, MCP servers, knowledge bases) are available in each workspace.

Use workspaces to separate concerns - for example, a "Production" workspace and a "Development" workspace, or per-team workspaces in a larger organization.

Key properties:

  • Name and optional description for identification
  • Enabled resources - which organization-level AI providers, MCP servers, and knowledge bases are available to workflows in this workspace
  • Members - which MEMBER-role users can access this workspace
  • Member permissions - what MEMBER-role users can do with the workspace's content (edit, delete, execute, publish)
  • Globals - workspace-scoped variables available in workflows via {{global.key}}

Workflows

A Workflow is a graph of nodes and connections that defines an automation. A workflow can be exported and imported as a JSON file.

Workflows belong to a workspace and are either Active or Inactive - only an active workflow can be run or started by a trigger. When a workflow runs, nodes execute in order following the connections - branches run as their conditions allow, and parallel paths run side by side.

Apps

An App is a web page of your own that people outside FlowTrux open by a link - it can start a workflow, show a workflow's result, or work on its own: a form that collects answers, a result page that shows a workflow's latest result, or a custom app with its own logic. Apps belong to a workspace, are built in the app editor with an AI assistant, and are published at https://<organization-address>.flowtrux.ai/<app>. A workflow is started from an app with the App trigger. See Apps Overview.

Nodes

FlowTrux has five node types, each with a distinct color:

NodeColorPurpose
TriggerEmerald (green)Entry point - starts workflow execution via manual run, webhook, cron schedule, or an app
AgentViolet (purple)AI/LLM node - sends prompts to Anthropic, OpenAI, or Google models, optionally with MCP tools and knowledge bases
ActionBluePerforms operations - HTTP requests, MCP tool calls, data transforms, delays
LogicAmber (yellow)Controls flow - if-else conditions, switch statements, loops, parallel branches
Aggregator (shown as Merge in the palette)Cyan (teal)Combines outputs from parallel branches - merge, concat, filter, reduce

Each node produces output that downstream nodes can reference using template variables:

{{steps.agent-1.output.response}}
{{steps.action-2.output.data.items}}
{{trigger.data.webhookPayload}}

Execution

When a workflow runs:

  1. It starts at the Trigger node.
  2. Connected nodes run in order, following the connections - branches run as their conditions allow, and parallel paths run side by side.
  3. Template variables in each node are filled in from the outputs of the nodes before it.
  4. Each node's result becomes available to later nodes as steps.<nodeId>.output.
  5. The run is recorded in the execution history with per-node logs, timing, status and credits used.

A run started with Run in the editor streams its progress live. Webhook triggers can answer immediately and run in the background, or wait for the result. See Execution.

Template Variables

Data flows between nodes through template variables in double braces:

VariableDescription
{{steps.nodeId.output.field}}Output from a previous node
{{trigger.data}}Data from the trigger (webhook body, static data, app fields)
{{trigger._query.<name>}}URL query parameters (webhook triggers)
{{global.key}}Global context key-value store (workspace-scoped)
{{item}}Current element inside a loop
{{index}}Current iteration index inside a loop (0-based)

When a template is the entire value (e.g., "{{steps.x.output.array}}"), the original type is preserved - arrays stay arrays, objects stay objects. When embedded in a string (e.g., "Count: {{steps.x.output.count}}"), the value is inserted as text. See Variables & Templates.

AI Usage and Credits

Agent nodes work out of the box - you do not need your own AI provider API key to get started. Without a key, agent calls draw from your plan's monthly AI credits. Different models consume credits at different rates, more capable models use more per call. When you add your own provider key in Resources → AI Providers, agent calls in workspaces using that key are billed directly by the provider and are not limited by the credit allowance.

Roles and Permissions

FlowTrux uses role-based access control at the organization level:

RoleAccess
OwnerFull access to everything, including deleting the organization. Access to all workspaces.
AdminSame as Owner, except deleting the organization or transferring ownership. Access to all workspaces.
MemberCan only access workspaces they are explicitly added to. No access to organization Settings. What they can do with workspace content is governed by per-workspace permissions.

Member Permissions

For MEMBER-role users, permissions are configured per workspace and cover the workspace's content - workflows and apps:

PermissionWhat It ControlsDefault
Create & Edit workflowsCreate and edit workflows and appsOff
Delete workflowsDelete workflows, apps and submissionsOff
Execute workflowsRun workflows manuallyOff
Publish forms and pagesPublish apps at their public addressOff

Owners and Admins always have full permissions in all workspaces.

Next Steps