Workflows
Automate your app with triggers, nodes, and the visual workflow editor.
Workflows are where the automation happens in Rayven. A workflow watches for a trigger, runs through a series of steps, and then writes its results back into a Table or sends output to an Interface. If your screen labels this section "Connectors & Workflows," don't worry, it's the same feature, just with extra emphasis on connecting to third-party systems.
The workflow list screen
Every workflow in your app shows up in a list you can filter using the pills at the top: All, Active, Inactive, Draft, and Error. You can also search for a specific workflow, or click New Workflow to create one.
Each row in the list gives you a snapshot of that workflow:
- An enable/disable toggle
- Its name
- A status badge
- How many steps it has
- Its trigger type
- When it last ran
- How many times it's run
Hover over a row to Open it, or use its menu for Rename, Duplicate, Enable/Disable, or Delete.
Trigger types
A workflow can be started by an App Event, a Schedule, a Data Condition, a Form Submitted event, a Webhook, or manually.
Statuses
A workflow can be Active (enabled and will run), Inactive (disabled), Draft (still incomplete), or Error (its last run failed).
Creating a workflow
Click New Workflow, give it a name and, optionally, a description, then start building from an empty canvas.
Working in the workflow editor
The workflow editor is a visual, node-based canvas where you build out your automation step by step.
- The left sidebar holds a palette of nodes, grouped into Sources (HTTP Webhook, MQTT, Query Tables, Scheduler, see the Connector Nodes Reference), Transform (JavaScript, Conditional Filter, Rule Builder, Advanced Function, Associate/Split, see the Logic Nodes Reference), AI (Claude AI, Anomaly Detection, Predictive Model), and Outputs (Update Tables, HTTP Push, Alert/Notification, Interface Data, see the Output Nodes Reference). You can search or filter the palette by category to find what you need.
- Drag a node onto the canvas, then drag between its ports to connect it to other nodes, this is how data flows from one step to the next.
- Click a node to select it, or double-click it to open its full configuration in the right-hand panel, which has Config, Output, and Logs tabs.
- Right-click a node for quick actions: Duplicate, Disable/Enable, Copy, or Delete.
A few keyboard shortcuts can speed up building in the editor:
| Shortcut | Action |
|---|---|
Ctrl+S | Save |
Ctrl+Enter | Test run |
Ctrl+D | Duplicate |
Delete | Remove node |
Ctrl+A | Select all |
+ / - | Zoom |
Shift+1 | Fit to screen |
Use Test Run to execute the workflow right in the editor, it opens a log panel showing timestamps and info/error-level messages for each step, which is helpful for catching problems before they affect real data. If you need to go back to an earlier version, Version History lets you see and restore previous autosaved or manually-saved checkpoints.
Build and test your first workflow
- Open your App and go to the Workflows tab, then click New Workflow.
- Give it a name and, optionally, a description, to start from an empty canvas.
- Drag nodes from the left palette, Sources, Transform, AI, or Outputs, onto the canvas and connect them by dragging between their ports.
- Double-click a node to configure it in the right-hand panel's Config tab.
- Press
Ctrl+Enter(or click Test Run) and check the log panel for errors before trusting it against real data. - Once it behaves the way you expect, set its toggle to Active from the workflow list so it runs on its trigger going forward.
- If it stops behaving later, double-click into the failing node and check its Logs tab to see what happened.
Debugging a workflow that isn't behaving
If a workflow shows an Error status, or shows "0 runs" when you expected it to have run, first confirm its toggle is set to Active and that its trigger conditions are actually being met. From there, open the workflow, double-click into each node, and check its Logs tab to see which step failed and why, or click Test Run to run it again and watch the log panel for the failure in real time.
An Error status or unexpected run count almost always traces back to something visible in a node's Logs tab, check there before assuming the workflow itself is broken.
Frequently Asked Questions
Why does my workflow say 0 runs even though I published it?
Check that its toggle is set to Active, not just saved, a workflow with an Inactive or Draft status won't run even if it looks complete. Then confirm its trigger conditions are actually being met.
What's the difference between "Connectors & Workflows" and "Workflows"?
They're the same feature. Some screens label the section "Connectors & Workflows" to emphasize connecting to third-party systems, but it's the same workflow editor either way.
Does Test Run affect my real data?
Test Run executes the workflow the same way a live run would, including any writes to Tables or outbound calls, it's a real execution, not a simulation. Review the Logs it opens before trusting it against production data.
Can I recover a workflow after accidentally deleting a node?
Yes, open Version History to see and restore an earlier autosaved or manually-saved checkpoint from before the change.
My workflow ran but the Table wasn't updated, what should I check?
Double-click the output node and check its Logs tab to see whether it actually ran and wrote successfully. If it did, double check its Select Table setting and that upstream field names match the table's column names. See the Output Nodes Reference for details on table-writing nodes.
Where do I see every node available to add to a workflow?
See the Connector Nodes, Output Nodes, and Logic Nodes reference pages for every node in the Workflow editor and how to configure each one.
Can a Workflow write to more than one Table?
Yes, add multiple Update Tables nodes, one per target Table, from the same or different points in the workflow.
How do I show a Workflow's output on an Interface?
Write the result to a Table and read it back with getDataFromTable(), or use the Push to Interface node and read it with getDataFromAPINode(), both are called from the Interface's Code tab. The Data Sources tab only lets you inspect which fields are available; it doesn't display them on its own. See Interfaces and Core Concepts for both paths.
How do I restrict a Workflow's data to a specific customer or site?
Tag data with a Label as it's processed, using a connector node's Device/Select Label setting or a Logic node like Calculate Value for Label-Matched UIDs. See Core Concepts: Labels for how that value ties into User Groups too.
Can I embed AI inside a Workflow?
Yes, OpenAI, Claude AI, Gemini, and Perplexity nodes all run inside the Workflow canvas like any other node. See Generative AI in Rayven for how AI fits into Workflows, Tables, and Interfaces.
Related articles
For more detail on the individual nodes you can use inside a workflow, or on where workflow data comes from and goes, see: