{"id":"JasqME29H60f","url":"https://totaljs.es/docs/flowos/1-0/guides/introduction/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"What is Total.js FlowOS","summary":"What FlowOS is, how it differs from Total.js Flow and where to go next.","markdown":"---\ntitle: What is Total.js FlowOS\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/introduction/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# What is Total.js FlowOS\n\n> What FlowOS is, how it differs from Total.js Flow and where to go next.\n\n> **Note:** Total.js FlowOS is available only with a [Total.js Enterprise](https://www.totaljs.com/enterprise/) subscription. See the [FlowOS page](https://www.totaljs.com/flowos/) on totaljs.com.\n\nTotal.js FlowOS is a light version of [Total.js Flow](https://www.totaljs.com/flow/) for integrations, AI models and IoT devices. You build a process in the browser by placing components on a canvas and connecting them. FlowOS runs that process on your server or on a small device.\n\n![The FlowOS designer with a Trigger, Uppercase, Counter and Print nodes](/files/JasqM420H61f.webp)\n\n## How FlowOS differs from Flow\n\n| | FlowOS |\n|---|---|\n| Processes | One process, which opens as soon as you open the app. There is no list of FlowStreams. |\n| Sign-in | No user accounts of its own. Connect it to [OpenPlatform](../openplatform/) to control who gets in, and see [Secure access](../secure-access/). |\n| Components | You create them, link them from an address or receive them from other apps over [TMS](../tms-sources/). |\n| Storage | One file, `databases/flow.json`. No database server is needed. |\n| User interface | Optional. You can [run FlowOS without it](../without-ui/) on a device. |\n\nEverything you do on the canvas works as in Flow, so this documentation links to the [Flow guides](/flow/11-1/guides/designer-overview/) for nodes, connections, groups and notes.\n\n## Words used in this documentation\n\n| Word | Meaning |\n|---|---|\n| Component | A building block, for example **Trigger** or **Print**. Components are listed on the left. |\n| Node | A component placed on the canvas. |\n| Design | All nodes and connections on the canvas. |\n| TMS | Total.js Message Service. It lets Total.js apps send and receive events. |\n\n## What to read next\n\n1. [Install FlowOS](../install/).\n2. [Your first flow](../first-flow/).\n3. [The designer](../designer/).\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMC27H60f","url":"https://totaljs.es/docs/flowos/1-0/guides/install/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"Install FlowOS","summary":"Get FlowOS, install its dependencies and start it.","markdown":"---\ntitle: Install FlowOS\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/install/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Install FlowOS\n\n> Get FlowOS, install its dependencies and start it.\n\n> **Note:** Total.js FlowOS is available only with a [Total.js Enterprise](https://www.totaljs.com/enterprise/) subscription. See the [FlowOS page](https://www.totaljs.com/flowos/) on totaljs.com.\n\nYou get the source code of FlowOS from Total.js with your Enterprise subscription. FlowOS needs [Node.js](https://nodejs.org/) and nothing else: it keeps its data in a file, so you do not need a database server.\n\n## Install and start\n\n1. Unpack the FlowOS code in a folder, for example `flowos`.\n2. Open a terminal in that folder.\n3. Install the dependencies:\n\n```bash\nnpm install\n```\n\n4. Start FlowOS:\n\n```bash\nnpm start\n```\n\n5. Open `http://127.0.0.1:8000` in your browser.\n\nThe designer opens. Read [Secure access](../secure-access/) before you make FlowOS reachable from other computers.\n\n## Use another port\n\n`npm start` uses port 8000. To use another port, start FlowOS with the port number:\n\n```bash\nnode index.js 8080\n```\n\n## Run it on a server\n\n`npm start` runs FlowOS in debug mode, which restarts the app when its files change. On a server, start it in release mode:\n\n```bash\nnode index.js 8000 --release\n```\n\nUse your usual process manager to keep it running and to start it with the server.\n\n## Run it with Docker\n\nThe code contains a `Dockerfile` and a `docker-compose.yaml`. In the `flowos` folder, run:\n\n```bash\ndocker compose up\n```\n\nThe container publishes port 8000 and keeps the FlowOS folder, with your design, on your disk.\n\n## Next steps\n\n- Build [your first flow](../first-flow/).\n- Look at the [configuration file](../../reference/config-file/).\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMA25H60f","url":"https://totaljs.es/docs/flowos/1-0/guides/first-flow/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"Your first flow","summary":"Run the ready-made example, then change the data that the Trigger sends.","markdown":"---\ntitle: Your first flow\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/first-flow/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Your first flow\n\n> Run the ready-made example, then change the data that the Trigger sends.\n\nA new FlowOS opens with a small example: a **Trigger** node connected to a **Counter** and a **Print** node. Use it to see how a flow works.\n\n## Run the example\n\n1. Open FlowOS in your browser.\n2. On the **Trigger** node, select **Run**.\n3. The **Counter** node shows `1` and the time of the message.\n4. The **Print** node shows the data it received, a random text.\n\nSelect **Run** again and the counter goes up. Select **Reset** on the counter or **Clear** on the print node to empty them.\n\n## Send your own data\n\n1. Double-click the **Trigger** node to open its settings.\n2. In **Type**, choose **Object**.\n3. Clear **Random data**.\n4. In **Data**, enter:\n\n```js\n{ name: 'Jane Doe', email: 'jane@example.com' }\n```\n\n5. Select **APPLY** at the bottom of the settings window.\n6. Select **Run**.\n\n**Print** now shows your object. Changes to the settings of a node take effect right away. New nodes and connections start working only after you select **APPLY**: see [Apply changes](/flow/11-1/guides/apply-changes/).\n\n## Add a node\n\n1. Drag a component from the list on the left onto the canvas.\n2. Drag from the green dot of an output to the dot of an input to connect two nodes.\n3. Select **APPLY** and confirm with **Continue**.\n\nMore about nodes: [Add and connect nodes](/flow/11-1/guides/connect-nodes/) and [Configure a node](/flow/11-1/guides/configure-nodes/).\n\nThe example has only three components. To get more, see [Add components](../add-components/).\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqM923H60f","url":"https://totaljs.es/docs/flowos/1-0/guides/designer/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"The designer","summary":"Find your way around the only screen of FlowOS.","markdown":"---\ntitle: The designer\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/designer/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# The designer\n\n> Find your way around the only screen of FlowOS.\n\nThe designer is the only screen of FlowOS. It opens when you open the app.\n\n![The designer with the toolbar on top, components on the left and the canvas in the middle](/files/JasqM420H61f.webp)\n\n## Parts of the screen\n\n| Part | What it does |\n|---|---|\n| Toolbar | The buttons along the top. |\n| Components | The list on the left, grouped by the group of each component. Use **Search components** to filter it. Select a component to read what it does. |\n| Canvas | The area where you place and connect nodes. |\n| Status bar | Shows **Messages**, **Pending**, **Per minute**, **Errors**, **Memory** and the data traffic. |\n\n## The toolbar\n\n![The toolbar buttons](/files/JasqM521H60f.webp)\n\nFrom left to right:\n\n| Button | What it does |\n|---|---|\n| **APPLY** | Saves the design and starts it. See [Apply changes](/flow/11-1/guides/apply-changes/). |\n| **Add** (plus) | Opens the menu below. |\n| **Variables** | Edits the [variables](../variables/). |\n| **Console** | Opens a panel at the bottom with the messages and errors of the flow. |\n| **Activities** | Lists the tasks that are running at the moment. |\n| **Search in nodes** | See [Search in nodes](/flow/11-1/guides/search-nodes/). |\n| **Zoom** | Zooms the canvas out and back in. |\n\n## The Add menu\n\n![The Add menu](/files/JasqM722H61f.webp)\n\n| Item | What it does |\n|---|---|\n| **Create new component** | Writes a component in the browser. See [Add components](../add-components/). |\n| **Link component** | Installs a component from a web address. See [Add components](../add-components/). |\n| **Link endpoint** | Creates a component that calls an HTTP API. See [Add components](../add-components/). |\n| **TMS sources** | Connects Total.js apps. See [Connect apps with TMS](../tms-sources/). |\n| **Paste nodes** | See [Copy and paste nodes](/flow/11-1/guides/copy-paste-nodes/). |\n| **Download design** | Saves the design as a JSON file. See [Back up and restore](../backup-restore/). |\n| **Clear** | Removes all nodes from the canvas after you confirm. |\n\nThe items you see depend on your [permissions](../../reference/permissions/) when FlowOS is connected to OpenPlatform.\n\n## Work on the canvas\n\nThe canvas works as in Total.js Flow:\n\n- [Add and connect nodes](/flow/11-1/guides/connect-nodes/)\n- [Configure a node](/flow/11-1/guides/configure-nodes/)\n- [Copy and paste nodes](/flow/11-1/guides/copy-paste-nodes/)\n- [Organize with groups](/flow/11-1/guides/groups/)\n- [Add notes to nodes](/flow/11-1/guides/notes/)\n- [Keyboard shortcuts](/flow/11-1/reference/keyboard-shortcuts/)\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqM01wH61f","url":"https://totaljs.es/docs/flowos/1-0/guides/add-components/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"Add components","summary":"Write a component, install one from an address, drop a file or create an HTTP API component.","markdown":"---\ntitle: Add components\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/add-components/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Add components\n\n> Write a component, install one from an address, drop a file or create an HTTP API component.\n\nFlowOS starts with **Trigger**, **Counter** and **Print**. It has no component catalog, so you add the components you need in one of these ways. A component you add appears in the list on the left at once.\n\n## Write a component\n\n1. Select **Add** (plus), then **Create new component**.\n2. The **Source code** window opens with a template.\n3. Write your component. The template explains each part.\n4. Select **APPLY**.\n\n![The Source code window with the template of a new component](/files/JasqLw1uH61f.webp)\n\nComponents use the same format as in Total.js Flow. See [Your first component](/flow/11-1/development/first-component/) and [The component file](/flow/11-1/development/component-file/). For a full example, see [Write a component with a setting](../../recipes/own-component/).\n\n## Install a component from an address\n\n1. Select **Add** (plus), then **Link component**.\n2. Enter the address of the component's `.html` file in **URL address**.\n3. Select **SUBMIT**.\n\n![The Link component window with the URL address field](/files/JasqLy1vH60f.webp)\n\nYour browser downloads the file, so the address must be reachable from your browser. The file must set at least a name, a version and an icon, or FlowOS shows **Invalid response**.\n\nYou can use the components of Total.js Flow this way. The [Flow components catalogue](/flow/11-1/components/introduction/) describes them.\n\n## Drop a component file\n\nDrag a component `.html` file from your computer onto the designer. FlowOS installs it and shows **Installed:** with the component's ID.\n\nA `.json` file is refused: FlowOS keeps one design and does not replace it with a dropped file. To load a saved design, see [Back up and restore](../backup-restore/).\n\n## Call an HTTP API\n\n**Add** (plus), then **Link endpoint**, creates a component that sends each message to an HTTP address. You choose its **Name**, **Group name**, **Icon**, **HTTP method**, **Data serialization**, **URL address**, **Custom headers** and **Read me**, then select **CREATE**. The form is the same as in Flow: see [Call an HTTP API](/flow/11-1/guides/link-endpoint/).\n\n## Components from other apps\n\nTotal.js apps that publish events over TMS add their own components. See [Connect apps with TMS](../tms-sources/).\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMH2CH61f","url":"https://totaljs.es/docs/flowos/1-0/guides/manage-components/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"Edit and remove components","summary":"Read, change or delete a component from the list on the left.","markdown":"---\ntitle: Edit and remove components\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/manage-components/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Edit and remove components\n\n> Read, change or delete a component from the list on the left.\n\nRight-click a component in the list on the left to open its menu.\n\n![The menu of the Uppercase component with Read information, Edit source code and Remove](/files/JasqMF2BH60f.webp)\n\n| Item | What it does |\n|---|---|\n| **Read information** | Shows the description of the component. Selecting the component does the same. |\n| **Edit source code** | Opens the **Source code** window. Change the code and select **APPLY**. |\n| **Remove** | Deletes the component after you confirm. |\n\nRemoving a component also removes every node of that component from the canvas, together with its connections.\n\nRight-clicking a node on the canvas also offers **Edit source code** for its component, next to **Configure**, **Set a note**, **Copy node**, **Clone** and **Remove**.\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMT2NH60f","url":"https://totaljs.es/docs/flowos/1-0/guides/variables/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"Variables","summary":"Keep values such as addresses and keys outside your nodes.","markdown":"---\ntitle: Variables\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/variables/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Variables\n\n> Keep values such as addresses and keys outside your nodes.\n\nVariables are named values that you keep outside your nodes, for example the address of a server. FlowOS has one set of variables for the whole design.\n\n![The Variables window with one variable](/files/JasqMR2MH61f.webp)\n\n## Add a variable\n\n1. Select **Variables** in the toolbar.\n2. Type a key, then type a value.\n3. Press Enter to confirm the variable.\n4. Select **SUBMIT**.\n\nA variable that you do not confirm with Enter is not saved.\n\n## Change or remove a variable\n\n- To change a value, edit it, press Enter and select **SUBMIT**.\n- To remove a variable, select the red cross next to it, then select **SUBMIT**.\n\n## Use a variable\n\nComponents that support variables let you write `{key}` in their settings, for example `{greeting}`. Read the description of a component to see if it does.\n\nVariables are saved in `databases/flow.json` and in the file that **Download design** creates. Keep both files safe if your variables hold keys or passwords.\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMP2KH61f","url":"https://totaljs.es/docs/flowos/1-0/guides/tms-sources/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"Connect apps with TMS","summary":"Receive events from Total.js apps and send events to them.","markdown":"---\ntitle: Connect apps with TMS\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/tms-sources/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Connect apps with TMS\n\n> Receive events from Total.js apps and send events to them.\n\nTotal.js Message Service (TMS) lets Total.js apps publish events and accept events from other apps. When you add an app as a TMS source, its events appear in FlowOS as components.\n\n## Before you start\n\nThe app must have TMS turned on. You need:\n\n- the address of its TMS endpoint, for example `https://app.example.com/$tms/`;\n- its TMS token, if it has one.\n\nFor OpenPlatform, see [Total.js Message Service](/openplatform/5/guides/tms-setting/) in the OpenPlatform documentation.\n\n## Add a source\n\n1. Select **Add** (plus), then **TMS sources**.\n2. Select **Add source**.\n3. Enter the address in **TMS endpoint**.\n4. Enter the token in **Token**, or leave it empty if the app has none.\n5. Select **SUBMIT**.\n\n![The Add source window with the TMS endpoint and Token fields](/files/JasqMM2IH61f.webp)\n\nThe source appears in the **TMS sources** list with a dot: green when FlowOS is connected to the app, red when it is not.\n\n## The new components\n\nThe components of the app appear in two groups on the left. Each one shows the name of the app.\n\n![The Publish group with orders_status and the Subscribe group with orders_create](/files/JasqMN2JH60f.webp)\n\n| Group | What the component does |\n|---|---|\n| **Subscribe** | Sends a message into your flow each time the app publishes this event. It has an **Output**. |\n| **Publish** | Sends the data it receives to the app. It has an **Input**. |\n\nDrag them onto the canvas, connect them and select **APPLY**. For a full example, see [React to events from a Total.js app](../../recipes/app-events/).\n\n## Change or remove a source\n\nOpen **TMS sources** and use the pencil to change a source or the trash icon to remove it.\n\nThe token is saved in `databases/flow.json` and in the file that **Download design** creates.\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMI2EH61f","url":"https://totaljs.es/docs/flowos/1-0/guides/openplatform/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"Sign in with OpenPlatform","summary":"Let people open FlowOS from OpenPlatform, with the rights you give them.","markdown":"---\ntitle: Sign in with OpenPlatform\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/openplatform/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Sign in with OpenPlatform\n\n> Let people open FlowOS from OpenPlatform, with the rights you give them.\n\nFlowOS has no user accounts of its own. To decide who can open it and what they can do, connect it to [OpenPlatform](/openplatform/5/guides/introduction/). People then open FlowOS from the OpenPlatform start screen.\n\n## Register FlowOS in OpenPlatform\n\n1. In OpenPlatform, open **Setup**, then **Apps**, and select **Import**.\n2. Enter the address of the FlowOS metadata file, for example:\n\n```text\nhttps://flowos.example.com/openplatform.json\n```\n\n3. Select **IMPORT**, check the form and select **SUBMIT**.\n4. Copy the **Request token** and the **Response token** of the new app.\n\nThe metadata gives OpenPlatform the name, icon and [permissions](../../reference/permissions/) of FlowOS. See [Import an app](/openplatform/5/guides/import-app/) and [Register an app](/openplatform/5/guides/register-app/).\n\n## Add the tokens to FlowOS\n\n1. Open the `config` file in the FlowOS folder.\n2. Enter the tokens:\n\n```text\nop_reqtoken           : the Request token\nop_restoken           : the Response token\n```\n\n3. Restart FlowOS.\n\nWhen both tokens are set, FlowOS writes the address of its metadata file to the log, with the host and port it uses. If people reach FlowOS through another address, for example a domain behind a reverse proxy, use that address instead.\n\n## Give people access\n\n1. In OpenPlatform, allow FlowOS in a group. See [App permissions](/openplatform/5/guides/app-permissions/).\n2. Tick the FlowOS permissions that the group needs.\n\nOpening FlowOS directly, without OpenPlatform, now returns `401: Unauthorized`.\n\nTo turn the connection off, empty both tokens and restart FlowOS.\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMK2GH61f","url":"https://totaljs.es/docs/flowos/1-0/guides/secure-access/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"Secure access","summary":"Keep FlowOS reachable only by the people who should use it.","markdown":"---\ntitle: Secure access\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/secure-access/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Secure access\n\n> Keep FlowOS reachable only by the people who should use it.\n\nWhoever opens the designer can change the design and the code of its components, which runs on your server. Protect FlowOS before you use it outside your own computer.\n\nFlowOS has no user accounts of its own. Without OpenPlatform, everyone who can open its address uses the designer with every permission. Choose one or more of these ways to protect it.\n\n## Listen only on this computer\n\nBy default FlowOS listens on every network interface. To accept only connections from the same computer, add this line to the `config` file and restart FlowOS:\n\n```text\n$ip                   : 127.0.0.1\n```\n\nThis is the right choice on a device that you manage over SSH, or behind a reverse proxy on the same server.\n\n## Use HTTPS\n\nPut a reverse proxy such as NGINX in front of FlowOS and serve it over HTTPS. The designer uses a WebSocket connection, so the proxy must pass WebSocket requests. The proxy can also ask for a user name and a password before it lets anyone through.\n\n## Control who gets in\n\nTo give different people different rights, connect FlowOS to OpenPlatform. People then need an OpenPlatform account and the permissions you give them. See [Sign in with OpenPlatform](../openplatform/).\n\n## Turn off the designer\n\nOn a device that only has to run the flow, turn off the user interface. See [Run without the user interface](../without-ui/).\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMU2PH60f","url":"https://totaljs.es/docs/flowos/1-0/guides/without-ui/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"Run without the user interface","summary":"Run the flow on a device without the designer.","markdown":"---\ntitle: Run without the user interface\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/without-ui/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Run without the user interface\n\n> Run the flow on a device without the designer.\n\nOn an IoT device or a server that only has to run the flow, you can turn off the designer. The flow keeps running.\n\n1. Build and test the design with the designer.\n2. Open the `config` file in the FlowOS folder.\n3. Change the `ui` line:\n\n```text\nui                    : false\n```\n\n4. Restart FlowOS.\n\nThe flow in `databases/flow.json` starts as usual. The address of FlowOS now returns `404` and nobody can change the design from the browser.\n\nTo change the design later, set `ui` back to `true` and restart. You can also build the design on another FlowOS and copy its `databases/flow.json` to the device: see [Back up and restore](../backup-restore/).\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqM11yH61f","url":"https://totaljs.es/docs/flowos/1-0/guides/backup-restore/","project":"flowos","version":"1-0","section":"guides","language":"en","title":"Back up and restore","summary":"Keep a copy of your design and load it again.","markdown":"---\ntitle: Back up and restore\nproject: FlowOS\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/guides/backup-restore/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Back up and restore\n\n> Keep a copy of your design and load it again.\n\nFlowOS keeps the whole design in one file: `databases/flow.json` in the FlowOS folder. It holds the nodes, connections, components, variables and TMS sources. Each time you select **APPLY** or change a component, FlowOS writes this file.\n\n## Download the design\n\n1. Select **Add** (plus), then **Download design**.\n2. Your browser saves a JSON file named after the design, for example `FlowOS.json`.\n\n## Keep a copy of each version\n\nFlowOS can keep a copy of the design each time it saves it.\n\n1. Open the `config` file in the FlowOS folder.\n2. Change the `backup` line:\n\n```text\nbackup                : true\n```\n\n3. Restart FlowOS.\n\nFrom now on, each save also writes a copy next to `flow.json`, named after the date and time of the save, for example `databases/flow_20261120062153.json`. The copies are complete designs: restore one as shown below. FlowOS does not delete old copies, so remove the ones you do not need.\n\n## Back up the file\n\nCopy `databases/flow.json` to a safe place, for example with your usual server backups. Copy it again after each change you want to keep.\n\nThe file contains your variables and TMS tokens, so store it like a password.\n\n## Restore a design\n\n1. Stop FlowOS.\n2. Replace `databases/flow.json` with your copy, or with one of the dated copies renamed to `flow.json`.\n3. Start FlowOS.\n\nThe designer shows the restored design and the flow runs it.\n\nDropping a design file on the designer does not restore it: FlowOS keeps one design and refuses to replace it that way.\n\n## Move a design to another device\n\nUse the same steps: copy `databases/flow.json` from one FlowOS to the other, and start FlowOS there.\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMb2WH61f","url":"https://totaljs.es/docs/flowos/1-0/reference/config-file/","project":"flowos","version":"1-0","section":"reference","language":"en","title":"Configuration file","summary":"The keys you can set in the config file.","markdown":"---\ntitle: Configuration file\nproject: FlowOS\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/reference/config-file/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Configuration file\n\n> The keys you can set in the config file.\n\nFlowOS reads the `config` file in its folder when it starts. Each line is a key, a colon and a value. Lines that start with `//` are comments. Restart FlowOS after you change the file.\n\n```text\nname                  : FlowOS\nbackup                : false\nui                    : true\n$proxytimeout         : 60\nop_reqtoken           :\nop_restoken           :\n```\n\n## FlowOS keys\n\n| Key | Default | What it does |\n|---|---|---|\n| `name` | `FlowOS` | The name of the application. |\n| `backup` | `false` | `true` keeps a dated copy of the design at each save. See [Back up and restore](../../guides/backup-restore/). |\n| `ui` | `true` | `false` turns off the designer. See [Run without the user interface](../../guides/without-ui/). |\n| `op_reqtoken` | empty | The Request token from OpenPlatform. See [Sign in with OpenPlatform](../../guides/openplatform/). |\n| `op_restoken` | empty | The Response token from OpenPlatform. |\n\n## Total.js keys\n\nFlowOS is a Total.js application, so it also reads the keys of the Total.js framework. These are the ones you are most likely to need:\n\n| Key | Default | What it does |\n|---|---|---|\n| `$ip` | `0.0.0.0` | The network address FlowOS listens on. `127.0.0.1` accepts only connections from the same computer. |\n| `$port` | `auto` | The port. `auto` takes the number you give on the command line, or 8000. |\n| `$proxytimeout` | `60` in FlowOS | The time limit, in seconds, for requests that FlowOS forwards to another server. |\n\nKeep settings and keys in this file. FlowOS does not need environment variables.\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMe2aH61f","url":"https://totaljs.es/docs/flowos/1-0/reference/permissions/","project":"flowos","version":"1-0","section":"reference","language":"en","title":"Permissions","summary":"The permissions FlowOS offers to OpenPlatform and what each allows.","markdown":"---\ntitle: Permissions\nproject: FlowOS\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/reference/permissions/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Permissions\n\n> The permissions FlowOS offers to OpenPlatform and what each allows.\n\nWhen FlowOS is connected to [OpenPlatform](../../guides/openplatform/), it sends this list of permissions with its metadata. You tick them for a group in OpenPlatform.\n\n| Permission | Value | What it allows |\n|---|---|---|\n| **Admin** | `admin` | Everything below. |\n| **Configuration** | `config` | Changing the settings of nodes. |\n| **Design** | `design` | **APPLY**, moving nodes and **Clear**. |\n| **TMS** | `tms` | **TMS sources**. |\n| **Variables** | `variables` | **Variables**. |\n| **Edit components** | `components` | **Create new component**, **Link component**, **Link endpoint**, **Paste nodes**, and editing and removing components. |\n| **Download** | `download` | **Download design**. |\n| **Restart** | `restart` | Nothing in FlowOS: the flow runs inside the app, so there is no worker to restart. |\n\nButtons and menu items that a person is not allowed to use are hidden. Everyone who can open FlowOS can see the design, use the **Console** and run **Search in nodes**.\n\nWithout OpenPlatform, everyone who opens FlowOS has every permission. See [Secure access](../../guides/secure-access/).\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMd2YH61f","url":"https://totaljs.es/docs/flowos/1-0/reference/data-locations/","project":"flowos","version":"1-0","section":"reference","language":"en","title":"Files and folders","summary":"Where FlowOS keeps its settings and your design.","markdown":"---\ntitle: Files and folders\nproject: FlowOS\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/reference/data-locations/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Files and folders\n\n> Where FlowOS keeps its settings and your design.\n\nAll files are in the FlowOS folder.\n\n| Path | What it holds |\n|---|---|\n| `config` | The [configuration file](../config-file/). |\n| `databases/flow.json` | The design: nodes, connections, components, variables and TMS sources. |\n| `databases/flow_<date and time>.json` | Copies of the design, when `backup` is on. |\n| `public/` | Files that FlowOS serves to the browser. |\n| `node_modules/` | The dependencies that `npm install` downloads. You can recreate it at any time. |\n\nTo back up FlowOS, keep a copy of `config` and `databases/flow.json`. See [Back up and restore](../../guides/backup-restore/).\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMZ2UH61f","url":"https://totaljs.es/docs/flowos/1-0/recipes/own-component/","project":"flowos","version":"1-0","section":"recipes","language":"en","title":"Write a component with a setting","summary":"Create a component that changes one field of a message, with a setting to choose the field.","markdown":"---\ntitle: Write a component with a setting\nproject: FlowOS\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/recipes/own-component/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Write a component with a setting\n\n> Create a component that changes one field of a message, with a setting to choose the field.\n\nThis recipe builds **Uppercase**, a component that turns one text field of the incoming object into capital letters. A setting lets you choose the field.\n\n## Create the component\n\n**1.** Select **Add** (plus), then **Create new component**.\n\n**2.** Replace the whole template with this code:\n\n```html\n<script total>\n\n\texports.id = 'uppercase';\n\texports.name = 'Uppercase';\n\texports.icon = 'ti ti-font';\n\texports.author = 'Demo project';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { field: 'name' };\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\t\tinstance.message = function($) {\n\t\t\tvar data = $.data;\n\t\t\tif (data && typeof(data[config.field]) === 'string')\n\t\t\t\tdata[config.field] = data[config.field].toUpperCase();\n\t\t\t$.send('output', data);\n\t\t};\n\t};\n\n</script>\n\n<readme>\nChanges one text field of the incoming object to capital letters.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.field\" config=\"required:1\">Field name</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"ICON\"></i>NAME\n\t</header>\n</body>\n```\n\n**3.** Select **APPLY**. **Uppercase** appears in the **Demo** group on the left.\n\n## Use it\n\n1. Set the **Trigger** to send an object, as in [Your first flow](../../guides/first-flow/).\n2. Drag **Uppercase** onto the canvas.\n3. Connect **Trigger** to **Uppercase**, and **Uppercase** to **Print**.\n4. Select **APPLY** and confirm.\n5. Select **Run** on the **Trigger**.\n\n**Print** shows the object with the name in capital letters. Double-click the **Uppercase** node to choose another field.\n\n![A Trigger connected to Uppercase and Print, which shows JANE DOE](/files/JasqM420H61f.webp)\n\n## Share it\n\nSave the code as `uppercase.html`. You can drop the file on another FlowOS, or put it on a web server and install it with **Link component**. See [Add components](../../guides/add-components/).\n\nTo learn more about the component format, see the [Flow development guide](/flow/11-1/development/introduction/).\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqMY2SH61f","url":"https://totaljs.es/docs/flowos/1-0/recipes/app-events/","project":"flowos","version":"1-0","section":"recipes","language":"en","title":"React to events from a Total.js app","summary":"Print every order that a Total.js app publishes, and send a status back.","markdown":"---\ntitle: React to events from a Total.js app\nproject: FlowOS\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/recipes/app-events/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# React to events from a Total.js app\n\n> Print every order that a Total.js app publishes, and send a status back.\n\nIn this recipe a Total.js app publishes an `orders_create` event for each new order and accepts an `orders_status` event. FlowOS prints each new order and can send a status back. Use the names of your own app's events.\n\n## Connect the app\n\nAdd the app as a TMS source with its TMS endpoint and token. See [Connect apps with TMS](../../guides/tms-sources/). Its events appear on the left: `orders_create` under **Subscribe** and `orders_status` under **Publish**.\n\n## Print each new order\n\n1. Drag `orders_create` from **Subscribe** onto the canvas.\n2. Drag **Print** onto the canvas.\n3. Connect the **Output** of `orders_create` to the **Input** of **Print**.\n4. Select **APPLY** and confirm.\n\nWhen the app publishes an order, **Print** shows it.\n\n![The orders_create node connected to Print, which shows a demo order](/files/JasqMW2RH60f.webp)\n\n## Send a status back\n\n1. Drag `orders_status` from **Publish** onto the canvas.\n2. Connect a node that produces the status, for example a **Trigger** that sends an object, to the **Input** of `orders_status`.\n3. Select **APPLY** and confirm.\n\nEach message that reaches `orders_status` is sent to the app as that event.\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
{"id":"JasqLt1sH61f","url":"https://totaljs.es/docs/flowos/1-0/faq/questions/","project":"flowos","version":"1-0","section":"faq","language":"en","title":"Common questions","summary":"Answers to common questions about FlowOS.","markdown":"---\ntitle: Common questions\nproject: FlowOS\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: Total.js Enterprise\nurl: https://totaljs.es/docs/flowos/1-0/faq/questions/\nupdated: 2026-11-20T18:59:31.073Z\n---\n\n# Common questions\n\n> Answers to common questions about FlowOS.\n\n## Why is there no Download components item?\n\nFlowOS has no component catalog. Add components with **Create new component**, **Link component** or **Link endpoint**, by dropping a file, or from a TMS source. See [Add components](../../guides/add-components/).\n\n## Why is there no sign-in screen?\n\nFlowOS has no accounts of its own. To control who gets in, connect it to OpenPlatform. See [Secure access](../../guides/secure-access/) and [Sign in with OpenPlatform](../../guides/openplatform/).\n\n## Why do I get 401: Unauthorized?\n\nFlowOS is connected to OpenPlatform. Open it from the OpenPlatform start screen.\n\n## Why do I get a 404 page?\n\nThe designer is turned off with `ui : false`. See [Run without the user interface](../../guides/without-ui/).\n\n## Can FlowOS run more than one flow?\n\nNo. FlowOS runs one design. Use [groups](/flow/11-1/guides/groups/) to keep separate parts of it apart on the canvas, or run another FlowOS for each process.\n\n## Why does my new node not process messages?\n\nNew nodes and connections start working after you select **APPLY**. See [Apply changes](/flow/11-1/guides/apply-changes/).\n\n## Why does Link component say Invalid response?\n\nThe address does not return a component file, or the file does not set a name, a version and an icon. Your browser downloads the file, so the address must also be reachable from your browser.\n","entries":[],"license":"Total.js Enterprise","updated":"2026-11-20T18:59:31.073Z"}
