Workflow Reviews overview
Overview
Alpha. This feature is in early development and may change based on feedback. Workflow Reviews is available only to businesses that have it enabled.
Workflow Reviews uses AI to suggest simpler versions of spend-request approval workflows within Spend Programs. Suggestions focus on removing unnecessary conditions and consolidating repeated steps.
Workflow Reviews suggestions that simplify conditions
Workflow Reviews can suggest the following changes when it identifies the matching pattern. These descriptions explain the recommendations; they are not steps you need to perform manually.
- Merge conditions with identical steps. Separate conditions in a sequence lead to identical steps, and their conditions cannot match the same request. The suggestion combines those conditions with OR and keeps one copy of the steps, reducing duplicate routing.
- Merge identical alternatives. Neighboring paths in a split lead to identical steps. The suggestion combines alternatives that can be merged without running those steps twice. If the final conditional path and Otherwise path are identical, it can remove that final condition instead, making the split easier to read.
- Remove empty conditions. Every path under a condition contains no steps. The suggestion removes the empty split when its checks can be skipped, reducing clutter.
- Remove impossible branches. A path's condition cannot be true given the conditions needed to reach it. The suggestion removes that unreachable path so you do not need to maintain unused routing.
- Remove unnecessary conditions. Earlier conditions already determine a check's outcome, or removing an impossible path leaves no meaningful choice. The suggestion removes the unnecessary check or split, making the remaining route clearer.
- Remove unnecessary checks. Earlier conditions already settle some of the checks within a path's condition. The suggestion removes only those checks and keeps the rest, without changing which steps run. For example, inside an "Amount over 1,000" path, a condition of "Amount over 500 and New vendor" becomes "New vendor".
- Simplify conditions. A condition contains related checks that can be expressed more simply. The suggestion combines or removes redundant checks within the condition, such as combining alternatives for the same field, without rearranging the steps in its paths.
Workflow Reviews suggestions that organize steps
Workflow Reviews can also reduce repeated steps. These recommendations explain ways to simplify the workflow's structure rather than add new approval requirements.
- Combine repeated conditions. Two consecutive conditions check exactly the same thing and each contains steps. The suggestion checks once and runs both sets of steps in their original order, avoiding a repeated check.
- Share common starting steps. All alternative paths start with identical actions, and the split covers every possible route with one path running. The suggestion moves those actions before the split, leaving each path's distinct steps in place so shared actions are maintained once.
- Share common ending steps. All alternative paths end with identical actions, and the split covers every possible route with one path running. The suggestion moves those actions after the split, keeping one shared ending instead of a copy in each path.
- Remove steps that never run. Steps come after an action that finishes the workflow, so they can never run. The suggestion removes those steps. When this suggestion appears, it is always included in the suggested version rather than offered as an optional change.
Review and accept workflow suggestions
For help opening your program's workflow, see Configure procurement workflows. You need permission to edit the workflow. If you cannot edit it, ask a workflow administrator to make the change.
When Edit with Ramp is available for your saved workflow, select it to open Ask Ramp, then ask it to review and simplify the workflow.
Ask Ramp applies its chosen suggestions to an autosaved draft without publishing them. Review the draft in the workflow editor before publishing. See Save and publish your workflow for publication instructions and how changes affect new and in-progress requests.
Important: Suggested changes can alter how a workflow waits for missing information or handles errors when evaluating conditions. Shared starting steps may run before a condition that previously waited or failed.
Before publishing a suggested version, test your workflow, including paths that depend on information collected during the workflow.
Not every workflow has suggestions or displays a Review suggestions banner. When a banner appears:
- Select Review suggestions to open the comparison.
- Switch between Suggested and Current to compare versions, or hold the Space key to temporarily view the other version. Changed steps and paths are highlighted, and changed steps are labeled Added, Edited, or Removed.
- Select Accept suggestions to load the suggested version into the editor. Publishing is still a separate step for this banner-based review.
Follow Save and publish your workflow to publish the accepted version and understand how changes affect new and in-progress requests.
To reject a banner's suggestions, select Dismiss. Closing the comparison with Close only exits the preview; it does not reject the suggestions.
Review workflow suggestions before publishing
If automatic review is enabled for your business, Ramp can check your Spend Program's workflow for a simpler version when you confirm Publish in the standalone workflow editor. Ramp first saves a draft, then checks for suggestions before completing publication. This check does not run when you select Save as draft.
While the check is running, select Skip and publish to continue with your version without waiting. If the check finds no suggestions, times out, or fails, Ramp continues publication without suggested changes.
For an existing saved workflow opened within the program editor, automatic review can also run when you select Save, if enabled for your business. Select Skip to continue without waiting for the check.
If a comparison appears, switch between Suggested and Current or hold the Space key to review the changes before deciding. This comparison has no Close option, so choose one of the following to continue.
- Publishing from the standalone workflow editor: Select Accept and publish to publish the suggested version, or Publish without changes to continue without the suggestions.
- Saving within the program editor: Select Accept and save to save the suggested version, or Keep current version to keep your version. You still need to finish publishing in the program editor.
Accept and publish continues publication without pausing for you to test the suggested version in the editor. Once publication completes successfully, that version is active. Do not select it if you still need to test the changes.
Understand workflow review limitations
Not every workflow produces a suggestion. Workflow Reviews checks specific patterns and skips changes it cannot validate. Workflows containing a step that repeats for each item are excluded from suggestion generation.