You are viewing limited content. For full access, please sign in.

Question

Question

Workflow to download image from URL and send it as attachment in email

asked on October 16, 2022

I want to design a workflow (version 10.4.4) that downloads an image from a URL and sends it as attachment in email.

Actually, the URL generates a QR code that I want to send as an attachment in an email to the user.

Kindly advise on how can this be implemented.

Thanks

0 0

Replies

replied on October 16, 2022

You could try adding some HTML to the email task. I haven't tested this (yet).

<img src="https://www.w3schools.com/images/w3schools_green.jpg" alt="W3Schools.com">

HTML Images (w3schools.com)

I am going to try this out myself when I have a spare moment :)

 

0 0
replied on October 16, 2022

I have tested this now and it works. 

Create a token with the html code..

Then add that token to the email task. Make sure you format the link token as HTML.

 

0 0
replied on October 17, 2022

Thanks for your reply. I already use this approach, but some hackers were able to find the link in the email source code and generated factious QR code. Thus, I want the workflow to download the image generated from the QR code API call then adds it in the email body as an image or as a file attachment. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.