Mautic Community Forums

Help - I want to use Leadfield=??

Hi,



I am loving Mautic and getting ready to launch my first campaign.

I would like to add the lead’s name in my email drips. Ex: Hi [Name],

But i read online some stuff about {leadfield=name} but I am not sure how to use this.

Q1: What is the right code to put in exactly {leadfield=name}? tried that and doesnt work.

Q2: Where to i get the field name?

Any help and additional tips would really be appreciated.



Regards.



Gianni

Hi,

I am loving Mautic and getting ready to launch my first campaign.
I would like to add the lead’s name in my email drips. Ex: Hi [Name],
But i read online some stuff about {leadfield=name} but I am not sure how to use this.
Q1: What is the right code to put in exactly {leadfield=name}? tried that and doesnt work.
Q2: Where to i get the field name?
Any help and additional tips would really be appreciated.

Regards.

Gianni

Hi Gianni,

I think your format is correct, although you might want to try {leadfield=firstname} unless you have created a field called name.

If you go to Manage Fields under Leads, there will be a list of all the fields. I think the alias is what needs to be used.

Also, the lead fields only get replaced when you send emails to a real lead and sending an example for yourself or previewing the email will not show the lead name.

Hope this helps.

Linh

Hi Linh,

You got it!
Perfect you helped me and it works. I owe you :wink:
Great platform and even better community help.

Regards.

Gianni

Yesterday I also met with something similar and I asked myself, why does not leadfield = {firstname}, when sending an example for yourself or Previewing