Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Dynamic content in an email Marketing

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

I would like to setup an email marketing containing 8 sections / content blocks that should be enabled / display depending of the characteristics of the contacts we are sending emails.

Let's take an example: Let's imagine that we have 10 products. We have 1000 contacts and every contact owns 2 or 3 products. Now, we have the contact LOREM who owns the product 1 and 3.

The general email structuration would like a bit like:

Intro text
--
Product 1 text
--
Product 2 text
--
Product 3 text
--
etc...
--
Call to action

Intro and Call to action are common for everyone.

Our contact LOREM would receive an email containing only the intro and CTA + the Product 1 text and Product 3 text.

How this can be done?

Anyone has already done such personalisation? I used to do it using Campaign Monitor but i didnt find a way to do it in D365 (yet).

Thanks

P

  • Suggested answer
    HamzaUsman Profile Picture
    HamzaUsman 50 on at
    RE: Dynamic content in an email Marketing

    Hi PascalT,

    I have done it for Order Products and Contacts.

    For example, my Contact A has two active licenses (Order products) and my Contact B has 4 active licenses. You can use similar code inside your marketing email to dynamically pick products for contacts, once you setup the relationship and add the entities in dataset configuration.

    {{#each contact.salesorderdetail_contact_a_contact}}

    {{#if (eq this.tv_licensestatus 1)}} {{#if (eq this.parent '0')}} {{this.description}}{{/if}}{{#if (eq this.parent '')}}{{this.description}}{{/if}}{{/if}}

    {{/each}}

    Please mark it as verified, if this answers your question.

    Regards,
    Hamza

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamic content in an email Marketing

    Hi PascalT,

    I think the ClickDimensions Campaign Automation module will help you achieve this kind of intensive Dynamic content fetching for your email campaigns. In addition, there are addon SolzEditor, using which you can create attractive email templates as well as I think apply such conditional logic.

    Please have a look at the link :  www.solzit.com/.../

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Dynamic content in an email Marketing

    Hi P,

    There is an N: 1 relationship between Product entity and Contact entity according to your description. However, the relationship doesn’t exist by default unless you customize a new relationship between them.

     pastedimage1620712936151v1.png

    If you have created the relationship, you need to add the entity into Dataset configuration in Settings > Data management > Dataset configuration.

     pastedimage1620712943764v2.png

    As I haven’t created the relationship, I'll use Lead as an example, which also have an N: 1 relationship with Contact.

    Refer to the following section to add a code block into the email.

    Add dynamic content to email messages (Dynamics 365 Marketing) | Microsoft Docs

     pastedimage1620712961718v3.png

    The code is something like:

    Your leads:

      {{#each contact.lead_contact_parentcontactid}}
    • name:{{this.fullname}} topic:{{this.subject}}
    • {{/each}}

    It will get a list of the leads with their names and topics which belongs to each contact.

    pastedimage1620712970282v4.png

    And you can apply the code to Product.

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans