Option generator workflows
An option generator workflow is a workflow whose only job is to produce the list of choices that appear in a form field's drop-down instead of you hard-coding a static list. Think of a form field like "Which company?" You could type all your companies in by hand, but then you have to edit the form every time a company is added or renamed. Instead, you point that drop-down at a workflow. When someone opens the form, Rewst quietly runs that workflow, it goes and asks your PSA "give me the list of companies," and the answer becomes the drop-down list. Always current, no manual upkeep needed.
An options workflow must use the Request Options trigger. If you build it with a form or manual trigger, the drop-down won't be able to use it.
Create an option generator workflow
Part 1: Build the workflow
Navigate to to Automations > Workflows in the left side menu of your Rewst platform and create a new workflow. Name it something obvious like
Options - Companies.Drag and add the Request Options trigger to the Workflow Builder Canvas as the starting node.
Connect one action node that fetches the list you want — for example, a list companies action from your PSA integration, or list users from Microsoft.
Publish the workflow. Note that a workflow that has never been published falls back to its latest draft. Once a version is published, later unpublished edits are ignored.
Part 2: Point your form field at the workflow
Open your form and click the drop-down field you want to populate.
In the field's settings, find the Options area and switch the source from a manual/static list to Workflow.
Pick the workflow you just published.
Now, tell Rewst which piece of each record to use.
Value: the hidden bit the automation actually uses. This is usually
id.Label: the friendly bit the human sees. This is usually
nameordisplayName.
When a company record comes back as
id: 19297, name: "Pedro Aviary", the user seesPedro Aviary, and your workflow receives19297.Use the field's preview to confirm that real names appear, then publish the form.
What is a dependent drop-down?
The most common follow-up to a simple option generator workflow is to ask the Agent to "Pick a company, then only show contacts at that company." Setting this up is the same idea as a basic option generator workflow, with one addition. The second workflow accepts an input, like companyId, and on the form you bind the first drop-down's answer into that input. When someone changes the company, the contacts list re-runs and refreshes itself.
Last updated
Was this helpful?
