Skip to content

Make a Workflow Safe to Reuse

Start with one of the business recipes. Adapt its trigger and naming rule, then run these acceptance checks with non-sensitive test data.

Check What to verify
Trigger Only the intended form, pipeline, stage, or test tag enrolls the intended contacts
Dynamic data Customer/project key and file values exist before the action runs
Destination Drive ID matches the approved site/library; required parent folders exist
Outputs Each later step selects an output from the correct successful action, with the expected type
Repeated run Folder reuse, filename conflicts, moved source paths, and notifications behave as intended
Failure Missing file/path and access errors leave a result staff can inspect and recover
Access Staff can open returned Web URLs with their own Microsoft permissions

Use Find or Create Folder or Create Folder Structure to reuse same-named folders. Use Create Folder when an existing name should be treated as a conflict. Upload never overwrites an existing name. Move, Rename, and Delete require checking the current item after an uncertain failure.

When needed, create dedicated internal contact fields for the Drive ID, Item/Folder ID, and Web URL. Use Update Contact Field with the Custom Value Picker to select outputs. Restrict the fields to appropriate staff and keep access-bearing source/download URLs out of ordinary notes.

Do not type guessed merge tokens for action outputs. Collections such as Items or Folders must be inspected/selected with a suitable step; they cannot be supplied wholesale to a scalar Item ID input.

Record the workflow owner, trigger, target library, naming rule, current action versions, test time, accepted results, and recovery instructions. Keep secret values out of the record. Review credential expiry with IT separately.

Next: Troubleshoot a failed run →