Level up your welcome emails with our new Role attribute

Level up your welcome emails with our new Role attribute

January 28, 2016

Every SaaS app in the world sends out welcome emails. Some are awesome, some are not. Last spring we reached the point where we could no longer manually send customized welcome emails. However, we really didn't like the idea of sending the same bland generic email to all of our new users. We have three distinct user types (engineering, marketing, and sales), and using the same language and call to action seemed like such a waste.

Luckily we found a solution in our own data. We built a relatively complex set of rules that looked for keywords in the Enrichment results for each new user. For example: If alex@clearbit.com signed up, we would look at his title, bio and social handles. If any of these fields contained one of the 70 keywords or patterns in our engineering rules, we would categorize Alex and send him our engineering welcome email vs. the sales or marketing focused ones.

Then we thought, why not standardize this and bake it into our APIs for everyone to use? With our recent addition of Role and Seniority to our Enrichment APIs we've done exactly that, taking that keyword recognition & pattern analysis, baking it right into the API response.

Here's how it works: send us an email address and we'll include a standardized role and seniority attributes in the JSON response. Here's a full list of the mappings.

  "email": "rob@clearbit.com"
  "name": {
    "fullName": "Rob Holland",
    "givenName": "Rob",
    "familyName": "Holland"
  "employment": {
    "domain": "clearbit.com",
    "name": "Clearbit",
    "title": "Developer at Clearbit",
    "role": "engineering",
    "seniority": "executive"
  // ...

When we see a signup with role=engineering we make sure our initial communication is developer focused and optimized for making the first API call.

Conversely, when we see signups from role=sales or role=marketing we've found a majority of the questions arise around our integrations and productivity tools. In this case our email comes with some great sales/marketing use-cases and then offers a quick voice or video chat (if they're into that kind of thing).

All of this is handled with a few simple rules set up in Customer.io.

To see this in action on your account, first make sure your API keys are up to date here then go ahead and make a few calls!

The what, why, and how of B2B customer segmentation

Marketing & Growthby Jenny Thai on April 22, 2022

Marketing to everyone is like marketing to no one. That’s where customer segmentation comes in.

How to start awareness advertising for long-term growth

Marketing & Growthby Janet Choi on April 15, 2022

If you don't add awareness campaigns to your B2B paid strategy, you'll run out of demand to capture. Learn how to set awareness ad goals, get buy-in, and measure success.

Join our newsletter

Engaging stories and exclusive data, designed for our best customers. One useful issue each month.