Split Full Names into First and Last in Drip

Maybe it is my need for neatness or my developer’s brain, but it really bugs me when I get an email and seeing “Hi Jason Resnick” as the salutation from a list that I’ve subscribed to. Being able to split a full name into a first name and last name shouldn’t be all that difficult. In fact, if you have noticed subscribers putting in their full names when you are asking for the first name only, this puts a bump in your personalization.

In fact, if you are growing your list and have noticed subscribers putting in their full names when you are asking for the first name only, this puts a bump in your personalization doesn’t it?

Drip makes this simple fix with a workflow.

Hat tip to my friend Glenn of Concordant for helping me work through this.

I’ve gone a couple of steps further in the workflow as well.

Some integrations with Drip only allow you to pass along a ‘name’ field. This workflow takes that into account.

Also if you’ve ever noticed that some folks fat-finger their own name. You’ll see things like “JAson” as the first name.

I told you that I’m a bit strange with these sorts of things. So I’ve gone ahead and taken care of that too inside this workflow.

Feel free to install this directly in your own Drip account, especially is you are using the custom fields ‘first_name’, ‘last_name’, and ‘name’.

Otherwise, here’s the workflow for you to check out yourself.

 

/ Jason Resnick

Jason is a WordPress developer helping small businesses, design and marketing agencies achieve their goals by specializing in Ecommerce and increasing conversions. Learn more about him here.

More Posts | Twitter | Free Freelance Facebook Group

4 responses to “Split Full Names into First and Last in Drip

  1. You are a legend Jason! 🙂

    This is my workaround using a snippet:

    {% assign words = subscriber.First_Name | split: ‘ ‘ %}{% capture first_name %}{% for word in words %}{{ word | capitalize }} {% endfor %}{% endcapture %}{{ first_name }} {% assign words = subscriber.Last_Name | split: ‘ ‘ %}{% capture last_name %}{% for word in words %}{{ word | capitalize }} {% endfor %}{% endcapture %}{{ last_name}}

Leave a Comment

Your email address will not be published. Required fields are marked *