How To Accelerate API Integration with Behavioral Emails and Developer Segmentation
Tags: email, api, marketing
Published: 2020-10-20 12:29:17

---
title: "How To Accelerate API Integration with Behavioral Emails and Developer Segmentation"
published: true
tags: email, api, marketing
canonical_url: https://www.moesif.com/blog/technical/behavioral-emails/How-To-Accelerate-API-Integration-with-Behavioral-Emails-and-Developer-Segmentation
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/dsntlnpdamceo74xjor7.png
---

Behavioral email is the keystone of user-centric platform integration — emails to developers are most effective when they’re based on how they used your platform. Not surprisingly, the concept of *segmenting* your customers into groups of similar behaviors or attitudes is a well established best practice in marketing.

MarketSherpa's [survey](https://www.marketingsherpa.com/article/chart/tactics-to-improve-email-engagement) found that one of the most effective marketing strategies is to send emails based on the *behavior* of your customers. Familiar [examples](https://chainlinkmarketing.com/behavioral-emails/) in the B2C world include, notification that a service was signed up for but registration wasn’t completed, receipt of collateral after a form submission, and invitation to check out after a shopping cart was abandoned.

Behavioral email can also be a highly effective means of communication for API platform companies helping developers speed API integration and try out new product features, whilst keeping them informed on subscription and platform issues.

### Table of Contents
- [Why Behavioral Email in API-First Companies](#why-behavioral-email-in-api-first-companies)
- [Steps to Speed API Integration](#steps-to-speed-api-integration)
  - [1. Segment by Job Category](#1-segment-by-job-category)
  - [2. Welcome Email](#2-welcome-email)
  - [3. Usage-Based Emails](#3-usage-based-emails)
- [Try Unused API Product Features](#try-unused-api-product-features)
- [Keep Informed on Subscription and Platform Issues](#keep-informed-on-subscription-and-platform-issues)


## Why Behavioral Email in API-First Companies

Behavioral email is automated and targeted messages sent to customers based on their actions or behavior. By triggering on how your customers interact with your website or product, you’re able to send email whose content is actually aligned with what they’re doing, and will therefore be far more likely to resonate.

In API platform companies the triggering behavior is often around API product parameters such as *event count*, *endpoint utilization*, *status codes*, etc. Our own customers have examined sending different messages around certain actions and user types. For example:

> ShipEngine, a shipping logistics API platform, [looked at](https://www.moesif.com/casestudies/shipengine-accelerates-developer-adoption-with-moesif-api-analytics-platform?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation) *shipment volume used* and *shipment volume per month*, to send customized automated subscription plan emails.

> Radar, a location infrastructure API platform, will send [transactional emails](https://www.moesif.com/casestudies/radar-accelerates-the-launch-of-their-developer-first-platform-with-Moesif?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation) when a customer creates their first *geofence*, or when they make their first *location autocomplete* API call.

Within Moesif, we’ve moved away from static drip campaigns for new trial sign ups, to customized automated emails. By focusing on what customers have done in their onboarding process, we’re taking [Account Based Marketing](https://www.optimizely.com/optimization-glossary/account-based-marketing) (ABM) to the next level. By combining targeting by role or industry with how much engagement there's been with our product, we’ve seen a marked increase in customer integration.

[//]: # (25% Increase in API Integration when moving from static drip emails to behavioral emails - need to calculate)

## Steps to Speed API Integration

Increasing your API integration rate can be achieved by providing relevant content to your audience, and the easiest way of doing that is to segment your customers into buckets of similar characteristics. For each cohort, create an email campaign, or [workflow sequence](https://blog.hubspot.com/customers/creating-a-behavioral-email-marketing-strategy), targeting the behavioral characteristics of the group.

### 1. Segment by Job Category
Upon signing-up, new users should pick a role. For API platform companies a representative list of job functions includes: Product, Engineering, Marketing, Customer Success, Developer Relations, Sales, Support and Executives.

### 2. Welcome Email
Using role as the first criteria, send a welcome email focused on the key issue(s) most important to the audience. For example, developers in API platform companies care most about quickly getting a robust product to market. So shortening debug time and preventing new issues from arising will resonate well.  An example of this, that we’ve had a lot of success with, is shown below. Note that the single Call To Action (CTA) takes the recipient to a landing page customized to their area of expertise.

![Welcome Behavioral Email for Developers in API Platform Companies](https://dev-to-uploads.s3.amazonaws.com/i/5ltixjgubcpn5ha69gpq.png)

Conversely, product managers want to drive platform adoption, so their key message is more along the lines of making informed decisions to spur engagement. In our companion blog post, [Top 5 Behavioral Emails Every API Product Company Should Use](https://www.moesif.com/blog/developer-marketing/behavioral-emails/Top-Five-Behavioral-Emails-Every-Developer-Tool-Should-Have?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation), we cover in detail the most important emails for API-first companies.

### 3. Usage-Based Emails

After the targeted welcome email it’s time to segment further, but this time using a behavioral criteria, rather than a demographic one. Since we’re most interested in driving API integration, we focus on messaging pertaining to where customers are in the integration funnel: top, middle or bottom. Using the number of API calls we trifurcate customers into three groups:

| Number of API Events/Day | Stage | Description |
| --- | ----------- | --- |
| 0 Events | Top | Not yet integrated |
| 0 < Events < 1,000 | Middle | Integrated in sandbox only (smaller than free plan)|
| Events > 1,000 | Bottom | Integrated in production (larger than free plan)|

Through an [integration](https://app.hubspot.com/ecosystem/2503070/marketplace/apps/marketing/analytics-data/moesif-api-analytics-hubspot-connector-224269) with our MarTech tool, HubSpot, we pass the *Used Event Count* API parameter (the number of API calls a customer has made) from the Moesif analytics tool to the CRM. Then, based on the number of API events made, we enroll customers into one of three customized workflows:

![Segmentation of Behavioral Emails by Number of API Events](https://dev-to-uploads.s3.amazonaws.com/i/0r5b7d6p0r9a77w5tnjl.png)

**Sequence #1: Pre-Integration**

If a trial user hasn’t sent any traffic over the API, we know that they haven’t integrated successfully, so the focus should be more on education and how easy it is to integrate (i.e. an awesome developer experience). Our goal is to get them to their first _Hello World_ also called _Time to First Hello World_. In order to do so, we share useful articles, infographics and eBooks on developer-centric issues, and intersperse gentle nudges/offers of help from the developer relations team. By making the developer communications not too salesy, they'll see the value they get from your company and eventually from your API. It's also a good idea to find commonalities whenever possible to establish mutual respect, such as the comment in the email above: *"Our founders being API engineers themselves. They had their own struggles with slow and manual log searches."* To do this, we eat our own dog food and set up a behavioral cohort for users who signed up in last 7 days, but didn't send any API calls yet:

![Monitoring API calls and sending nudge behavioral email](https://dev-to-uploads.s3.amazonaws.com/i/n6ku5fyn16dywzeipqxf.png)

We’ve found that a cadence of 3:1 is quite successful - for every three pieces of insightful content, we send an offer of assistance. Any more frequency of “asks”, causes open rates to drop.

Example collateral that works well at the top of *our* integration funnel includes:
- 15 API metrics that you should be tracking [infographic](https://www.moesif.com/blog/ebooks/15-api-metrics-every-platform-team-should-be-tracking-infographic/?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation),
- How to master adoption and retention metrics [eBook](https://www.moesif.com/blog/ebooks/what-does-api-monitoring-mean-for-api-product-managers-and-growth-teams/?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation), or
- Preview our self-service demo app.

And an example nudge that isn’t too pushy:

![Example Behavioral Email for Top of Integration Funnel](https://dev-to-uploads.s3.amazonaws.com/i/kapy6t90o7t1lfwp87j8.png)

**Sequence #2: Sandbox Integration**

The developer has signed up and made their first API request, but something's holding them back from taking their app to production. Instead of focusing only on developer experience, now's the time to demonstrate the value they get from your API and help them remove any roadblocks. The time from the initial sign up to rolling out to production is sometimes called _Time to First Working App_ or _Time to First Paid App_.

The best way of illustrating value is through case studies and advanced features. Show how your API platform has addressed other customers’ needs, and solved their pain points. By relating to other real-world examples, the developer will hopefully see how they too could be helped by your solution.

![Case Study Behavioral Emails for Middle of Integration Funnel](https://dev-to-uploads.s3.amazonaws.com/i/8knoelrfi7m4t140tthk.png)

Even though you’re primarily dealing with developers, there are a lot of different stakeholders in making an enterprise sale. You have decision makers, legal and security reviews, other project priorities and functional & performance testing, that often have to be dealt with. Provide collateral and tools to empower developers on integration issues, whilst ensuring peace of mind on:
- [Security and compliance](https://www.moesif.com/enterprise/security-compliance?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation),
- [GDPR/CCPA support](https://www.moesif.com/enterprise/gdpr-compliance?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation),
- [Scalability and cost reduction](https://www.moesif.com/enterprise/api-analytics-infrastructure?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation) of the supporting infrastructure.

Finally, offer developers assistance to validate their integration. Automate this email by using a trigger based on the number of API transactions they've made over the last few days.

**Sequence #3: Production Integration**

Now that the customer is in production, drive the conversion around utilizing all of your API platform's capabilities. Regularly keep them updated on your latest feature releases, comparison guides and ROI analyses. Now’s the time to further activate users by pointing out the additional value they can expect and supplemental results they can achieve. If they still have not converted to paying, these sequences are designed to address those concerns by discovering what stakeholder is holding them back. Otherwise, these sequences are perfect for driving upsells given their API usage levels.

## Try Unused API Product Features

Closely aligned with the Production Integration phase above, but really applicable across any stage of the conversion funnel, is the desire to keep customers abreast of new/unused API platform features. The best way to do this is to send automated emails based on customer activity.

In our previous section on [Steps to Speed API Integration](#steps-to-speed-api-integration) we were using API call volume as the triggering event, but we could have used a much more nuanced metric. Especially in larger companies, the focus will be on things like endpoint utilization and traffic pattern analysis, with corresponding emails like:
> “Have you used this particular endpoint? Let's get you started using its new feature set." As that new piece gets integrated and used, and as the customer goes through the full lifecycle journey, you can introduce additional endpoints by repeating the process.

> "We noticed that you stopped sending traffic 7 days ago. Can we help you with endpoint X?" This is a great way to keep customers informed without manual effort:

![New users who stopped sending traffic](https://dev-to-uploads.s3.amazonaws.com/i/0nwobnhqz5xc4940mdxb.png)

Email marketing automation tools are very good at sending regular mass marketing emails, such as newsletters, news announcements, etc. When you want to send an email based on five different actions, that were completed five times each, it's almost impossible to do on any  MarTech platform. For these behaviorally-driven customer emails, what's really required is a custom platform like Moesif that's designed to send emails based on specific metrics from deep within your API platform itself.

Moesif's [Behavioral Emails and Workflows](https://www.moesif.com/features/user-behavioral-emails?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation) feature is custom built to make it easy to configure and set up transactional emails using multiple triggers from within your product. Similarly, email workflows based on user-centric events, can be instantiated using our simple graphical interface.

## Keep Informed on Subscription and Platform Issues

Customers want to be informed on what's going on with their platform investment, but subscription and maintenance notifications can be expensive and a time sink. Moesif's behavioral email feature makes it possible to scale customer outreach efforts, from support,  CSM and engineering teams, without manual effort.

Instead of someone sending out an email notifying that a customer's API call limit has exceeded their quota, it can now be configured and sent automatically within the Moesif API Analytics tool:

![API call limit exceeded quota](https://dev-to-uploads.s3.amazonaws.com/i/njh775h629twut5vpq7v.png)

For self-service API platforms, you're now able to economically scale developer outreach emails that cover many common subscription issues, including: subscription usage, rate limit and right-size plan emails, amongst others.

Additionally, it's also trivial to configure Moesif to send out maintenance issues to all, or even a subset of your customers. For example, there might be instances where you want to notify only a select group of customers who might be affected by a platform vulnerability — you don't want to email your entire base. Now you can, with our behavioral email capability.

---

Looking for a complete customer-centric API analytics solution? [Check out Moesif!](https://www.moesif.com/?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation)

---

This article was written by Moesif Head of Marketing, Larry Ebringer for [the Moesif blog](https://www.moesif.com/blog/technical/behavioral-emails/How-To-Accelerate-API-Integration-with-Behavioral-Emails-and-Developer-Segmentation?utm_source=devto&utm_medium=blog&utm_campaign=placed-content&utm_term=how-to-accelerate-api-integration-with-behavioral-emails-and-developer-segmentation).