Attentive Integration

Introduction

Attentive is an email marketing platform specifically designed for online businesses, offering powerful email and SMS marketing automation capabilities. Zinrelo integrates seamlessly with this platform, simplifying the process for Zinrelo customers to organize their email marketing campaigns in conjunction with their loyalty program details.

Integration Process

To synchronize loyalty program details in Attentive, you will need to share specific prerequisites from your Attentive account:

1. Attentive API Key: This is required to sync members loyalty data and loyalty events data from Zinrelo to Attentive platform.

To accomplish this, Zinrelo will use below APIs:

  • Custom Attributes API- To sync member's loyalty data in Attentive
  • Custom Events API- To sync member's loyalty events/transactions in Attentive

2. Sign-Up SourceId: This is required to create subscribers in Attentive when the new members are enrolled in Zinrelo.

Zinrelo will use below APIs:

  • Subscribers API- To create a subscriber/loyalty member in Attentive

3. Attentive sandbox login credentials to test the loyalty data push.

Share these details to your account manager at [email protected].

Where can I find an Attentive API key?

The Attentive API key is required to sync data from Zinrelo to Attentive. This key is generated upon the creation of a custom app within the Attentive system. To acquire the API key, please follow the given steps:

  1. Navigate to Setup >> Marketplace.
marketplace
  1. Click on the “Create app” button.
create app
  1. Enter app name and contact email.
create app
  1. Grant “Write” permission to the following Data Types:
  • Custom Events
  • Subscribers
  • Custom Attributes
grant permission
  1. Click on the “Create” button.
  2. A screen displaying an API key will appear. Copy and securely store this key, then share it with us.
api

📘

Note: In case the API key is missed, it can be regenerated by clicking the “Regenerate” button.

api

Having these prerequisites in place will enable us to seamlessly integrate Zinrelo with Attentive and ensure successful data synchronization.

Where can I find the Sign-Up Source ID?

The sign-up source ID is required for adding new subscribers to the marketing program. To acquire this ID, kindly collaborate with your Attentive Customer Success Manager to generate it.

Monitoring Subscribers and Loyalty Member Integration Status:

To check subscribers or loyalty members added from Zinrelo to Attentive after the integration setup, you can follow these steps

  1. Navigate to Audience >> Subscribers.
subscriber

For a comprehensive view of a subscriber, select the subscriber's name and click on the "View full profile" button.

subscriber view

Upon accessing the detailed view of the subscriber, you will encounter four tabs within the profile page.

📘

Please Note:

The loyalty data from Zinrelo to Attentive is synchronized in real-time.

profile page

a. Subscriptions: This tab displays a list of channels to which the subscriber is currently subscribed.

subscriptions

b. Activities: Here, you will find a compilation of loyalty custom events along with their statuses, descriptions, and timestamps. This section provides a log of all conducted events associated with the subscriber.

activities

c. Attributes: Within this section, you'll find the list of loyalty member attributes starting with zrl_member prefix.

attributes

The values of these attributes are overridden after any new event.

Below, you'll find a comprehensive description of the currently supported member attributes.

AttributesDescription
emailThe email address of the member.
first_nameFirst name of the member.
last_nameLast name of the member.
zrl_member_address1Address of the loyalty member.
zrl_member_address2Address of the loyalty member.
zrl_member_cityMember's city.
zrl_member_stateMember's state.
zrl_member_zipMember's postal code.
zrl_member_countryMember's country.
phonePhone number of the loyalty member.

To check all transaction and member attributes we support, click here.

📘

Note:

In order to sync data from Zinrelo to Attentive, members enrolled in the program should have email or phone number.

How to create a journey using Zinrelo loyalty events in Attentive?

You can use Attentive to set up an automated sequence of emails that can be activated by setting up a specific trigger. It can be done by creating a journey. Journey allows you to trigger an email or series of emails based on the Zinrelo loyalty events.

For every loyalty program email that you want to send through Attentive, you need to create a corresponding journey.

Let's get started and understand how you can create a journey using loyalty events in Attentive.

  1. Go to Messaging >> Journeys.
journey creation
  1. Click on “Create Journey.”
journey creation
  1. Select “Start from scratch.”
journey creation
  1. Select a custom event trigger to set up the journey for Zinrelo Events. And then click on “Continue.”
journey creation

We currently support the following events:

Event NameDescription
Member EnrollmentWhen a new user enrolls in the loyalty program.
Member UpdatedWhen the member's attributes are changed.
Points ExpiredWhen customer's points expire.
Points EarnedWhen points are awarded (approved) to a user.
Points DeductedWhen points are deducted from a user’s loyalty points balance.
Points RedeemedWhen a user redeems points.
Campaign EnteredWhen a member or members enter a campaign.
Campaign ExitedWhen a member or members exit a campaign.
Tier UpgradeWhen a customer upgrades to a higher tier.
Tier DowngradeWhen a customer downgrades to a lower tier.
Referral SuccessWhen the referred friend clicks on the referral link and makes his first purchase.
Friend Incentive RequestWhen a coupon is issued to the referrer for a successful referral.
Referral Link ShareWhen the referral link is shared through email or via social channels.
Points Expiration ReminderWhen a user's points are about to expire.
Winback OfferWhen a user has been inactive for an extended period of time.
Rewards Within Reach ReminderWhen a user earns 80% of the required points to redeem the reward.
Available Rewards ReminderWhen a user earns enough points to redeem rewards.

📘

Note: If you wish to include additional events for your store, kindly contact us at [email protected].

  1. Select the purpose of the journey. And then click on “Get started.”
journey creation

To know more about this, click here.

  1. In the journey editor, drag and drop steps into the map to build your journey.
journey creation

📘

Please Note: To send a text message to a subscriber, the mobile number of the subscriber should be stored. And to send email, it is mandatory to store their email address.

Learn how to create emails in Attentive here.

To know more about actions and rules in the steps panel, refer to this document.

How to add Zinrelo loyalty attributes in emails?

To incorporate Zinrelo loyalty attributes into emails, you can refer to member attributes using the following syntax: {{subscriber.custom['first_name']}}. For instance, member loyalty attributes can be substituted with 'first_name'.

Similarly, when dealing with transaction attributes, you can employ the syntax: {{triggerEvent.custom['PointsRedeemed']}}. In this case, transaction loyalty attributes can be exchanged with 'PointsRedeemed'.

email
  1. When you’re done customizing the journey, click Turn on, set the frequency of the journey, and then click Turn on journey.

You can also click Schedule to activate the journey at a future date and time.

journey creation

Once activated, you can see your journey from the Journeys tab. For more, see View a journey’s performance.

journey creation