Conditionally Show Content in Pardot

Having a problem with being more personalized with your prospects? No worries, Pardot HML is here to your rescue.

With Pardot HML you can conditionally show content and default statements when prospect records are missing certain values.

HML can be used in the following places in Pardot,

  • Email Templates
  • List Emails
  • 1:1 Emails
  • Landing Pages
  • Forms
  • Dynamic Content

How to use HML in Pardot Email:

{{#if Recipient.FirstName}}! // First we’ll check the Recipient’s first name

Welcome {{Recipient.FirstName}} // if found, then showing this

{{else}} // if not found any, then showing this custom message

Welcome to CloudVandana Solutions

{{/if}} // End the #if statement

Here you can see both of the versions of email, personalized and well formatted.

Version 1

Version 2

Version 2

Request a Free Consultation

YOU MIGHT ALSO LIKE

How would you like to procees?

Ready to Start Project?

Using Salesforce to run your business?

Discover how devs, admins & RevOps pros are simplifying file management, automating flows, and scaling faster.

Join 3,000+ readers getting exclusive tips on Salesforce automation, integration hacks, and file productivity.

🚨 Before You Go…

Is Your Salesforce Org Really Healthy?

Get our free Salesforce Health Checklist and spot security risks, data bloat, and performance slowdowns before they hurt your business.

✅ Login Audits
✅ Storage Optimization
✅ API Usage Alerts
✅ Built-in, No-Code Fixes

Thanks a ton for subscribing to our newsletter!

We know your inbox is sacred, and we promise not to clutter it with fluff. No spam. No nonsense. Just genuinely helpful tips, insights, and resources to make your workflows smoother and smarter.

🎉 You’re In!

The Guide’s on Its Way.

It’s in your inbox.
(You might need to check spam — email can be weird.)