Skip to main content
Answered

Don't show "PRENOM" when the person did not fill this information

  • May 23, 2024
  • 1 reply
  • 12 views

Hi

I am working for an application. When customers sign up, if they don’t fill the box “First Name”, they have the information “PRENOM” registered as their first name.

We want to send personnalized emails with their first name. There is the option “fallback” to send a emoji if their first name is empty but this emoji is not sent if they have the information “PRENOM” as their first name. 

Does anyone have a suggestion?

Maryse

Best answer by bernice

Hi @Maryse MONTIGNE 👋 If your contacts’ Name values have already been set to this, unfortunately you’ll need to set this to a different value if you wish to use this. As you explained, the fallback value will only work if the attribute value is null/empty.

A possible workaround here would be to create a custom data attribute to populate users’ names with, and leave empty is the value is “PRENOM” - with the help of your dev team this could be achieved with a script and the use of our REST API (Update a Contact). This could also be collected via the Messenger when a contact reaches out for the first time, you could tag all users that have “PRENOM” as their name value and send them a workflow to amend this value whenever they reach out via the Messenger.

Going forward, to prevent this occurring, I would recommend making the First Name input mandatory on your site during sign up.

You'll find more on contact data editing in this article from our Help Center ⬇️

Edit and update data

 

View original
Did this topic help you find an answer to your question?

1 reply

bernice
Intercom Team
Forum|alt.badge.img+5
  • Intercom Team
  • 230 replies
  • Answer
  • May 24, 2024

Hi @Maryse MONTIGNE 👋 If your contacts’ Name values have already been set to this, unfortunately you’ll need to set this to a different value if you wish to use this. As you explained, the fallback value will only work if the attribute value is null/empty.

A possible workaround here would be to create a custom data attribute to populate users’ names with, and leave empty is the value is “PRENOM” - with the help of your dev team this could be achieved with a script and the use of our REST API (Update a Contact). This could also be collected via the Messenger when a contact reaches out for the first time, you could tag all users that have “PRENOM” as their name value and send them a workflow to amend this value whenever they reach out via the Messenger.

Going forward, to prevent this occurring, I would recommend making the First Name input mandatory on your site during sign up.

You'll find more on contact data editing in this article from our Help Center ⬇️

Edit and update data

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings