The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Outbound Email based on Inbound Email

vidhya_mouli
Giga Sage

We need to trigger an outbound email based on inbound email.

When we receive an email, we must check if the sender is in the system. If not we need to trigger an outbound email where

 

Subject : Cannot register your email

Body: Sorry to inform you that we cannot accept your email as you are not a registered user in our system.

Recipient: <<sender email>>

 

How do I do this?

1 ACCEPTED SOLUTION

@vidhya_mouli 

I tested the following flow in my PDI, it is working fine. Please change the flow as per the screenshots below.

 

AnveshKumarM_0-1695119288687.png

 

AnveshKumarM_1-1695119314963.png

 

AnveshKumarM_2-1695119337821.png

 

AnveshKumarM_3-1695119359158.png

Final flow:

AnveshKumarM_4-1695119385050.png

 

Thanks,
Anvesh

View solution in original post

8 REPLIES 8

AnveshKumar M
Tera Sage
Tera Sage

Hi @vidhya_mouli ,

 

Simplest way is to create a flow with trigger as Inbound Email. Follow the screenshots below and configure the flow and activate it.

 

AnveshKumarM_0-1695040615351.png

 

AnveshKumarM_1-1695040639158.png

 

AnveshKumarM_2-1695040653415.png

AnveshKumarM_3-1695040685961.png

 

Please mark my answer as helpful/accept as solution if it helped you 👍✔️

 

Thanks,
Anvesh

Thank you for your response. I tried your solution and I am getting Flow Execution Error.  Can you help me to troubleshoot it?

 

5.png

 

 

4.png

 

 

3.png

 

 

2.png

 

 

1.png

Hi @vidhya_mouli 

Please check flow properties, the flow Run as user should be "System". See the 

AnveshKumarM_1-1695107614710.png

 

AnveshKumarM_0-1695107544866.png

 

Please mark my answer as helpful/accept as solution if it helped you 👍✔️

Thanks,
Anvesh

The flow works. But the mail is triggered even for registered users. I just checked with Abel tuter and it triggers the email.