How to add the attachment from a catalog to Flow email action

rochelleefernan
Tera Contributor

I have a Catalog item with an attachment variable.

Using Flow Designer, I have a Send Email Action and I want to add the attached file from the Catalog item.

Please help if coding is required or what is the appropriate Action to use and Target record.

Thanks

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

so you want that file attached to variable to be included in email?

If yes then you want to send email based on RITM table right?

then you will have to use scripting for this and don't send email from Flow

Steps:

1) copy that file from attachment variable to RITM record

I shared solution for this; enhance it

Disable ZZ_YY prefix from attachment when added through record producer

2) Create new email notification and then in the email notification use the Include attachment checkbox = true

3) Don't send email using Flow; instead allow email to trigger based on event or based on update with proper condition

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

This is my Flow looks:
find_real_file.png

@Rochellee Fernandes 

I already shared the approach/solution above.

also check this

How to embed a link to a specific record in an email from within Flow Designer

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thank you sharing, but it did not attach the file required. I added the Data Pill inside my email

find_real_file.png

Do I need to add an Attachment Action before the Email action?


Thanks @Ankur Bawiskar