
Welcome to 'AMPscript for Salesforce Marketing Cloud: Beginner to Advanced'!
As you prepare to embark on this journey, get to know your instructor and take a sneak peek at what's headed your way...
Learn more about the methodology used in this course: we will start with a user story, learn the necessary concepts, go through examples and finally solve the user story. Hands-on, as much as possible!
Quick recap about AMPscript basics:
Attributes,
Substitution Strings,
Functions,
Variables,
AMPscript Blocks
From now on, all assignments will come with a video tutorial on how to solve the task.
During this course, we will be spending a lot of time in out small virtual gift shop with 2 retail locations and a warehouse. As the new Salesforce Marketing Cloud Developer, the Marketing team has already a lot of requests for us...
Quick warm-up to make sure we all can use the ProperCase() function in situ.
Solution for the ProperCase() assignment
Review how to declare, set variables, assign a value using attributes and render it.
Solution for the Variable assignment.
Warm-up finished, let's start the real adventure with Data Retrieval in AMPscript.
The Marketing team would already like to make a few changes on our code... Like showing the product name instead of its ID.
Solution for the Lookup Assignment
The Marketing team is curious about the stock of the recommended product in each store...
Solution for the Lookup() assignment part 2
Ever wondered what "concatenate" means? You're about to get the answer...
Conditional statements allow personalisation at scale. Implementing logic is not that difficult, actually it's pretty... logic!
The basic logic check : IF .. EndIf.
Solution for the If... EndIf Assignment.
Implement fallback actions with ELSE.
Solution for the ELSE assignment.
Add levels of complexity by adding ElseIf statements.
Solution for the ElseIf Assignment.
Equals, Strict Equals, and Different...
Solution for the Equals assignment.
Output values without leaving the comfort of your AMPscript block.
Solution for the Output Assignment.
Fine-tune logic statements with the AND operator
Solution for the AND assignment
After AND, let's look at OR...
Solution for the OR Assignment.
Using AND and OR in the same statement is possible, and oftenly needed, However, Operator Precedence play a big role in what the experience will look like.
If, If, If... Learn how to imbricate IF statements.
Make decisions quicker with IIF
Need to stop an email from going out? We can do that programmatically too.
Additions, Subtractions... And some more.
Easy intro to Math functions.
Solution for the Maths Assignment
Multi level math operations
Manage Empty variables - and avoid conflicts
Solution for the Empty Assignment
LookupRows and its assistants have their own section - lucky them.
Get the bigger picture with LookupRows
Solution for the LookupRows assignment.
AMPscript processes its code from top to bottom. Always.
Well... Almost, always.
Order the rows you retrieve with LookupOrdredRows.
Solution for the LookupOrderedRows assignment
Use case: Swap a recommended product that is currently out of stock for the most expensive product from our catalogue.
Solution for the Use Case: swap recommended product.
Data Presentation: automation formatting in AMPscript
Format currencies in one click.
Solution for the FormatCurrency assignment
Format Numbers as easily as the currencies.
Gear up for the most comprehensive Format function.
Solution for the FormatDate Assignment
Versatilty meets Formatting
Add, remove intervals with DateAdd.
Solution for the DateAdd assignment
Where's Wally? Leverage IndexOf to find anything in your data...
Solution for the IndexOf assignment
Substitute strings with Replace...
Solution for the Replace() assignment.
Heavy replacement job? Try ReplaceList
Don't truncate your strings with a chainsaw - use Substring (it's safer).
As it says on the tin...
Solution for the Substring Assignment
Insert, Update, Delete.... and a surprise!
Count the number of rows in a data extension.
Interact with Data Extensions
Programmatically understand when your function call is successful or not.
you've reached the end of the AMPscript course - I hope you enjoyed it!
Hello and welcome to this AMPscript for Marketing Cloud course. My name is Francois Domain, and I will guide you on a journey to mastering AMPScript with ease and, hopefully, with a bit of fun. With over a decade of experience in the Marketing Technology sector, I have dedicated a great part of my career to leveraging the power of AMPScript to create highly personalized and dynamic marketing campaigns.
To ensure you become proficient in AMPScript, regardless of your starting level, we will start with the very basics of AMPScript for those of you who may have little or no experience with it. Step by step, we will unpack all the essential functions and concepts, we will learn the syntax, look at a few examples and finally reinforce your learning through practical examples.
So it’s not just about learning in theory; it’s about getting your hands dirty with actual use cases. By the end of this course, you will not just understand AMPScript, but you will also be able to apply it confidently to solve real-world challenges in the Salesforce Marketing Cloud environment.
This course, loosely based on my AMPscript guide “AMPscript for Salesforce Marketing Cloud”, is meticulously designed to offer you practical, hands-on learning. To get the most out of our sessions, you'll need access to a Salesforce Marketing Cloud instance, as we'll be working through real-life examples together. By the end of our time, you'll have gained the confidence and skills to apply AMPscript effectively in any marketing scenario.