Rewst's Workflow Builder: How to set up a workflow
Workflow Builder

Build a workflow
Create the workflow
Navigate to Automations > Workflows in the left side menu of your Rewst platform.
Click New Workflow.
Give your workflow a Name and a brief description of what it will be used to achieve.
Click Create workflow. This will launch the Workflow Builder.
Configure the workflow
Click Configure in the Workflow Builder. This will open the Configure Workflow menu dialog. Each of the submenus in the left side of the dialog contains settings for just this specific workflow.
Inputs
The Input Variables section defines the values supplied when the workflow starts. Click Add Input to create one.

Outputs
The Output Variables section declares the values returned by successful workflow runs. Click Add Output to create one.

Time Savings
Calculation configures how Rewst calculates saved time for each workflow run.
The Mode drop-down defaults to Global fixed seconds per run, paired with a Global Time Savings (seconds) field that defaults to 0
Notes records optional text context about how the estimate was determined

Limits
Workflow Limits configures execution limits that prevent runaway workflows, across two fields.
Max Tasks caps the number of tasks that can execute and defaults to no limit
Workflow Timeout (seconds) defaults to 86400
Concurrency
Concurrency Limit limits how many instances of the workflow can run at the same time, using the Max Concurrent Runs field
The default is Unlimited
When limit reached is used to set the behavior when a limit is hit: Drop or Fail the workflow
Tags
Workflow Types lets you select from predefined classifications for organization and filtering
Click Add Type to select one
Legacy Type Tag field is deprecated: use Workflow Types instead, as this is maintained for backward compatibility only with Rewst Classic
Info Tags adds lightweight tags for categorization and search
Click Add Tag to create one
Agent tool
Enter text into the Agent Tool Description field to explain when a custom agent should use this workflow, what context it must collect first, and what side effects it has.
Publish as node
This section makes the workflow available as a live workflow node for child organizations
Edits to the parent workflow propagate to child org workflow nodes, with no republish as node or version pinning step— however, child orgs run the parent workflow's latest published version, so draft edits don't reach them until you publish
Targets chooses which child orgs can use the workflow as a node, through three options:
All
By Tag - reveals a Browse tags search field
Specific - reveals a Search child orgs by name field
Palette Folder chooses the existing or new folder the published node appears in for child orgs
Exposed Inputs selects which workflow inputs child org users can fill in when they add the node
Input Constraints optionally saves validation metadata per exposed input, and stays empty until at least one input is exposed
Set up the trigger
Recall that every workflow is kicked off by a trigger. Which trigger you choose will depend on the goals of your workflow. There's no right or wrong order to build your workflow as long as it contains all the correct parts at the time of publication. You could start with adding actions to your Workflow Builder Canvas first, then set up your trigger.
If your trigger is a form, you'll need to create and set up that form first before pulling it into your workflow. If you're asking the Rewst Agent to build for you, it will take care of all the steps on your behalf, in one clean chain of events.
Click the Triggers tab of the left side menu in the Workflow Builder.
Click on your desired trigger. Drag it and release it on the Workflow Builder Canvas.
Click
on your placed trigger's node. This will expand the node and reveal the trigger's configuration settings.Fill in the fields as desired. For more on configuration for specific triggers, see our trigger documentation here.
Drag the action
Search for your desired action in the left side menu.
Click on it, drag it, and drop it onto the Workflow Builder Canvas.
Repeat this process to add all needed actions to your workflow.
Configure the action
Click
on the placed action, which will open its configuration menu. Each action will have up to three tabs inside it: Details, Advanced, and Outputs. The fields in each action's configuration menu will vary depending on the action. Action configuration fields are more explicitly documented here. Remember to add transitions between your tasks.
Click Mock Draft > Preview to see if your workflow executes as desired and choose from three execution modes via the drop-down selector:
Mock makes no API calls
Preview reads real data, but mocks writes
Run is a live run of the workflow as it would proceed any other time
Click Publish to save your changes and push them to the desired effect.
Add transitions between nodes
Transitions are the bridges that connect different nodes, ensuring that workflows move forward as designed. Each node has two circular nodules on its left and right, functioning as its input and output, respectively. Click on either and drag to the next node to set up the transition. Depending on the type of node and criteria set, one node might branch out to multiple subsequent actions.
The color of the transition line communicates its type. Green is for success, red for failure. Grey denotes unconditional out flow, the single path used for triggers, joins, delays, etc.
Right click a node and click Add Failure Transition to add a failure path for a node.

Right click on any transition line to expose the menu and change the line type to your preference of curved, angled, or straight. This is also how you delete the transition.

If you're reading a workflow that was either unpacked from a Crate or built for you by the Rewst Agent, you can follow the order of events in the workflow by reading the transitions.

Select multiple elements on the Canvas
Select multiple workflow nodes simultaneously by drawing a selection box around them.
Hold shift and drag your mouse.
Once you’ve selected multiple nodes, move them by dragging the selection box to the desired location.
Press the Delete key to delete all selected nodes.
Add, edit, or delete workflow notes
Notes are a great way to jot down your thinking behind workflow aspects, and an essential step to building workflows for any team that has multiple employees editing workflows. They're also a great way to preserve small snippets of your conversation with the Rewst Agent while it builds your workflow for you, to reference later on while editing or updating what it created. These boxes provide a title and a markdown editor.
Right-click the Canvas and select Add Note. Alternatively, click
in the vertical menu at the bottom left of the Workflow Builder Canvas. Click and drag it to the desired location on the canvas.
Click Edit on the note to edit its text.
Click
to delete the note.

Troubleshoot workflow failures or executions
If something goes wrong, your first step should be to ask the Rewst Agent. It can access all of a workflow's data and give you clear next steps. If your workflow involves an integration, it's also helpful to check that integrated tool's status page for outages or recent updates that the Rewst Agent might not be aware of.
Last updated
Was this helpful?
