<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Become Marketing Cloud Guru | by Artur Krotkov on Medium]]></title>
        <description><![CDATA[Stories by Become Marketing Cloud Guru | by Artur Krotkov on Medium]]></description>
        <link>https://medium.com/@sfmc?source=rss-b2eb3f45d72f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rLwOR67hG0AFzYDSSB1ISg.jpeg</url>
            <title>Stories by Become Marketing Cloud Guru | by Artur Krotkov on Medium</title>
            <link>https://medium.com/@sfmc?source=rss-b2eb3f45d72f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 21:57:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sfmc/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Managing email send frequency in SFMC]]></title>
            <link>https://sfmc.medium.com/managing-email-send-frequency-in-sfmc-65b9fe86ba69?source=rss-b2eb3f45d72f------2</link>
            <guid isPermaLink="false">https://medium.com/p/65b9fe86ba69</guid>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[marketing-automation]]></category>
            <category><![CDATA[saleforce-marketing-cloud]]></category>
            <dc:creator><![CDATA[Become Marketing Cloud Guru | by Artur Krotkov]]></dc:creator>
            <pubDate>Sun, 03 Apr 2022 12:48:00 GMT</pubDate>
            <atom:updated>2022-04-03T12:48:00.146Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HEWgjz-djToeH5KNXFBirw.png" /></figure><p>Even though Marketing Cloud offers wide range of powerful capabilities for Email sends, management of send frequency is not one of them. At the same time, our clients often ask us about available options to ensure that they do not overcontact their clients. This article would describe simple lightweight solution to meet this requirement and should be considered a starting point.</p><h3>Business Case</h3><p>No matter what type of sends you use, by default, there is no directly possibility to limit number of email you send to a specific subscriber in SFMC. The goal is to introduce business friendly solution to limit number of sends within specified period. If any given subscriber already received maximum number of emails within specific period all active sends should be skipped for him/her.</p><h3>Solution</h3><p>The solution would incldule the following components</p><ol><li><strong>Data Extension</strong> (to store sent emails count). This data would be referenced during each send to decide if we should send communication or not.</li><li><strong>Automation</strong>. SQL activity to retrieve Sent Data View data and count number of sent emails within specified period. Data would be populated to DE mentioned earlier.</li><li><strong>Exclusion script</strong>. Exclusion script on the level of Email to support exclusion during send time.</li></ol><p><strong>Data Extension</strong></p><p>We would need to create a data extension to store count of emails sends against Subscriber Key. There should be at least two fields:</p><ul><li>SubscriberKey (Text, primary key)</li><li>SentCount (Number)</li></ul><p>Optionally, you might want to create an attribute group based on this DE to have an opportunity to control the journey flow based on these data.</p><p><strong>Automation</strong></p><p>We would need to create a scheduled automation to calculate email sends count for each Subscriber. To achieve that we could retireve data from Sent Data View and limit number of events based on EventDate. In the example below we count only sent events in the last 30 days.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d20c252d93be079692e55ed99faf5ae7/href">https://medium.com/media/d20c252d93be079692e55ed99faf5ae7/href</a></iframe><p><strong>Exclusion Script</strong></p><p>The final part of the solution is exclusion script that we would need to configure for each send. I expect that majority of your sends should be created in Journey Builder. In such case, you would need to add exclusion script in “Delivery Options” tab when configuring each email activity as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rxm5VSKKkru7BoOfl3TBpQ.png" /></figure><p>Exclusion script would be executed during send time (it is expected that it return True/False value). If 1 (True) is returned, subscriber is excluded from the send. Dropped messaged will not consume supermessages, contact would stay in the journey (if it is expected based on journey flow logic).</p><p>In our example the script checks if number of sent emails is equal or larger than 4. Since we defined 30 days as lookback period in the automation we could translate it into the following business logic:</p><blockquote><strong><em>Exclude all contacts who received 4 or more (should not be the case) emails in the last 30 days.</em></strong></blockquote><p>If you want to change time window or specify maximum number of sends, you would need to adjust either SQL activity in Automation Studio or Exclusion script accordingly.</p><p>Exclusion script is not the only option to support exclusion. Alternatives include:</p><ul><li>RaiseError AMPscript function</li><li>Global Supression list</li><li>Control on the level of journey flow (decision splits)</li></ul><p>All of these options have certain pros and cons which you could analyze against the needs of your specific solution.</p><h3>Next steps</h3><p>As mentioned, the proposed soliton is illustrative only and should present the general logic. Most probably, actual business needs would be more complex in you case and hence would require further development of this solution. In relation to this topic I encourage you to consider the following suggestions:</p><ul><li>Consider using Einstein Enagegement Frequency to identify optimal send frequency with support of AI. It’s not the same as strictly defined business logic but could be effective solution for overcontacting as well.</li><li>Consider Frequency capping based on marketing pressure value. Not all communications are equal from perspective of marketing pressure. You could introduce the concept of marketing pressure by assigning certain numeric value representing marketing pressure based on send type. These values could be tracked and aggregated based on SendLog data and then used to limit marketing pressure.</li><li>Consider combining of frequency caping solution with engagement analysis. Do you still want to send the same amount of emails to your unengaged clients or maybe they worth special treatment in attempt to return their trust?</li><li>Consider adding frequency preferences to customer preferences center. In some cases asking client directly about his or her expectations on how often you communicate might be a good idea!</li></ul><p>Happy journey building!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65b9fe86ba69" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fault tolerance for Journey Builder custom activities]]></title>
            <link>https://sfmc.medium.com/fault-tolerance-for-journey-builder-custom-activities-ca8fbe7a95a0?source=rss-b2eb3f45d72f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca8fbe7a95a0</guid>
            <category><![CDATA[marketing-automation]]></category>
            <category><![CDATA[saleforce-marketing-cloud]]></category>
            <category><![CDATA[salesforce]]></category>
            <dc:creator><![CDATA[Become Marketing Cloud Guru | by Artur Krotkov]]></dc:creator>
            <pubDate>Mon, 14 Feb 2022 14:31:37 GMT</pubDate>
            <atom:updated>2022-02-14T14:31:37.998Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A8GbfwAJCRY5K3oDyIzXSg.jpeg" /></figure><p>It’s time for a slightly more technical topic but I believe that it could be quite insightful for many SFMC developers working with custom activities.</p><p>Lately, we get more and more materials covering best practices for custom activities development. There are articles, boilerplates, and webinars to help you to start with the extension of Journey Builder capabilities quickly. Nevertheless, after some research, we concluded that there are literally no materials explaining how to implement fault tolerance mechanisms/monitoring solutions for custom activities. This is why we selected this topic for this article.</p><p>And I have to explain why I use the word “we”. This article is co-written with a good friend of mine, a passionate technical marketer, developer, and CTO of incredible fitness startup <a href="https://workoutme.app/">WorkoutMe</a> (make sure to try it!) — <a href="https://www.linkedin.com/in/sshvaika/">Stan Shvaika</a>. So, let’s start!</p><p>During SFMC implementation for one of our clients, we developed several custom activities. The journeys that used those custom activities are business-critical and therefore client requested us to ensure that all delivered components are built in compliance with the fault tolerance principles. Specifically, it was requested to introduce fault monitoring.</p><p>But let’s stop here for a second a define “fault tolerance”. In a very simplified form, it’s the<strong><em> solution&#39;s ability to work without interruptions in case of failure of one or more of its parts</em></strong><em>.</em> You may google some different lists of principles but nearly all of them would mention monitoring as an essential part. And indeed, it’s better to know earlier if your journey fails.</p><p>For simplicity, we could say that we had 2 key integrations for each custom activity: the first one between Journey Builder and custom activity and the second one between custom activity and external client service we intend to interact with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xGu_EoP8cFZ1o7oY0sSkwg.png" /></figure><p>Fault tolerance for the second part is something we would not describe here as it’s not SMFC specific. Depending on the selected technology, you may employ various approaches. But generally, you should have a significantly higher degree of flexibility.</p><p>But Journey Builder — Custom Activity part is a bit tricky. First, let’s take a look at what is provided by SFMC by default.</p><h3>Re-try mechanism</h3><p>According to <a href="https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/custom-activity-config.html">documentation</a>, SFMC supports the retry mechanism. What does it mean?</p><p>Well, when the journey is running and contact goes through a custom activity, SFMC is trying to send an API request with the customer data. In case of an error in the response (for example, when the custom activity is down), SFMC will try to send this request multiple times with some delay between attempts.</p><p>The maximum number of attempts is 5, and the maximum delay is 10 seconds. That means that this retry mechanism will work only if the custom activity is down no more than 50 seconds. Easy math.</p><p>Based on this, we can define two problems:</p><ol><li><strong>What happens if the custom activity is down longer than 50 seconds?</strong></li><li><strong>How can we know what clients did not receive a communication?</strong></li></ol><p>Both answers are simple and sad — nothing and no way. We were faced with the task of implementing a monitoring mechanism that will log the missing communication and send a notification to the support team.</p><h3>The solution</h3><p>After some research, we decided to employ two monitoring components.</p><h4>1. Availability Monitoring</h4><p>Since Azure was used for the deployment of custom activity apps, Azure Monitor (standard Azure tool) was selected for monitoring of overall application (custom activity) availability. It’s not directly related to SFMC but we believe that it’s is worth mentioning since it explains which fault scenarios are covered with the solution. The principle is simple, Azure Monitor initiates frequent requests towards custom activity URL to confirm that the app is available. In case it is down, Azure sends a notification to the support team.</p><h4>2. Failed communication monitoring</h4><p>To identify the cases when a fault happened on the level of custom activity and because of that journey execution failed for a given contact, we introduced a custom solution. It employed Journey Builder History API (it allows getting the history of every client path through the journey and statuses for all activities inside it). Identified fault events are stored in the dedicated data extension.</p><p>It is the custom tool that finds missing communications, writes them into the data extension, and sends the notification to the support team.</p><p>Below, I want to show you an example of the API request.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/732dda86c18183e34e90a08fabb6c4c5/href">https://medium.com/media/732dda86c18183e34e90a08fabb6c4c5/href</a></iframe><p>Of course, before you have to create a server-side API integration and get the token. But if you have read this far, I’m sure you know how to do it :)</p><p>By using the activityTypes in the request body we can filter results and get them only for the custom activities.</p><p>Below you can see an example of the response you should get:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/187fe74101e723b3ed4093694235a858/href">https://medium.com/media/187fe74101e723b3ed4093694235a858/href</a></iframe><p>In this response, we need an array of items and property “result” inside of every element. We can see there is a statusCode property that is equal to 200, which means that the contact went through the custom activity successfully. The status code different from 200, for example, 500, would mean that something went wrong with the custom activity (basically journey failed for a given contact), then we need to log these data into the data extension and send a notification to the support team (we’re using Transactional Send Journey for sending notifications)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jxGNZgaDEATRP9TS" /></figure><p>In this case, we implemented fault logging with a web app deployed to Azure. Alternatively, you could employ Automation Studio with SSJS Script Activity for the same purpose.</p><p>We wish you to receive monitoring alerts for your applications only during the testing, and never in production!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca8fbe7a95a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How do you plan SFMC journeys implementation? Thoughts aloud.]]></title>
            <link>https://sfmc.medium.com/how-do-you-plan-sfmc-journeys-implementation-thoughts-aloud-775145891c37?source=rss-b2eb3f45d72f------2</link>
            <guid isPermaLink="false">https://medium.com/p/775145891c37</guid>
            <category><![CDATA[marketing-technology]]></category>
            <category><![CDATA[marketing-automation]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[marketing-cloud]]></category>
            <dc:creator><![CDATA[Become Marketing Cloud Guru | by Artur Krotkov]]></dc:creator>
            <pubDate>Tue, 26 Oct 2021 09:58:28 GMT</pubDate>
            <atom:updated>2021-10-26T10:59:12.355Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k1y9Jb4FqPW8vvUkv0BacA.png" /></figure><p>There are a lot of articles describing each Journey Builder functionality, all possible limitations, and known workarounds. At the same time, an important part of successful journey implementation which happens even before you start putting activities on the canvas often does not get enough attention. This article describes my personal experience with Marketing Cloud Use Cases identification and prior to implementation planning and ongoing campaign optimization. And yes, sometimes we call them Use Cases, on other days they become Journeys or Campaigns. In this text, I would use these terms interchangeably. One more thing, all these comments are made from the perspective of a consultant assisting a client with the implementation of SFMC journeys (but generally, should be applicable to in-house implementation).</p><p>This article covers the key journey development stages (this is my classification and approach):</p><ul><li><strong>Assessment of team Martech maturity</strong></li><li><strong>Business Goals definition</strong></li><li><strong>Initial planning of the journey</strong></li><li><strong>Technical feasibility analysis</strong></li><li><strong>Journey development</strong></li><li><strong>Journey testing</strong></li><li><strong>Activation</strong></li><li><strong>Analysis and ongoing optimization</strong></li></ul><h3>Let’s start with Martech maturity</h3><p>Even before you start planning any journey it is important to understand if the team responsible for the delivery and ongoing journey maintenance/optimization has needed capabilities and experience (and of course, you don’t repeat this exercise before each journey). There are multiple techniques/frameworks that help conducting this kind of assessment in a structured way. But this time that’s beyond our discussion. Let me just list the key areas that we cover with this analysis:</p><ol><li><strong>Level of technical expertise</strong>. Are there any resources with HTML/CSS knowledge? Are there people with SQL skills?</li><li><strong>Platform experience</strong>. How many people have SFMC experience? What is the level of experience? What SFMC components did they work with? What channels did they employ previously?</li><li><strong>Historical delivery model</strong>. It is useful to understand how similar initiatives were structured and managed previously. Is the organization used to Agile and iterative delivery?</li><li><strong>Prior team history.</strong> Was the same team involved in similar development initiatives? How successful were they? If there were some issues? What was the reason behind it?</li></ol><p>It would be helpful to list key insights identified during this stage. Later you might want to validate some of your decisions against them. Basically, it should help you to avoid proposing something that the existing delivery org could not do.</p><p><strong>Additional reading:</strong> <a href="https://trailhead.salesforce.com/en/content/learn/modules/digital-marketing-roadmap-development/assess-your-digital-maturity">Assessing your Digital Maturity</a> (Trailhead Module)</p><h3>What are your Business Goals?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*7hA-mMxZs1OBf6T7jcMr5g.jpeg" /></figure><p>Have you articulated clear business goals for the journeys you’re planning for implementation? This step sounds like a very generic one but in reality, I observe a lot of cases where business goals are not stated clearly enough. Make sure that at least some basic questions are asked before the implementation of any new customer journey.</p><p><strong>Some questions you might want to ask include:</strong></p><ul><li>Which phase of the customer lifecycle do we intend to improve?</li><li>How do we plan to improve customer experience? What impact do we expect on the overall customer experience?</li><li>How could we measure the impact (achievement of goals)? What metrics could be used for that?</li><li>Do we have any historical data on the performance of similar campaigns that could be used for comparative analysis?</li></ul><p>As always, it is advised that you have formalized outcomes of this analysis that could be referenced later. Keep these insights visible for the whole team, it helps to stay focused and validate all the decisions against expected business goals.</p><h3>Journey Planning/High-level design</h3><p>Ok, you have clearly defined business goals for the journey, you understand internal capabilities and resources, it’s time to draft your journey. At this stage, you should visualize (prototype) the journey flow and describe its overall logic. Various teams use different tools and techniques for that, it could be Journey Builder draft, hand-drawn schema, or anything in between. The key idea is to depict the user experience you plan to deliver. Try to add data context and specify some details for the messages you plan to deliver (at this stage you don’t need to be very precise though).</p><p>Even if <strong>Martech</strong> maturity analysis showed that the team is quite experienced and technically strong, I still suggest starting small and following a crawl-walk-run iterative development approach.</p><ol><li><strong>Crawl</strong> — MVP-like solution. Use what you have to start collecting low-hanging fruits. Lunch your journey earlier to close the most significant goals.</li><li><strong>Walk</strong> — Improve your journey with initially collected insights. Add additional channels and more sophisticated personalization and dynamic content.</li><li><strong>Run</strong> — Your vision for blue sky. Polish your customer experience and make it state of art.</li></ol><p>As an outcome of this phase, you should have a refined understanding of the following components:</p><ul><li><strong>Journey audience</strong> (who should be targeted and how frequently)</li><li><strong>Journey channels</strong> (what are the key channels to deliver customer/prospect communications)</li><li><strong>Key message</strong> (what content you plan to deliver).</li></ul><h3><strong>Feasibility analysis</strong></h3><p>At this stage, you should have a relatively clear picture of the business goals, a high-level understanding of the journey structure (flow), and some details on the content you plan to deliver. But quite often business people (and marketers/campaign managers are typically more business-focused people) are detached from the technical context. At this stage, I suggest assessing the implementation feasibility of the journey. To do that you would need to go through key areas:</p><ol><li><strong>Data availability</strong>. Do you have needed data to support the journey? What is the quality of data needed? Think about all the components of the journey where you might need data: segmentation, personalization. Put it on paper, <strong>have all data attributes documented</strong>, this is truly important.</li><li><strong>Tools capabilities.</strong> Do you have the right tools to implement what you designed so far? (Marketers want to lunch lookalike campaigns on Facebook but no Advertisement Studio was purchased. Or Google Analytics audiences should be used but the organization uses GA instead of GA360 etc.).</li><li><strong>Expertise availability.</strong> This is the moment when we return to the results of our Martech maturity analysis. Now we could validate if available resources could actually deliver what we’re thinking about. (We see that given the complexity of segmentation logic we would need to use SQL for audience identification but there are no people with SQL knowledge).</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*0Xtu9qlzsPLlNYIPYup5QQ.jpeg" /></figure><ol><li><strong>Resources and effort.</strong> This is a good moment to touch on the topic of resources planning. I suggest doing a high-level estimation of effort for all journey components and confirming resources availability. That exercise might help you to identify your resources bottlenecks and make some in-advance decisions to eliminate them. (You decided to use AMP emails. All email templates are hand-coded by the external agency but there is just one resource with AMP knowledge available on their side).</li></ol><p>As an outcome of this stage, you could either confirm feasibility or you might want to return to Journey Planning and introduce some changes in order to comply with realities.</p><h3>Journey development</h3><p>Ok, let’s do it. Time to develop the journey. Depending on the complexity of the journey it could be quite a time-consuming stage. To optimize it, it’s worth planning it carefully in advance. In many cases, content development requires a lot of time and effort. Ideally, you should already have some resources plan as an outcome of the feasibility analysis phase. I suggest that you do a list of journey components as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*Pj3mCIPi7uksLc8f6upYQw.jpeg" /></figure><p>You could start with a journey draft (just put all the activities and splits on the canvas but don’t configure them), then go step by step through the journey to make a list of all components that require configuration/development. It could include automations to identify entry audience, emails, decision splits, SF activities, some supporting data extensions/attribute groups etc. Such a list would help you to track overall progress and plan more precisely. I intentionally don’t want to go further into the topic of development as this article’s goal is to cover everything else but development but I promise to return to it.</p><h3>Journey testing</h3><p>Test, test, and test again! With complex journeys, many things can go wrong, and testing every component of the journey thoroughly is very important. This topic deserves a separate article but generally, we are talking about 3 main pillars of journey testing:</p><ul><li><strong>Segmentation</strong>. Carefully test if the identified audience follows defines business logic. Think about all possible scenarios in terms of data attributes values. Check the update method and possible implications. Double-check if journey re-entry mode meets business needs. Pay attention to non-nullable attributes present in data extension used as an entry source for the journey (the whole automation might fail if no data would be available).</li><li><strong>Journey flow.</strong> Again, imagine all scenarios that could take place (all possible attributes values that support decisions in the journey). Be especially careful if you have complex decision splits. Do you use “exact match” rules? What would happen if there will be no value for any given attribute? Would your decision splits still work as expected? Use Journey Builder native testing capabilities for that.</li><li><strong>Content</strong>. Check every aspect of communications you deliver. From grammar to the way your messages render on various devices/platforms/clients etc. Go through every single link in your message. Let your internal audience go through the journey to have extra pair of eyes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8kO0br7LIvuyStOX8r2-Yw.png" /></figure><h3>Let’s go live!</h3><p>This is it. We’re about to press Activate button. I remember how my heart rate jumped up when I pressed it for the first time. But we could decrease the tension a bit by doing some prior preparation. Here are my suggestions:</p><ol><li>Add 10 minutes wait activity at the beginning of the journey flow (if journey logic allows). That would give you some space to validate entries number before contacts proceed through the journey.</li><li>Ensure that responsible people know how to use Journey Health data. That would help to do a quick investigation and identify possible issues earlier. Also, guide them on how to exclude individual contact from the journey, which might be very helpful in some cases.</li><li>Make sure that campaign managers (or whoever is responsible for journey monitoring) understand how journey pausing works and what are the implications. This feature was in my own list of the most awaited.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*X4ojQH2LQjY2CBE57IfPYQ.jpeg" /></figure><p>In sum, you need to think about emergency scenarios. What would you do if something goes wrong? (and I’m sorry to say that but at a certain point, it will) Make sure that someone is empowered to make decisions and he or she knows what to do.</p><p><strong>Additional reading:</strong> <a href="https://help.salesforce.com/s/articleView?id=sf.mc_jb_pause.htm&amp;language=ru&amp;r=https%3A%2F%2Fwww.google.com%2F&amp;type=5">Journey Pause</a> (Salesforce Documentation)</p><h3><strong>Ongoing optimization</strong></h3><p>Ok, you’ve activated your journey, it seems to work. That’s it, right? Actually, no. I suggest thinking about the journey as a living creature, it should develop and evolve. There is no end state. From the very beginning, you have to plan activities around the ongoing performance analysis and optimization of your journey.</p><p><strong>Establish a formal process to support journeys optimization. You need to have clear answers to the following questions:</strong></p><ul><li>What metrics do you collect? How often do you collect them?</li><li>Who is responsible for the analysis of key journey metrics?</li><li>Are there any rules set that would prescribe specific actions based on some metrics thresholds.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8KLkOUVe2pUOxfqfZmpZ6A.png" /></figure><p>On top of that, I encourage you to establish a practice of ongoing incremental optimization. On a practical level, it means that you come up with regular assumptions on how to improve any given journey. Introduce changes (by creating a new version of the journey) and measure the impact of these changes. It might be some small improvement introduced with the support of <a href="https://help.salesforce.com/s/articleView?id=sf.mc_rn_may_2020_journey_path_optimizer.htm&amp;type=5">Path Optimize</a>r or some bigger changes in the journey flow. Though, it is advised to keep these changes small so that you could attribute journey performance change to the specific improvement you made.</p><p>Make sure that best practices are collected along the way. If something worked for one journey and could be applied to other campaigns, you need to create a process to deliver and distribute this insight so that it reaches responsible people. Outcomes of these experiments should continuously contribute to your internal campaign development know-how repository (feel free to use this fancy term for it).</p><p>One more suggestion is to employ <a href="https://help.salesforce.com/s/articleView?id=sf.mc_anb_get_started_with_einstein_messaging_insights.htm&amp;type=5">Einstein Messaging Insights</a>. This functionality provides ongoing AI-powered analysis of your campaign performance based on engagement metrics helping to identify deviations (anomalies). The tricky part is that these insights are delivered in form of UI notifications and often there is no formal actionable process defined in the organization to trigger follow-up action. Make sure you come up with one, these insights could be truly useful!</p><h3>Instead of conclusion</h3><p>Ok, the initial idea was to present a somehow structured approach for journey planning and implementation and now I clearly see that we’re far from there. Anyway, I did not promise anything but thoughts aloud. 🙃 I still want to believe that some of these suggestions might help you to build a better customer experience in less time. And that would make me a bit happier.</p><p><strong>Happy journey building!</strong></p><p><strong>And please comment and share your thoughts! 👌</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=775145891c37" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working with data deltas in Marketing Cloud]]></title>
            <link>https://sfmc.medium.com/working-with-data-deltas-in-marketing-cloud-dfe36e1c11aa?source=rss-b2eb3f45d72f------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfe36e1c11aa</guid>
            <category><![CDATA[marketing-automation]]></category>
            <category><![CDATA[salesforce-marketing]]></category>
            <category><![CDATA[marketing-cloud]]></category>
            <category><![CDATA[marketing-technology]]></category>
            <category><![CDATA[salesforce]]></category>
            <dc:creator><![CDATA[Become Marketing Cloud Guru | by Artur Krotkov]]></dc:creator>
            <pubDate>Tue, 31 Aug 2021 14:30:30 GMT</pubDate>
            <atom:updated>2021-08-31T14:30:30.336Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lef4_aZjg8tvMCa7TfkPww.jpeg" /></figure><h3>Working with data deltas in Salesforce Marketing Cloud</h3><p>Most probably at a certain point, you already faced the need to export data from Marketing Cloud. It sounds like a simple task but in some cases, you might need to do it incrementally (identifying only the delta between two exports). Or maybe you’re working on journey segmentation and want to process only updated records. Looks like it’s time to discuss how to identify data delta in Marketing Cloud!</p><p><strong>Components of the solution</strong></p><ol><li>Data extension with source data. It might be contacts data, campaign engagement data, or anything else. The important part is that it should contain a timestamp based on which we could identify records.</li><li>Data extraction with a timestamp that we would reference. We would need to create it as a reference point.</li><li>Automation in Automation studio with 2 SQL activities: the first one to identify data delta, the second one to return the timestamp.</li><li>Data extension to store the results (identified data delta).</li></ol><h3>Step 1 | Timestamp data extension</h3><p>Firstly, let’s create a data extension with just one record. This DE would store the timestamp needed to identify data delta. It could have the following format.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A_iOqyy59AnCvipXVG7miw.png" /><figcaption>Required fields in timestamp data extension</figcaption></figure><blockquote>It is important to have a <strong>primary key</strong> in this data extension because we would need to use “Update” data action for this SQL activity. Ensure that this data extemsion contains only one record. (you could add manually).</blockquote><h3>Step 2 | SQL activity to populate data extension with the timestamp</h3><p>To identify data delta we would create automation in Automation Studio. As the last step of our automation, we would add SQL activity which updates the timestamp in the data extension we created. That would allow us to track the end of processing for each automation run.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/944e25de30f35df805a618baed3a7d0e/href">https://medium.com/media/944e25de30f35df805a618baed3a7d0e/href</a></iframe><h3>Step 3 | SQL activity to identify data delta</h3><p>To identify the actual delta we would need to use <strong>CROSS</strong> (Cartesian) <strong>JOIN</strong>. This join would combine each row of the first table with each row of the second table. In our case, it means each row of source data extension with one row from data extension storing our timestamp. In the example below, we retrieve contacts records from Contacts data extension based on their <strong>RegistrationDate</strong> attribute value. With every run of automation, we identify only those contacts whose Registration date is between the last time automation run and current time (returned by GETDATE()).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2e83f8c86ffc8992d8512b7bbcf721f3/href">https://medium.com/media/2e83f8c86ffc8992d8512b7bbcf721f3/href</a></iframe><h3>Step 4 | Automation in Automation Studio</h3><p>We’re nearly done. It’s time to put all pieces together. Let’s create automation in Automation Studio. The SQL activity responsible for the identification of data delta should be followed by the activity returning timestamp. Now it does not matter which schedule we would define for the automation, each run would return only the records with RegistrationDate after the last run of the automation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k0NmYc7dJTkIL4EFKCjVlw.png" /><figcaption>Sequence of SQL activities in Automation Studio</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfe36e1c11aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>