Skip to main content

Here’s how my Zap is set up:
Plumsail Forms is the Trigger. The form has a number of multiple choice questions. Not all questions are required so some may be left blank. The answer to each question is the name of a csv file without the file type, stored on OneDrive. In my Zap, I have multiple OneDrive Find File steps, each pointing to one of the multiple choice questions on my form. Finally, the outlook email attaches the file for each OneDrive Find File result.

Here’s my problem:
When all multiple choice questions on the form are answered, the zap runs correctly, except sometimes it attaches incorrect (but similarly named) files. However, if someone leaves a multiple choice question blank, the OneDrive Find File step tied to that question errors with the following message “This OneDrive step hit an error
Error message: Required field "name" (name) is missing.”

How can I fix my zap to skip the OneDrive step if no answer if found, and how can I ensure that it grabs the file with the same name as the answered question?

 

Hi there @jsabin, welcome to the Community! 🎉

Hmm, if Plumsail Forms is only sending over values for that multiple choices field in some cases then you might want to look at using paths in your Zaps. With Paths you could set up different paths to check whether certain fields exist (meaning a value exists for the field) and have different fields selected in the subsequent OneDrive actions based on which path is being run. If you’ve not used Paths before I’d recommend checking out the following guides for more details:


I’d also suggest changing the selected test record when setting up each path to ensure the correct fields are selected for cases where the multiple choices field is filled out and when it isn’t. 

Hope that helps to get you pointed in the right direction. If you run into any issues on that or have further questions just let me know! 🙂


Reply