I have one data extension named "SubscriberDE" with fields first_name (text 50), last_name(text 50), Email address(email), and Rep_email(text 50)
I configured a journey where once the subscriber click a link in [EMAIL 1] it will go through a engagement activity and go to the "YES" path and it will send CIM_Order_Details Email Activity to the subscriber email which is the field "Email Address (email) but i also need to send the same email to the Rep_email (text 50) field. Somehow its like a CC Email. (see below for the constructed Journey)
How would i be able to do that? Is it possible to do it on one Journey only?
I've read about Trigger send, Ampscript and soap API. Do i need to use that so i can send the email using rep_email field?
Bottom line is i want the same Email to be sent to email and rep_email fields together.
Best Answer
You have two options here
Option 1
Albeit this is not best practice, you could set a trigger send API call inside of the email (via SSJS or AMPscript) so that each time the email goes out it triggers the triggered email to send to your rep.
Please note this can cause delays to processing and is definitely not recommended for high volume emails.
AMPScript sample:
SSJS sample: (simpler, but processes much slower)
Option 2
If it doesn't have to be 'real time' or adding in a trigger send script to the email is too unweildy, you could have an upsert inside of the Email that puts it into another DE and then have an automation that runs hourly to send that email (via User-Initiated send, not trigger) to the rep_email field instead of Email Address.
Basically something like this:
SELECT [Email Address], rep_email, 'Y' as Sent FROM yourDE
targeting your new DE.This should allow you to send a copy of the email to your reps within an hour after it was sent to the customer.