Conditional image upload when form field is empty — how to avoid errors?

What are you trying to achieve?

Hi everyone,
I’m trying to conditionally send an uploaded image from a Tally form to Airtable, but I want to skip the image entirely if the user didn’t upload one.

The problem is:
If the file upload field is empty, Make throws an error because the URL is missing.

I only want to send the image if the user actually uploaded one.
If the upload field is empty, I want to skip the field entirely to avoid errors.

Steps taken so far

I tried this, but it did not work.

{{if(1.fields.Company Photos (Optional).url = “{}”; null; 1.fields.Company Photos (Optional).url)}}

Screenshots: scenario setup, module configuration, errors



I’ve handled this by adding a conditional router before the image upload module. If the field is empty, route it to a “Do nothing” path; if not, continue to the upload. You can also use an if function in a Set Variable module to pre-check the field. That way, the scenario doesn’t fail or try uploading a null payload.