How to send email to the recipients of the previous delivery in a trigger workflow | Community
Skip to main content
Level 3
Aug 1, 2019 12:07 PM UTC
Solved

How to send email to the recipients of the previous delivery in a trigger workflow

Hi,

I'd like to create a automate trigger that send out three series of emails to the same recipients. For instance. First email A send out today to 100 recipients. 7 days later, send email B with different content to the same recipients as the first email, then 7 days later, send email C to the same recipients of the second delivery. I am having difficulty to find a way to query the recipients of the previous delivery in the automated trigger. If anyone has built the similar workflow, can you please share.

Thanks,

Jason

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
Aug 1, 2019 3:39 PM UTC

Hi,

Query nms:recipient, filtering on nms:broadLogRcp. For second email, this would be 'recipient exists in broadlog where delivery=first delivery and status=sent'.

Thanks,

-Jon

12 replies

Level 3
Aug 1, 2019 7:08 PM UTC

Thanks everyone. This is helpful

Translate
Level 3
Aug 1, 2019 6:45 PM UTC

Remember that batch campaign (adhoc or recurring) are stored in the BroadLogRcp table. RT triggers/messages are stored in different set of tables in Adobe ACC mart.

Translate
Jonathon_wodnicki
New Participant
Aug 1, 2019 6:33 PM UTC

Yes 1 workflow per delivery is clearest.

Translate
Level 3
Aug 1, 2019 6:05 PM UTC

I see.  Are you trying to do this all in one workflow?  Will it be easier to have one workflow for each deployment.

1st workflow will be used for 1st email sent to the new recipients who just joined. 2nd workflow will be used to send the 2nd email 7 days after the 1st email. 3rd workflow will be used to send the 3rd email 7 days after the 2nd email is sent?

Thanks,

Jason

Translate
Jonathon_wodnicki
New Participant
Aug 1, 2019 5:49 PM UTC

*Filtering dimension has to be nms:recipient to do this.

Translate
Jonathon_wodnicki
New Participant
Aug 1, 2019 5:47 PM UTC

It’s the same, and’ed to this query, though with ‘not exists’ instead of ‘exists’ and with the second delivery instead of the first. You don’t need to do it here if the workflow runs on a daily cadence, since it’s implied by the 7 day check on first delivery. Might come up later on a variant though.

Translate
Level 3
Aug 1, 2019 5:41 PM UTC

Hi Jon,

I am not quite sure about doing an inverse filter on itself for this delivery. Can you please take a look the query below and see what need to be changed?

Thanks,

Jason

Translate
Jonathon_wodnicki
New Participant
Aug 1, 2019 5:34 PM UTC

Forgot to mention, if this is automated the delivery should also do an inverse filter on itself- where recipient doesn‘t exist in broadlog for this delivery. Otherwise recipients will be spammed until the workflow stops.

Translate
Level 3
Aug 1, 2019 5:31 PM UTC

Great. Thanks for your help, Jon.  Much appreciated.

Jason

Translate
Jonathon_wodnicki
New Participant
Aug 1, 2019 5:28 PM UTC

Should be same. Use event date.

Translate