Announcements
I am facing an issue while sending emails through Customer Journey. I have a marketing email where the designer html is dynamically changed and attached to a sample customer journey. Using this journey I clone a new journey whenever the marketing email content is changed and associate it. The problem is whenever I create a new customer journey and it sends the different email (Meaning the same old marketing email), but I have checked in marketing email the new content is updated dynamically everytime.
Can someone help on this.!
Hi Ash,
I have encountered a couple of odd issues with custom HTMl from a couple of our customers. Unfortunately without having full context, it is impossible to diagnose this issue from what you've added. If you are still having issues, I suggest you open a support request. They can then get the relevant information from you in a secure way to help diagnose the issue.
Wish I could be of more assistance.
Thanks,
Megan
Hi Megan,
Our designer html field (msdyncrm_designerhtml) would be something like this "<center><span id="abcd" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><strong>$340,092</strong> </span></center>". I cannot share the full html.
So using the id we update the dollar value. We use the below regex to update values,
string pattern = Id + @"([^>]*)>(.*?)<";
RegexOptions regexOptions = RegexOptions.Multiline;
Regex regex = new Regex(pattern, regexOptions);
string output = regex.Replace(SourceText, Id + "${1}>" + ReplaceWith + "<");
return output;
The value Is updated as expected in the html content, that we can clearly see in the marketing emails.
The problem is definitely not with the html values. Because I tried to create a customer journey and hard coded the newly created marketing email's id in the workflow definition field, but it still sends the old email. WEIRD.
Hi Ash,
Can you please provide some more details on how you are dynamically changing the email content? If you could share the HTML, that would be helpful as there are limits as to what is supported dynamically at this time.
Thanks,
Megan
André Arnaud de Cal...
293,289
Super User 2025 Season 1
Martin Dráb
232,068
Most Valuable Professional
nmaenpaa
101,156
Moderator