Email component

Hi
Thank you…error between table and chair (me)…but see screenshots attached re errors in web hooks. Maybe I have the incorrect parameter as I’me getting an error with the email address. Presumably it’s the wrong value.


I also get an error with the images. I have space for 4 but in some cases I would only use 1 or 2. When I create the web hook and attempt to add all 4 spaces if there is only 1 image then it will error as the other 3 are not present. In short i need to include the possibility of 4 but may only have 1 or 2.
cheers

Can’t see that in any of the screen shots you provided?

I assume that the “Invalid URL” error is because one or more image URL’s is missing, yeah?
I’m not an expert with Integromat, but I think it might be possible to add some error handling so that it ignores those errors. You might have to experiment with it a bit and maybe do a bit of digging in the docs.

Thanks again. Yep it looks that way (see attached). It looks as though there is a access issue to Google Cloud for the images. I’m not quite sure if I understand it correctly but I wouldn’t have though that would be an issue when they’re hosted by Glide. Maybe the images need to be in the body of the email and not attachments.
cheers

Yes, that is surprising. Images hosted in Glide should always be publicly accessible.
I’m not sure that I can be much more help with this, sorry.
May need advice from one of the Integromat gurus - @Robert_Petitto or @V88

Hello @Mozzie and @Darren_Murphy. Joining this late but just wondered why you wouldn’t simply include the image URL(s) in the email body? Since the body is HTML you can just include the appropriate image tags for each. We always do this rather than actually attaching. With this approach you can even go as far as creating the HTML for the embedded image(s) within Glide (to include those that are valid and exclude those that are not) and push this through the Webhook.

2 Likes

Hi @V88. Thank you. I only had them as attachments after watching the second half of @Robert_Petitto Youtube video. I’ll change it to inline and see how I go.
Thank you all for your help.

cheers

Thank you for all your help and the sample app. Very much appreciated. The help from this community is amazing. I’m not a programmer but have always had an enormous respect for developers and was hoping to one day build a useful software product albeit small. These No Code applications have opened a world of opportunity to those people like myself, who have an idea but no idea…technically.
Thanks for your help it’s very much appreciated…and will likely be needed again. Sooner than you might think.
cheers

4 Likes

image

Here’s an example from one of our Integromat scenarios that might also help. You can see that we are checking to see if the “Photo” URL exists (if its length is not zero). If it does exist then we create the simple HTML image tag otherwise we use a blank string. The end result ends up in the HTML for the email body.

You could of course also create the HTML image tag within Glide using similar logic as discussed. This is just by way of an example.

Pretty much all email clients will then just render the image inline which saves the Integromat download and attach operations, particularly as the image URLs are public anyway.

Good luck!

2 Likes