Segment removes the need to build a connection to the Mailmodo API yourself. Anytime you identify a person on your site, they’ll be added to a Mailmodo contact database or, if they’re already on it, their traits will be updated based on your Segment traits. Similarly, when a user performs any activity on your site, you can use Segment Track calls to push those activities to Mailmodo. You won’t need to do any additional development to configure any of these features.

Once the identify and track data is synced to Mailmodo, you can segment the user and send them personalized campaigns at scale.

Prerequisites

Segment integration is available for all the users with the Gold and Platinum plans and the below limits are applicable for sending events. 

PlanEvents limit per month
Data availability
FreeFeature not available
Feature not available
Silver
Feature not available
Feature not available
Gold
1 million
6 months
Platinum
2 million
12 months



Getting Started

  1. From the Destinations Catalog page in the Segment App, click Add Destination.

  2. Search for “Mailmodo” in the Destinations Catalog, and select the Mailmodo destination.

  3. Choose which Source should send data to the Mailmodo destination.

  4. Go to the Mailmodo Platform, navigate to Settings > API Keys, then create a new API and copy the same.

  5. Enter your copied API Key in the Mailmodo destination settings in Segment.

Supported Methods

Mailmodo supports the following methods, as specified in the Segment Spec.

Identify

If you aren’t familiar with the Segment Spec, take a look at the Identify method documentation to learn about what it does. An example call would look like:

Every time you call identify with an email address included, we will:

  1. First ask Mailmodo if that email exists.

  2. If the email doesn’t exist, then we will add the user as a Contact to the Mailmodo database and match user properties with the Segment traits sent in identify call payload.  

  3. If the email exists, then we will update the user properties for the Contact against the Segment traits sent in identify call payload.  

All the special traits recognized by Segment will be translated and matched with the Mailmodo accepted user properties for a Contact. These fields will be automatically created in Mailmodo and will be available for personalization and advance segmentation. 

Please note the following things:

  1. The email field is required. Identify calls without an email is dropped. 

  2. If different email addresses are sent against same user id in identify call, then they are treated as two different contacts in Mailmodo. 

Track

If you aren’t familiar with the Segment Spec, take a look at the Track method documentation to learn about what it does. An example call would look like:

Segment sends Track calls to Mailmodo as a Custom Event. When you call  track, we’ll send the event to Mailmodo with the event name and all properties that you specified.

Be sure you send an Identify call for any user who will trigger Track calls. If Mailmodo receives a Track call for an unknown userId, the call is dropped.

Settings

Segment lets you change these destination settings from the Segment app without having to touch any code.

SETTING

DESCRIPTION

API Key
(required)

string. Please include the API key from Mailmodo

How will the traits of a user in Segment be integrated into Mailmodo?


Property name in SegmentProperty name in MailmodoData type in Mailmodo
address.citycityString
address.countrycountryString
address.postalCodepostal_codeString
address.statestateString
address.streetaddress1String
ageageNumber
avataravatarString
birthdaybirthdayDatetime (ISO)
company.namecompanyString
company.idcompany_idString
company.industrycompany_industryString
company.employee_countcompany_employee_countNumber
company.plancompany_planString
createdAtcreated_atDatetime (ISO)
descriptiondescriptionString
emailemailString
firstNamefirst_nameString
gendergenderString
userIdsegment_idString
lastNamelast_nameString
namenameString
phonephoneString
titledesignationString
usernameusernameString
websitewebsiteString



Any new property receive will have the same name as Segment, and it's data type will be inferred from the value of the property