AnsweredAssumed Answered

Determining which email sent over API

Question asked by 6ee27fa7966b1a4aca9d0e0f3bf2f787e2ab2cb4 on Aug 14, 2017
Latest reply on Aug 17, 2017 by 6ee27fa7966b1a4aca9d0e0f3bf2f787e2ab2cb4

This is related to a question I posted on Friday.


The gist of it is that I download and cache the user activity feed for all of leads in Marketo. I also download & cache assets such as emails within a campaign. In our CRM, on a contacts' detail page, we simply want to have a node showing the viewer which particular email was sent to the contact and when.


The problem I'm running in to is that I made a poor assumption at some point that the API would tell me which email asset was sent to the user via the activity feed. It does do this indirectly but only references as [Program].[Campaign name]. For instance, 'Webhook Program.Send email to Michael Tyson'. In that campaign, the email asset I'm using is called 'FillOutTestForm'.


If I could pull out that 'FillOutTestForm' email asset out of the activity feed, everything would fall in to place perfectly. As it stands, the only way I can figure out to complete this is to use the BCC option and stick the sent emails somewhere.


Is there any way to go from Campaign/Program to Email asset that I'm simply missing?