Skip to main content

Paytronix Integration for Twilio Segment Source

Paytronix offers a source integration with Twilio Segment, a Customer Data Platform (CDP). This article provides the information necessary to set it up.

Updated over 2 months ago

Paytronix offers a source integration with Twilio Segment, a Customer Data Platform (CDP). A CDP is a software system that collects, unifies, and manages customer data from various sources in a centralized database, enabling organizations to better understand and engage with their customers.

In this integration, Paytronix sends Twilio Segment specific data fields from the Paytronix System; for example, store code, store city, first name, last name, and many other fields.

Requirements Needed to Enable the Source Segment Component of this Integration

  1. You must be a Paytronix Loyalty client.

  2. You must be a Twilio Segment client.

Client Steps to Enable the Paytronix Integration for Twilio Segment Source

You will need to obtain a “write key” from the Twilio Segment portal to provide to Paytronix. A “write key” is a string of letters, numbers, and characters will be needed for Paytronix to enable the “Segment Source” component of the integration.

Log into Twilio Segment Portal

In order to obtain the “write key” for this Paytronix integration, log into the Twilio Segment portal (if you cannot log in to the Twilio portal, please contact Twilio for assistance).

Once logged into the Twilio Segment portal, please follow Twilio’s instructions to select the correct “Source” and obtain the “write key:” Twilio Segment Help Article Instructions. (If you get a “403 Error” when accessing this Twilio Segment link, please log into the Twilio Segment portal to access this article).

Provide “write key” to Paytronix

This integration will only function, once you provide the correct Twilio Segment “write key” to Paytronix, and Paytronix adds this “write key” to the Paytronix system.

Once you obtain the “write key” from the Twilio Segment portal, please contact Paytronix at [email protected] to provide this “write key” from the Twilio Segment portal.

The Paytronix team will confirm that you have the Twilio Integration enabled, and then work with you and the Paytronix Integrations team to enable the “Segment Source” component of the integration with the “write key.”

Example Events

“Events” are outputs that Twilio Segment will receive from Paytronix. Once Twilio Segment receives these events from Paytronix, you will need to determine how you want to interpret and act on the data received by Twilio Segment.

Here are some example events:

Loyalty Registration ‘identify’ event:

{    "userId":"12293821",    "traits":{        "email":"[email protected]",        "firstName":"John",        "lastName":"Smith"      }  }

Add/Redeem ‘track’ event

{    "userId":"12293846",    "event":"Add Redeem",    "properties":{        "cardNumber":"1010101096000057",        "storeName":"Web Site",        "storeCode":"pxweb",        "wallet_3_balance": "1",        "wallet_3_label": "Visits"    }  }
Did this answer your question?