Using Flow Designer, add attachment to Send Email Action

Daniel O_Connor
Kilo Guru

Hi all,

I've created a Custom App using Studio, whereby we will receive Weather Warnings from a National Weather provider, and then forward this e-mail onto relevant parties. 

I created an extension of TASK so we can have a record of these weather alerts. The e-mail that we will receive, will contain a PDF attachment, that is the details of the warning.

Through my inbound action, I'm creating a record on my new table, where the PDF will be attached to the ticket.

Through Flow (new module, not legacy workflow) I've been able to spin my flow up pretty quickly. However I see no option to include the attachment from the record, onto the e-mail I'm sending out.

find_real_file.png

Any ideas how I can accomplish this?

  • With Send Email action in Flow Designer, have the attachment from the record included in the generated email 
1 ACCEPTED SOLUTION

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Hi Daniel,

 

Bad news is that I don't think there is a OOB functionality for this. Good news are that it's very easy to solve with a custom action. Basically you create you own "copy attachment" action and then you can use that action to copy the attachment from the task record to the email-record that is used to send the email.

 

I made a quick video here for you to see what I'm talking about:

View solution in original post

27 REPLIES 27

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Hi Daniel,

 

Bad news is that I don't think there is a OOB functionality for this. Good news are that it's very easy to solve with a custom action. Basically you create you own "copy attachment" action and then you can use that action to copy the attachment from the task record to the email-record that is used to send the email.

 

I made a quick video here for you to see what I'm talking about:

Thanks for the response. 

On New York. How would you do this same thing for Service Catalog Requested Items? In our case, we are needing to email the requested item with its attachments.

Did you ever find a solution for this?
I see in Paris release the Copy Attachment is a Out Of Box piece now,

But it keeps telling me the requested item doesn't have an attachment