Article Archive

  • Custom profile and subscription center integrated with Sales/Service Cloud
    In this tutorial, you will learn how to create a simple, yet fully customizable profile and subscription center integrated with Sales and Service Cloud. If you would like to skip the reading and jump to the final version of the script, click here. Bear in mind, that the script utilizes a couple of standard and … Read more
  • Trigger SMS text messages using Server-Side JavaScript
    In order to be able to programmatically trigger text messages, you will need to have MobileConnect enabled in Marketing Cloud's Mobile Studio. You will also need to be able to create an installed package in your Marketing Cloud account to interact with Salesforce Marketing Cloud APIs. If you have both in place, we can start … Read more
  • Subscribe to Automation Studio notifications via SOAP API
    If you have used Automation Studio to build workflows on autopilot, you are certainly aware of the importance of monitoring. Checking manually the execution status of every automation in your account is tedious and exhausting. Sometimes, you need to be notified in real time so you can fix eventual issues. That is why having email … Read more
  • Loops in AMPscript and Server-Side JavaScript
    In programming languages, loops are a basic, yet a very powerful and indispensable concept. They shorten the code and reduce the need to repeat tasks. A loop is a set of instructions to be executed until a certain condition is met. In this article, we will focus on the most fundamental kind of loop, the … Read more
  • Get Journey history by filtering the Definition ID via API
    In today’s article, we will be going through a non-documented way of getting journey's history through the API. The majority of this information is available on the UI. However, having a second way of getting this data in raw format can be helpful in some use cases. You can use free software like POSTMAN to interact with … Read more
  • Introduction to Triggered Sends
    After reading this article you will be able to: Create a triggered email,Create a triggered email interaction,Track and log sent triggered emails,Personalize a triggered email, Trigger an email from Marketing Cloud using various methods,Trigger emails from Sales and Service Cloud. Understand Triggered Sends in Salesforce Marketing Cloud A triggered email is a message that Marketing … Read more
  • Update multiple non-sendable Data Extensions to be sendable
    In order to programmatically update the settings of an existing Data Extension, we will interact with Salesforce Marketing Cloud's SOAP Web Services API using WSProxy. Code snippets in this article will show you how to update a Data Extension, so that a non-sendable Data Extension is turned into a sendable Data Extension, but you can … Read more
  • Retrieve tracking data since account inception using WSProxy
    Whether you're building a data warehouse or are dealing with a legal compliance issue, access to historical tracking data from your Salesforce Marketing Cloud account using the out-of-the-box features is limited. Data Views are powerful, but only allow you to query for up to six months of subscriber and tracking information. Tracking extracts provide granular … Read more
  • Retrieve client IP address and geolocation in CloudPages
    There are many reasons for checking the client IP address, most common include tracking and personalization. What can you find out about the visitors of a webpage from their IP address? You can identify their ISP, figure out approximately where they're located and see how often they (or someone else sharing their router) visit your … Read more
  • Send a triggered email using WSProxy
    Triggered sends allow you to automatically send personalized and timely messages to your subscribers. They are sent to an individual subscriber in response to a subscriber action. If you would like to find out more about creating a Triggered Email Message Interaction, check out my other article here. TriggeredSend object The TriggeredSend object represents a … Read more
  • Find a Data Extension and it’s folder path using SSJS
    If you work with a lot of Data Extensions in multiple folders, you know the pain of using the built-in search feature. It only searches the folder that you're in, with the exclusion of any sub-folders, which is simply impractical. Below, I would like to show you how to find a Data Extension and it’s … Read more
  • Troubleshooting Journey Builder Integration with Debug Logs
    If you have a Salesforce Data Entry Event set up in Journey Builder that is not injecting records as intended, it is necessary to look into Debug Logs to determine what the cause may be. Here is a step-by-step guide to setting up and initiating Debug Logs for Journey Builder. The whole process takes part … Read more
  • Unsubscribe and Log an UnsubEvent with a LogUnsubEvent Execute Call
    The LogUnsubEvent provides a convenient way of handling unsubscribes when you create your own unsubscribe landing page or profile center functionality. This call allows you to unsubscribe a subscriber and log an UnsubEvent that is tracked against a specific Job, which means that you will be able to track from which email they unsubscribed and … Read more
  • Salesforce Marketing Cloud API Authentication using Server-Side JavaScript
    In order to interact with Salesforce Marketing Cloud APIs you need to create an installed package in your Marketing Cloud account first. Marketing Cloud uses installed packages to help authenticate users and API requests. To create and install packages you must have the Administrator or Marketing Cloud Administrator role assigned to your profile. Marketing Cloud … Read more
  • Create a Sales Cloud-integrated lead capture form using AMPscript
    SmartCapture forms provide a quick, user-friendly way to create simple forms and use them in Salesforce Marketing Cloud journeys, but they are not very versatile and often can create more problems than they actually solve. In this tutorial, you will learn how to create a form using HTML and AMPscript and include functions that will … Read more
  • Send a triggered email using AMPscript
    Triggered sends allow you to automatically send personalized and timely messages to your subscribers. They are sent to an individual subscriber in response to a subscriber action. Common use cases include sending welcome emails to new subscribers, service case notifications or post-purchase thank you notes to clients. They can be personalized just as any other … Read more
  • Data Views in Salesforce Marketing Cloud
    Data Views are a powerful feature of Salesforce Marketing Cloud. They store subscriber information and the last six months of tracking data for your account. While they cannot be accessed or viewed from the UI, they can be used like any other data extension: you can write a query against a data view in Automation … Read more
  • Create a SmartCapture form prefilled (prepopulated) with Salesforce data
    Smart Capture allows you to easily create forms on your Cloud Pages to collect information about your subscribers and then use that data for future sends and campaigns. While creating a Smart Capture form doesn't require any coding skills and can be done using only the drag-and-drop editor, adding a simple script to your form … Read more
  • Make a simple API call in Salesforce Marketing Cloud using AMPscript
    In this tutorial, I would like to show you how to make a simple API call using the HTTPGet function. In AMPscript, there are three HTTP functions used to interact with third-party APIs (HTTPGet, HTTPPost, HTTPPostTo). The HTTPGet function retrieves content from a publicly accessible URL. In the, you can see an example of … Read more
  • Debugging AMPscript
    Debugging AMPscript in Salesforce Marketing Cloud can be a pain, as there is no built-in feature that would show script errors in CloudPages. The idea to add a debugging feature to CloudPages has been hanging in the Traiblazer Community's "Ideas" section for two years now and haven't yet reached the point threshold set by Salesforce … Read more
  • Query Studio for Salesforce Marketing Cloud
    The ability to write and automate SQL queries in Automation Studio is an indispensable feature when it comes to working with data in Salesforce Marketing Cloud. The current SQL query editor in Automation Studio is very rudimentary and makes it almost impossible to debug SQL queries. It can be very time consuming and frustrating to … Read more
  • Testing email load (download) speed
    The size of an HTML email can impact both deliverability and subscriber engagement. An email that requires long time to load can lead to lost interest, that's why it's important to optimize your emails for better performance. Acceptable email download speeds according to Email on Acid are: 3G connection: Less than 4 seconds4G connection: Less … Read more
  • Troubleshooting Marketing Cloud Connect
    Marketing Cloud Connect integrates your Salesforce Marketing Cloud instance with Salesforce Sales, Service, and Community Clouds. It’s an easy-to-configure set of functionality that can bring great benefits to your organization. There is an official Marketing Cloud Connect troubleshooting guide available, but I've decided to share a few tips and tricks that usually solve most common … Read more
  • Preparing for the Salesforce Marketing Cloud Developer certification
    Last week I passed the Salesforce Marketing Cloud Developer exam. Afterwards, I received a lot of questions about preparing for it and the test itself. That's why I've decided to share how I prepared, what helped me pass it on the first attempt and hopefully will help you too. Resources First, familiarize yourself with the … Read more
  • The Journey Begins
    Welcome to my blog! My name is Zuzanna Jarczynska and I am a Salesforce Marketing Cloud Technical Consultant at Capgemini, where I help our clients get the most out of Marketing Cloud. I created this blog to share my knowledge about AMPscript, SQL, Server-Side JavaScript, Marketing Cloud APIs and other technical aspects of working with … Read more