Dynamic Content - Email Salutation

Hi all



We are new with mautic and want to finalize the first newsletter.

i just wanted to create a dynamic content field to personalize the salutation.



it should be different for every contact depending if its a sir or a madam (in french)



in the contact list, the title will be



Monsieur

Madame



So, i want to say



Chère Madame XX (if its a female)

Cher Monsieur XX (if its a male)



How can I do that?

I also have contacts to whom we send newsetters in german, so the Title in the contact/lead list is different.



can someone help me with this case?

thank you!

Hi @Evelyne,

Seeing that the expert, dbhurley, has not replied, I will give my 2p.

I think it’s probably better to put the salutation in a separate field rather than in the title field itself. You can add new lead fields in Mautic under Leads -> Manage Fields. With the 10,000 existing leads, it is probably easiest to put the salutation in the csv file and reupload.

For future leads, I imagine you will use a Mautic form to add the leads on submission? If so, I imagine a campaign flow with the form as lead source -> Condition form field value -> if field title is “Sir” then Update lead salutation with the male word or if the value is “Madam” then update the lead salutation with the female one.

I haven’t tried the above logic but can’t see why it shouldn’t work. Please do reply here if you need more help.

Linh

Hi all

We are new with mautic and want to finalize the first newsletter.
i just wanted to create a dynamic content field to personalize the salutation.

it should be different for every contact depending if its a sir or a madam (in french)

in the contact list, the title will be

Monsieur
Madame

So, i want to say

Chère Madame XX (if its a female)
Cher Monsieur XX (if its a male)

How can I do that?
I also have contacts to whom we send newsetters in german, so the Title in the contact/lead list is different.

can someone help me with this case?
thank you!

Hi!

Welcome to Mautic and thanks for the question. I think I understand what you’re asking and you should be able to rather easily use the Title field from the lead as a mail merge dynamic variable in your newsletter email. Is that possible?

Hi @dbhurley,

I can sympathise with this issue - what you’ve described would work but a bit of a work around. It’s essentially putting “Dear Mr” and “Dear Ms” in a lead field.

A similar situation also exists in the English language. For example if the salutation is normally “Dear David Hurley” but for whatever reason the first name field is missing then it needs to switch to “Dear Mr Hurley” and never “Dear Hurley”.

Hi dbhurley and vln104

thank you for your answers. You mean I should change the field to directly “Dear Mr.” instead of only putting “Mr.”?
Is it possible to change that in a workflow or do I have to change this by hand for every single contact/lead? I have about 10’000 so its not possible. Or do I have to add this column and import the contacts again? but what about a future newsetter subscribtion ? On the select box, there will be a select box for Salutation: Sir / Madam
Is it possible to somehow build the form in the way that when Choosing “Sir” in the form, the value “Dear Sir” will be saved in the lead lists?

thank you for your support!