Build Workflow

Workflow connects a set of nodes connected in a mesh-type manner, implemented with business logic to start and finish a process that can involve one or more apps.

Nodes

Node is the key element of a workflow process. It performs actions like starting the flow, fetching data and sending data.

Triggers and Actions define a node's behaviour. Triggers are the starting point of the workflows or they will decide the time/event when the actions should be carried out.

Actions are the actual operations performed once the trigger gets activated. The action may vary according to the business requirement. It can fetch data from an external app and process it, or send out the internal information to outside systems.

Connection

A connection establishes a link between nodes to route data through the workflow. A connection between two nodes passes data from one node's output to another node's input.

Execution

Allows the users to run the workflow and test the results as a Test Run. Once the workflow is ready for production, it can be deployed for automatic execution - according to the condition.

Export / Import

The workflows can be transferred to another account using this option. Usually, the workflow is exported and imported as a JSON packet.

Flow Logic

The configuration of nodes and connections can be customized as per the business needs. The engine provides the following features to help users build their custom process.

Data

Data is the information that the nodes receive and process. All data passed between nodes is an array of objects. It has the following structure:

[
	{
		// For most data:
		// Wrap each item in another object, with the key 'json'
		"json": {
			// Example data
			"apple": "beets",
			"carrot": {
				"dill": 1
			}
		},
		// For binary data:
		// Wrap each item in another object, with the key 'binary'
		"binary": {
			// Example data
			"apple-picture": {
				"data": "....", // Base64 encoded binary data (required)
				"mimeType": "image/png", // Best practice to set if possible (optional)
				"fileExtension": "png", // Best practice to set if possible (optional)
				"fileName": "example.png", // Best practice to set if possible (optional)
			}
		}
	},
]

Last updated