I recently created a form on glide, with a webhook to an outlook email to submit the form once completed. My form has 3 sections to upload an image, to which I used 3 separate intregromat HTTP (get a file) modules to email. The issue I am having is that if photos are not uploaded, then the form cannot be emailed because the webhook is linked to all 3 http modules, and subsequently to the Email Module for finalizing.
Is there a way to add a condition/rule in the filter option for each HTTP module, in which if there are no values for images entered, continue to email the form without the photos?
I imagine you could do some conditional branching in Make, but I haven’t had a need to use it, so I’m not overly familiar with what is possible.
Another thought though, could you create a 1 pixel image or something really small and transparent that you could pass along in place of any image columns that are empty? It would just be a few IF columns in Glide to return either the uploaded image or the 1 pixel image. Then pass the IF column values in your webhook.
Hi Zschrei, thank you so much. So i tried the error handling to use a “resume” function for each HTTP module, to resume to the the next HTTP module and so forth, without an attachment -which worked. I also had to add another email module in the event there were no uploads for the 3 upload sections, to email regardless. I edited this Email module to not include attachments.
Only problem now is how can I configure it so if there is one http attachment, to send an email with that one attachment. Is there an easier way then to use all of these resume possibilities and extra modules for these instances?
Are you familiar with adding routers and filters? I would probably set up a router that routes based on the number of attachments. Then you would set up a filter for each of them… i.e. if only attachment continue down this line, if 2 attachments continue down this line, etc.
May not be the most efficient way to achieve the desired results but I would think it would work.