If you use Hubspot’s marketing hub, you can send loyalty program notifications through your Hubspot account. You can also use loyalty data attributes from the program in your regular marketing communication. This article explains how to integrate Zinrelo with your Hubspot Marketing Hub.

Note: To integrate Zinrelo and Hubspot, you need to be on the ‘Professional’ or ‘Enterprise’ plan in Hubspot.

Integration Overview

The integration between Zinrelo and Hubspot allows you to easily set up Zinrelo’s default email notifications in Hubspot. This section will give an overview of how integration works.

Creation of contact properties in Hubspot

When Zinrelo is connected with Hubspot, a new group of contact properties by the name ‘Zinrelo Loyalty Data’ is created. New contact properties are created in this group to store the data from the loyalty program. These contact properties can be used in other email campaigns in Hubspot. That said, some of the properties are created for specific loyalty program notifications and won’t be applicable for other marketing campaigns.

The list of contact properties created can be viewed in Hubspot under the ‘Zinrelo Loyalty Data’ group.

Data synchronization

After Zinrelo and Hubspot apps are connected, every new transaction in the loyalty program triggers a data push to Hubspot. The data of the respective member is updated in the Hubspot contact properties. Since data is updated after a transaction, only data for members who have some transaction in the program after the integration is set up will be available in Hubspot.

An option is provided in the Zinrelo admin to sync the loyalty data for all members.

Workflow setup

Zinrelo’s standard email notifications can be configured in Hubspot easily. These can be enabled from the Zinrelo admin and corresponding workflows are automatically created in Hubspot. Further, the HTML for the notifications is also provided in the Zinrelo admin so that it can be copy-pasted in the respective Hubspot workflows.

Setup Instructions

The integration can be completed in 3 easy steps. Let’s look at these steps in detail

Step 1: Connect Zinrelo to Hubspot

  • Login to your Zinrelo admin account and navigate to the ‘Apps’ section in the “General” menu. Select Hubspot and proceed to connect your Hubspot account with Zinrelo.


  • When you click “Connect to Hubspot”, you will be prompted to log in to Hubspot and select the Hubspot account that you wish to connect to.


  • Grant the required permissions and proceed to connect the app.
    (If you get a warning about an unverified app, ignore it. The app will be verified by Hubspot when there are a certain number of active users of the integration)

  • On successful integration, you will be redirected to the Zinrelo admin and will see a success message confirming the connection.

Step 2: Sync Loyalty Data (Optional)

After the integration is set up, every new transaction in the loyalty program triggers an update in Hubspot. So data for members who perform any transaction after the integration will be available in Hubspot. But if you wish to sync the data for all members, you can use the ‘Sync Loyalty Data’ option provided in the Zinrelo admin.

This needs to be done only once as later updates will be automatically pushed to Hubspot.

Step 3: Set up Workflows in Hubspot

Create Workflows in Hubspot through Zinrelo

Navigate to the ‘Workflow Triggers’ tab in the Hubspot app in the Zinrelo admin. Enable the emails that you want to send.

When the emails are enabled here, corresponding workflows are automatically created in your Hubspot account.

Note: Disabling notifications from here does not delete the workflows from Hubspot.

Configure Emails in Hubspot

Emails corresponding to each workflow need to be created in Hubspot before the workflows can be published.

  • To configure emails, you first need to set up a template. You can upload Zinrelo’s default email template or use one of your existing email templates.
    If you want to use Zinrelo’s default email template, you can download the HTML file from this link and upload it to your Hubspot account. To upload the default Zinrelo template, go to Marketing >> Files and Templates >> Design tools option in Hubspot. Upload the Zinrelo HTML file here. Once done, this template can be used for any new emails that you create.

  • To set up the emails, log in to your Hubspot account and navigate to the Marketing >> Email section.


  • Click on the ‘Create Email’ button and select the “Automated” email type. You will see an option to select a template. You can select your own template or use Zinrelo’s default template. If you are using one of your own templates, it is advisable to use one that allows you to edit the source HTML of the email. Zinrelo provides the HTML that needs to go in the body section of all standard emails.


  • Give a name to the email you want to create and then proceed to edit the contents. To make it easy to set up the standard email notifications, Zinrelo provides the HTML code that can be pasted in the body section of each email. The HTML code is available in the Hubspot integration section of the Zinrelo admin console. Click on the ‘View default email content’ link on the card for any of the emails. Here you will see a button to copy the email content. When clicked, the email HTML is copied to the clipboard.


  • In the Hubspot email that you are creating, go to the ‘Advanced options for the body content and choose ‘Source code’. Paste the HTML copied from Zinrelo here.
    (If you don’t see an option to enter the source code, you should opt for the Zinrelo email template in Hubspot or any other template that allows you to edit the source code of the email)

  • Before you can save the email, you will be prompted to update the ‘Settings’ section of the email which includes the ‘From Name’, ‘From Address’, and the ‘Subject’. Once done, click on ‘Review and Save’ to save the email created. The email is now ready to be linked to a workflow.

Link emails to Workflows

  • Navigate to the workflows that you created in Hubspot through Zinrelo. Workflows can be accessed from the Automation >> Workflows section.


  • Select the workflow that you want to publish. Click on the ‘+’ icon to add an action to the workflow and select the “Send email” option. Choose the email corresponding to the workflow. Once this is done, the workflow can be published and turned on.

Test the workflows you have configured by triggering the necessary events in the loyalty program.

Did this answer your question?