copy email attachment to record in flow designer

siddharth26
Tera Guru

Hi All,

Am trying to create a inbound flow using flow designer , when an email is sent with an attachment i want the attachment from the email to be copied to the record in service now.

 

below is the flow designer.

 

siddharth26_0-1702640093303.png

the flow executes find till step 3 it creates record in interaction table 

but step 4 copy attachment is not working as show below

 

siddharth26_1-1702640202334.png

 

step 4 copy attachment configuration are below

 

siddharth26_2-1702640250302.png

 

 

could you please suggest on this copy attachment step is not working and we are not able to see the attachment in the interaction record once the record is been created.

 

thanks

Sid

15 REPLIES 15

Hi Maik,

 

the below worked 

 

siddharth26_0-1702655011964.png

thanks

sid

In the email record, you can pass the Inbound Email trigger record.

It will then move the attachments correctly.

 

Please mark it helpful and accept solution

Regards,Shamma Negi

Amit Verma
Kilo Patron
Kilo Patron

Hi @siddharth26 

 

If you still need to make use of Copy Attachement, you need to tweak your flow a bit to get this done. Please find the snip below for your reference :

AmitVerma_0-1702644381599.pngAmitVerma_1-1702644431816.png

Your flow should look like 

AmitVerma_2-1702644490622.png

 

Please mark the answer as helpful if it solves your problem.

 

Thanks & Regards

Amit Verma

 


Please mark this response as correct and helpful if it assisted you with your question.

Hi Amit,

 

The flow look like this after modification 

 

siddharth26_0-1702645655975.png

1. inbound email

siddharth26_1-1702645686398.png

 

2.create interaction record

siddharth26_2-1702645712114.png

3.look up email attachments

siddharth26_3-1702645757566.png

4. for each item

siddharth26_4-1702645791435.png

5.look up attachment record

siddharth26_5-1702645849727.png

6. copy attachment

siddharth26_6-1702645875805.png

the above are the screen shots and the configuration of each stage ,

but still the attachment is not copied to interaction table.

kindly suggest

thanks

sid

Amit Verma
Kilo Patron
Kilo Patron

Hi @siddharth26 

 

Can you please check if your email is being received with attachment or not ? You can have a look on the Flow Execution context to check the output being returned by Look Up Email Attachments table. For me, it is working as expected as shown below. If possible, can you please paste the execution output or check for any errors/issues in the flow execution output ?

 

AmitVerma_0-1702646411558.png

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.