Build Approaches
Choose how you build automations in ByteChef - no-code on the visual canvas, low-code with a Script step, or full-code as a Code Workflow - all running on the same engine.
ByteChef supports three ways to author an automation: no-code on the visual canvas, low-code with a Script step on the canvas, and full-code as a Code Workflow. All three run on the same workflow engine with the same components and triggers. You can mix them in one project and move a workflow from one approach to another.
No-code: the visual canvas
Build the workflow in the workflow editor. Add a trigger and actions from the built-in components, map data between steps with data pills, and add branching and loops with flow controls. Most integrations need only an action and its fields.
Low-code: the canvas plus a Script step
When a step needs logic that no component provides, for example reshaping a payload, computing a value or parsing an unusual format, add the Script component and write the logic in JavaScript or Python. See Scripting languages. The Script step receives data from previous steps and returns a value that later steps use, like any other component. The rest of the workflow stays visual.
Full-code: a Code Workflow
Define the whole workflow in code as a Code Workflow in Java, JavaScript or Python, and edit it in ByteChef or deploy it from CI through the API. Use this approach when workflows must live in version control, go through code review and ship through CI. A Code Workflow runs on the same engine as a canvas workflow; only authoring and lifecycle differ. Code Workflows require the Enterprise Edition.
To give your own users an authoring UI in your product, see Custom Components and the embedded Workflow Builder.
Choose an approach
| Situation | Approach |
|---|---|
| Integrations and standard logic | No-code on the canvas |
| One step needs a transformation or glue logic | Low-code: canvas plus a Script step |
| The workflow must be in Git, reviewed and shipped through CI | Full-code: a Code Workflow |
| Requirements are not clear yet | Start with no-code; add a Script step or move to code later |
How is this guide?
Last updated on
Templates
Start from pre-built project and workflow templates, or share your own projects and workflows through import links.
Code Workflows
Define a whole workflow in code - the Java, JavaScript and Python contracts, the task context, typed authoring, editing in ByteChef and deploying through the API.