Implementing an Either/Or Field Requirement in a Zapier Action

I am building a Zapier action for my application.

I need a setup where users are allowed to fill in only one of two fields, for example either their email address or their phone number—ensuring they don’t submit both. The standard ‘Required’ attribute forces inputs for both fields, which does not meet this requirement, and I haven’t found a workaround in the Zapier documentation. Any assistance would be greatly appreciated. Thank you!

I dealt with a similar scenario on a project where determining the correct validation logic was crucial. In my case, I moved away from relying solely on Zapier’s built-in attributes and created a custom pre-validation script that would check the inputs before submission. The script would verify which field had been provided and disable the requirement for the other. Although this required additional coding, it gave me the flexibility to enforce the either/or condition as needed. This approach may be useful if you can integrate custom logic into your current workflow.