Day 3 Challenge Resources

For Day 3 challenge, a marketer at an online artisanal store wants to send a personalized promotional email to its customers based on their location. The offer should include free shipping to customers who live in the same city as the warehouse, and a discount code to customers who live in other cities.

To make it easier, I have generated a sample dataset that you can download here and use to test your AMPscript.

Download CSV
Email FirstName LastName City
john.doe@abc.com John Doe New York
jane.doe@xyz.com Jane Doe Los Angeles
jim.smith@def.com Jim Smith Halifax
sara.johnson@ghi.com Sara Johnson Houston
mike.brown@jkl.com Mike Brown Miami

If you test your AMPscript with one of the sample records provided, your email may look like the following example.

Dear valued customer,

We are excited to offer you a special deal on our products. Today only, you can receive the following offer: Free shipping on all local orders in Halifax!

Best regards,
The Company

Crafted with 💜 by AMPscript30.
AMPScripted Smiles Ltd.
456 Data Extension Drive Suite 321, Loop City, 
Variable Valley, DE 12345

Boost AMPscript Skills in Just 30 Days!

Whether you're just starting with AMPscript coding or looking to expand your skills, this challenge is for you!

[yikes-mailchimp form="1"]