Using the Wait Until API Event Activity in Journey Builder

The Wait Until API Event Activity is a new Journey Builder activity released as part of the April 2021 Salesforce Marketing Cloud Release. It allows you to create a real-time experience for contacts by allowing an external event to trigger an action mid-journey. You can add the Wait Until API Event activity at any point …

Continue reading Using the Wait Until API Event Activity in Journey Builder

Add multiple contacts to a Journey in one batch using REST API

Firing an Entry Event is great for injecting single contacts into a Salesforce Marketing Cloud journey from external systems or websites - but what if you need to inject contacts to a journey in bulk? After reading a recent question on Salesforce Stack exchange, I found myself playing with the unofficial REST endpoint /interaction-experimental/v1/batchcontactevents, which …

Continue reading Add multiple contacts to a Journey in one batch using REST API

Inventory of Data Extensions and their data sources

It's very likely that at some point in your career you will inherit or take over a Salesforce Marketing Cloud instance that has been set up and used by someone else in the past. In case it hasn't been well documented, it can be a struggle to understand all the data related processes and clean …

Continue reading Inventory of Data Extensions and their data sources

Add subscribers to a Journey from a CloudPage using Fire Entry Event

Firing an Entry Event is great for injecting contacts into a Salesforce Marketing Cloud journey, especially if you need to be able to inject them from an external system or a website. It's also useful when you're creating a custom form on a CloudPage and would like to replicate the behavior of SmartCapture forms, which …

Continue reading Add subscribers to a Journey from a CloudPage using Fire Entry Event

Create a CloudPages form with an image/file upload option

The HTML <input> tag specifies an input field where the user can enter data. An input field can vary in many ways, depending on the type attribute. The <input> elements with type="file" let the user choose one or more files from their device storage. The file can then be manipulated using JavaScript in order to …

Continue reading Create a CloudPages form with an image/file upload option

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 …

Continue reading Trigger SMS text messages using Server-Side JavaScript

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 …

Continue reading Subscribe to Automation Studio notifications via SOAP API

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 …

Continue reading Get Journey history by filtering the Definition ID via API

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 …

Continue reading Update multiple non-sendable Data Extensions to be sendable

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 …

Continue reading Retrieve tracking data since account inception using WSProxy