Workflows
Build the workflows inside an integration in the integration workflow editor, test them and publish a new integration version.
The integration workflow editor is where your team builds the workflows that make up an integration. You open it from the Integrations list by clicking an integration's name or its View Workflows menu action. It opens on one of the integration's workflows.
The visual canvas itself (adding triggers and actions, wiring nodes, configuring properties, using data pills) works exactly the same as the automation project editor. This page covers only what is specific to integrations: the workflows sidebar, the breadcrumb, the header actions, the settings menu, test runs, and integration versioning and publishing. For the canvas mechanics, see Building Workflows.
Editor layout
| Area | What it is |
|---|---|
| Workflows sidebar (left) | Switch between the workflows in the integration, search and sort them, add a workflow or an integration, or import a workflow. Toggle it with the sidebar button (tooltip See integrations) at the far left of the header. |
| Breadcrumb (header, left) | Integrations (back to the list), the integration name (a selector for switching integration), and a workflow selector dropdown for switching workflows. |
| Header actions (header, right) | In order: Test (or Chat), Publish, Configure, Integration Configurations, the output panel button, and the settings menu. |
| Canvas (center) | The visual workflow editor, the same as the automation workflow editor. |
Switching between an integration's workflows
An integration can contain many workflows. There are two ways to move between them:
- Breadcrumb workflow selector - click the workflow name in the header breadcrumb and pick another workflow from the Workflows dropdown. Click the integration name to switch to another integration; integrations without workflows are disabled.
- Workflows sidebar - click any workflow card in the left sidebar. The currently open workflow is highlighted.
Using the workflows sidebar
-
Open the sidebar with the sidebar toggle button at the far left of the header (if it is collapsed).
-
Use the integration selector at the top of the sidebar to change which integration's workflows are listed: Current integration, All integrations (workflows across every integration, grouped by integration) or a specific integration. Type to filter the integrations by name. The + button next to it creates a new integration.
-
Type in the Search workflows box to filter the list by name.
-
Click the Sort by button (filter icon) to reorder the list:
Option Order Last edited Most recently modified first (default). Date created Newest first. A-Z Alphabetical by workflow name. Z-A Reverse alphabetical. -
Each workflow card shows the workflow's component icons, its name and when it was last edited. Click a card to open that workflow. The card's menu offers Edit, Export and Delete.
Adding a workflow
Click New Workflow in the sidebar, New Workflow in the settings menu's Integration tab, or New Workflow from the integration's menu on the Integrations list. In the dialog, provide a workflow Label and an optional Description, then save. ByteChef adds the workflow to the current integration and opens it in the editor. To add a workflow from a JSON or YAML file instead, open the arrow menu next to New Workflow in the sidebar and choose Import Workflow.
Settings menu
Click the settings (gear) button at the right end of the header to open the settings menu. It has two tabs: Workflow and Integration. While changes are being saved, a saving indicator shows next to the workflow selector. It reads Offline when you are offline.
Workflow tab
| Action | Description |
|---|---|
| Edit | Rename the current workflow or change its description. |
| Export | Download the current workflow definition as a file. |
| Delete | Permanently delete the current workflow. A confirmation dialog appears first. |
Integration tab
| Action | Description |
|---|---|
| Edit | Open the integration dialog to change the integration's name, category, description, tags or permission expression. |
| New Workflow | Add a new, empty workflow to the integration and open it in the editor. |
| Import Workflow | Add a workflow to the integration by uploading a .json, .yaml, or .yml workflow definition file. |
| Integration History | Open the version history panel (see below). |
| Delete | Permanently delete the integration and every workflow it contains. |
Deleting an integration asks "Are you absolutely sure?" and warns that the action cannot be undone and will permanently delete the integration and the workflows it contains. Click Delete to confirm or Cancel to abort.
Reserved names
Workflow input names and node names cannot start with __ or be exactly vars; ByteChef uses those names internally. Adding or saving an integration workflow that uses one fails with an error listing the offending names. Rename the input or node and save again.
Testing a workflow
Use the header action buttons on the right to run and inspect the workflow you are editing.
| Button | Action |
|---|---|
| Test | Run the current workflow once for testing. In a workflow with several triggers, the run starts from the trigger whose panel is open, or from the first trigger when no trigger panel is open. For a chat-based trigger the button reads Chat and starts the chat. |
| Stop | Appears while a test run is in progress. Click it to stop the running workflow. |
| Output (icon button after Integration Configurations) | Toggle the output panel that shows the current workflow's most recent test execution output. |
The Test button is disabled until every required workflow input parameter, connection, and component property is set. Hover the button to see why it is disabled.
Test runs execute against the draft version of the integration and do not affect connected users. Connected users only ever run published versions activated through Integration Configurations.
Publishing an integration version
Publishing snapshots the integration's current draft workflows into a new, immutable published version that you can then activate for connected users.
- Click Publish in the header. The button is disabled, with the tooltip "No changes to publish", when the draft has no unpublished changes.
- In the popover, optionally enter a Description (up to 256 characters) summarizing what changed in this version.
- Click Publish.
When you publish, ByteChef:
- Increments the integration's version number.
- Duplicates each of the integration's workflows so the newly published version is frozen and independent of continued draft editing.
- Records the description and publish timestamp in the version history.
Editing continues on the draft; published versions are never changed. Only published versions can be activated in an environment through Integration Configurations.
Configuring from the editor
Two header buttons next to Publish work with the integration's Development instance configurations:
- Configure opens the instance configuration dialog to create a configuration or change the version one uses. It is disabled, with the tooltip "Publish the integration before configuring it.", until the integration has a published version.
- Integration Configurations opens a side sheet that lists the integration's configurations.
Integration version history
Open Integration History from the settings menu's Integration tab to view the Integration Version History panel.
Each entry shows:
- The version number (for example,
V1,V2). - The publish date and time (published versions only).
- A status badge: PUBLISHED or DRAFT.
- The description you entered when publishing, expandable to read the full text ("No description." when none was provided).
The current draft version appears at the top. It has no publish date or description yet, but you can expand it like any other version.
Expanding a version also lists the workflows that changed in it compared with the previous version: each added, removed or modified workflow, with the change count for modified workflows, under a summary such as "3 workflows changed (1 added, 2 modified)". The draft is compared with the last published version.
Click a workflow in the list to open its changes in a dialog with three tabs:
- Changes - workflow-level changes such as the label and description, and the trigger, task, cluster element, input and output changes, with old and new values for every changed parameter. Shown only for a modified workflow; an added or removed workflow opens on Canvas.
- Canvas - a read-only canvas of the workflow with added nodes in green, modified nodes in amber, moved nodes in blue and removed nodes in red. A toggle switches between the previous and the selected version.
- Definition - a side-by-side diff of the workflow definition.
Values of sensitive parameters such as passwords, tokens and API keys are shown as ••••••.
AI Copilot
Coming soon. The AI Copilot is on the upcoming release track and is not yet available in the latest released version of ByteChef.
The integration workflow editor includes the AI Copilot panel, an assistant scoped to the current integration with Ask and Build modes for understanding and building its workflows. Copilot is an Enterprise Edition feature and is disabled by default.
Related
- Integrations - the list where you create and manage integrations.
- Building Workflows - the shared visual editor mechanics (canvas, nodes, properties, data pills).
- Integration Configurations - activate a published version for connected users.
- Permission Expressions - restrict which connected users see an integration or a specific workflow.
How is this guide?
Last updated on