Skip to main content
Harvey_Jewell2
Level 2
Jul 21, 2017 11:37 AM UTC
New

Add Person activity to email alert

I would like to be able to share a Person's activity directly in an email alert.

The set would include:

Inserting a token to include a simple listing of the most recent activity attributed to the Person, like the Person's Activity Log

Adding this feature would enable users to view activity logs directly via email and save them logging into Marketo or CRM to find this information.

And even better, if they are using a user who isn't active on Marketo or CRM, they have unfiltered access too!

15 replies

Dan_Stevens_
Level 10
Jul 21, 2017 5:48 PM UTC

You can sort of do this today with some minimal customization:

Create an "Interesting Moments History" field (text field, not string).  Then include an additional flow step (#3 in the screenshot below) within each IM trigger campaign that you want to include in the history field:

NOTE: We also increment an IM score field as part of this process.

The full value of the concatenated field is as follows:

{{lead.Last Interesting Moment Date}}: {{lead.Last Interesting Moment Desc}}{{my.line-break}}{{lead.Avanade Interesting Moment History}}

And the "line-break" token that's used is achieved by using @Sanford Whiteman​'s approach, documented here:

http://blog.teknkl.com/dark-mkto-alleys-line-break-token/  (don't be intimidated by the amount of detail here; as long as you follow the step-by-step instructions, it's actually very easy to implement.  Also, we implemented this at the folder level of all of our operational programs/campaign - which enables you to only create this once and use the {{my.line-break}} token in as many programs/campaigns within that folder).

You can now insert the {{lead.Interesting Moments History}} field as a token in your alerts.

Translate
Harvey_Jewell2
Level 2
Jul 31, 2017 1:01 PM UTC

Thanks very much!

Translate
Kate_Goldsmith
Level 2
Feb 4, 2020 7:58 AM UTC

@sanfordwhiteman - we pull tokens through to Slack alerts via webhook, I've tried adding the IM history & web history tokens to our slack alerts but it doesn't seem to recognise it and doesn't pull any info through... presume this is because it is a custom  "My Token" defined within a program rather than a system-level token? Any work-arounds to get this to feed through to slack?

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Feb 4, 2020 8:06 AM UTC

There's no reason a {{my.token}} won't be sent with a webhook, as long as the Call Webhook step is inside/inherits from the place the {{my.token}} is defined.

 

is it really a {{my.token}} though? A person-specific history field would be a {{lead.token}} (which also will be sent in a webhook).

Translate
Kate_Goldsmith
Level 2
Feb 4, 2020 8:40 AM UTC

@sanfordwhiteman true but if I used the {{lead.token}} wouldn't I be faced with the same issue of a long list of every single action recorded instead of the most recent N values?

I guess I wanted to use the {{my.token}} as it is an appending log with line breaks.... 

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Feb 4, 2020 5:57 PM UTC

Is it a Velocity {{my.token}}? I don't understand any other way that what you're saying could be true -- that the {{my.token}} reflects lead-level values.

Translate
Feb 6, 2020 7:01 PM UTC
No text available
Translate