Your first component
Create a component in the designer, use it in a FlowStream and install it from a file.
This page builds Uppercase, a component that turns the text it receives into capital letters, and runs it between a Trigger and a Print node.
Create the component
- Open a FlowStream in the designer.
- Select Add (plus), then Create new component.
- The Source code window opens with a template of a component.

- Replace the whole template with this code:
<script total>
exports.id = 'uppercase';
exports.name = 'Uppercase';
exports.icon = 'ti ti-font';
exports.author = 'Jane Doe';
exports.version = '1';
exports.group = 'Demo';
exports.config = {};
exports.inputs = [{ id: 'input', name: 'Input' }];
exports.outputs = [{ id: 'output', name: 'Output' }];
exports.make = function(instance, config) {
instance.message = function($) {
$.send('output', String($.data).toUpperCase());
};
};
</script>
<readme>
Converts the incoming data to uppercase text.
</readme>
<body>
<header>
<i class="$ICON"></i>$NAME
</header>
</body>- Select APPLY.
Uppercase appears in the list of components on the left, in the Demo group.
Use it
- Download Trigger and Print if the FlowStream does not have them. See Download components.
- Drag Trigger, Uppercase and Print onto the canvas and connect them in this order. See Add and connect nodes.
- Configure the Trigger node: clear Random data and type
hello flowin Data. - Select APPLY in the toolbar to start the design.
- Select Run on the Trigger node.
Print shows HELLO FLOW.

What the code does
exports.id,exports.name,exports.iconand the other properties describe the component.exports.inputsandexports.outputscreate the connection points of the node.- Flow calls
exports.makeonce for each node. It receives theinstanceof the node and itsconfig. - Flow calls
instance.messagefor every message that arrives.$is the message,$.dataits data. $.send('output', ...)sends new data to the output with the idoutput.
Change the component
- Right-click the Uppercase node and select Edit source code.
- Change the code and select APPLY.
Flow replaces the component in this FlowStream and restarts its nodes with the new code.
Install it from a file
Save the code as uppercase.html on a web server. In another FlowStream, select Add, then Link component, and enter the address of the file. See Install a component from a URL.
To offer many components to your team, publish them in your own catalogue.