SSJS + JS + AMPScript + SQL + SFMC Config documentation and code snippets that I find useful for developing Salesforce Marketing Cloud.
Zen of SFMC
Salesforce Marketing Cloud is a complex and flexible tool. This combination is a dream-come-true set for enterprise Marketing Automation tools, but on the other hand, it enables mistakes and messy solutions. Find the right path to success through a best-practice fuelled checklist full of tool-based explanations and examples.Read about Zen of SFMC
SSJS SnippetsRead about SSJS
AMPScript is a proprietary scripting language in Salesforce Marketing Cloud along with SSJS. Out of the two, it is simpler and more performant, but too limited for complex solutions. Good starting point for marketers without development experience. Best option for scripting in messaging.
AMPScript SnippetsRead about AMPScript
To fully leverage the Salesforce Marketing Cloud Data Extensions and Automation Studio, SQL is a must-have. Here I gathered both the language basics and some of the most valuable snippets to copy and paste shamelessly.
- SQL Basics
- String Functions
- Date Functions
- Numeric Functions
- Conversion Functions
- Aggregate Functions
- NULL Functions
- Style Guide
SQL SnippetsRead about SFMC SQL
Many things in Salesforce Marketing Cloud aren't coding but have a massive impact on the code. Permissions. System Data Views. Configuration options. Here I focus on the most important ones that are crucial for Marketing Cloud developers.Read about SFMC Config
SFMC Use Cases
Knowing how to code is one thing. Knowing what to code is another. In Use Cases, I focus not on specific features of the Marketing Cloud configuration or its programming languages but rather on using them to drive business value. Take a look and pick what you need.
- Tailor with Data
- Engage with Countdown
- Power of Code Resources
- Solve with Cloud Page Apps
- Enhanced Send Log
- Contact Deletion Process
I'm updating the docs ongoingly, so expect changes. You can track those by watching and starring the website's Github Repository.