{"id":371,"date":"2025-08-12T08:49:53","date_gmt":"2025-08-12T08:49:53","guid":{"rendered":"https:\/\/www.martech-magic.com\/?p=371"},"modified":"2025-08-12T08:55:52","modified_gmt":"2025-08-12T08:55:52","slug":"new-trigger-tokens","status":"publish","type":"post","link":"https:\/\/www.martech-magic.com\/index.php\/2025\/08\/12\/new-trigger-tokens\/","title":{"rendered":"New Trigger Tokens"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I talked about <a href=\"https:\/\/www.martech-magic.com\/index.php\/2023\/10\/31\/trigger-tokens-for-cdv\/\" data-type=\"post\" data-id=\"166\">Trigger Tokens on this blog<\/a> before, but Marketo came up with a change that forces me to make an update. Here&#8217;s what the release notes stated:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"toc-hId--1879972833\"><em>Trigger Tokens For Any Activity Attribute<\/em><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>Triggers on Smart Campaigns can be used as Tokens.<\/em><\/li>\n\n\n\n<li><em>Provides the ability to access all trigger activity attributes via tokens so that users can map any available data from triggering activities into campaign flow actions.<\/em><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Trigger Tokes for <strong>any<\/strong> activity? Let&#8217;s see what this means.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s use the trigger &#8220;Data Values Changes&#8221; as an example. What trigger tokens could be available here? There is no documentation on that out yet &#8211; at least as far as I can tell &#8211; but we have an indication.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"154\" src=\"https:\/\/www.martech-magic.com\/wp-content\/uploads\/2025\/08\/image-2.png\" alt=\"\" class=\"wp-image-373\" srcset=\"https:\/\/www.martech-magic.com\/wp-content\/uploads\/2025\/08\/image-2.png 727w, https:\/\/www.martech-magic.com\/wp-content\/uploads\/2025\/08\/image-2-300x64.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is my test trigger. It&#8217;s supposed to fire whenever the value in &#8220;First Name&#8221; changes. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the Flow Step of this Smart Campaign we try to write all available Trigger Tokens into another &#8211; meaningless &#8211; field via &#8220;Change Date Value&#8221;. And Marketo shows us what&#8217;s possible:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1025\" height=\"331\" src=\"https:\/\/www.martech-magic.com\/wp-content\/uploads\/2025\/08\/image-3.png\" alt=\"\" class=\"wp-image-374\" srcset=\"https:\/\/www.martech-magic.com\/wp-content\/uploads\/2025\/08\/image-3.png 1025w, https:\/\/www.martech-magic.com\/wp-content\/uploads\/2025\/08\/image-3-300x97.png 300w, https:\/\/www.martech-magic.com\/wp-content\/uploads\/2025\/08\/image-3-768x248.png 768w\" sizes=\"auto, (max-width: 1025px) 100vw, 1025px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The forecast displays all available tokens for the &#8220;Data Value Changes&#8221; trigger. Great &#8211; now what do they do?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I changed the first name of my test person from &#8220;Michael&#8221; to &#8220;Katja&#8221;, and these were the results:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{{trigger.name}}<\/td><td>First Name<\/td><\/tr><tr><td>{{trigger.trigger name}}<\/td><td>Change Data Value<\/td><\/tr><tr><td>{{trigger.Attribute Name}}<\/td><td>First Name<\/td><\/tr><tr><td>{{trigger.New Value}}<\/td><td>Katja<\/td><\/tr><tr><td>{{trigger.Old Value}}<\/td><td>Michael<\/td><\/tr><tr><td>{{trigger.Reason}}<\/td><td>Manual Person Edit<\/td><\/tr><tr><td>{{trigger.Source}}<\/td><td>Lead update<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">&#8220;Well, that&#8217;s amazing, Michael&#8221;, I hear you say, &#8220;but what is good for?&#8221; Sorry, I don&#8217;t know yet. But here&#8217;s the first thing that comes to mind. These tokens not only work &#8220;<em>so that users can map any available data from triggering activities into campaign flow actions.<\/em>&#8220;, but they also render on emails. So you can for example send an alert to Sales whenever a phone number changes and use these tokens:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Smart List (trigger)<\/td><td>Data Value Changes &#8220;Phone&#8221;<\/td><\/tr><tr><td>Flow Step<\/td><td>Send Alert<\/td><\/tr><tr><td>Email<\/td><td>&#8220;Dear sales person,<br><br>the lead {{lead.First Name}} {{lead.Last Name}} in Company {{company.Company Name}} changed their phone number from {{trigger.Old Value}} to {{trigger.New Value}}.<br><br>Your Marketing Automation Team&#8221;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">{{trigger.New Value}} would be equal to {{lead.Phone}}, but the value in {{trigger.Old Value}} would no longer be in the database (except for the Activity History of course). So that&#8217;s a way to capture a former database value.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, is that cool or what?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Marketo just told us what we could now &#8220;access all trigger activity attributes via tokens&#8221;. All trigger activity? Wow. Let&#8217;s see if that&#8217;s true and what it actually means.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-371","post","type-post","status-publish","format-standard","hentry","category-tokens","entry"],"_links":{"self":[{"href":"https:\/\/www.martech-magic.com\/index.php\/wp-json\/wp\/v2\/posts\/371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.martech-magic.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.martech-magic.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.martech-magic.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.martech-magic.com\/index.php\/wp-json\/wp\/v2\/comments?post=371"}],"version-history":[{"count":4,"href":"https:\/\/www.martech-magic.com\/index.php\/wp-json\/wp\/v2\/posts\/371\/revisions"}],"predecessor-version":[{"id":379,"href":"https:\/\/www.martech-magic.com\/index.php\/wp-json\/wp\/v2\/posts\/371\/revisions\/379"}],"wp:attachment":[{"href":"https:\/\/www.martech-magic.com\/index.php\/wp-json\/wp\/v2\/media?parent=371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.martech-magic.com\/index.php\/wp-json\/wp\/v2\/categories?post=371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.martech-magic.com\/index.php\/wp-json\/wp\/v2\/tags?post=371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}