Connect your Magento 2 webshop with Xendy

Introduction

By connecting Magento 2 to Xendy, customer, order, and product data is automatically synchronized every night. This allows you to create segments based on purchase behavior, show personalized product recommendations, and follow up on abandoned carts. This makes your email campaigns more relevant and effective.

Create API access in Magento 2

Setting up a Magento 2 integration is simple and starts in the back end of your webshop. You can continue by logging in via ‘https://yourdomain.com/admin/’.

  1. In the left menu, choose ‘System’ and then ‘Integrations’.
  2. Choose ‘Add New Integration’, give the integration a name, and save.
  3. Click on the integration and check the 3 ‘Read’ permissions for customers, sales, and catalog so that Xendy can access customer, order, and product data from your Magento 2 webshop.
  4. Activate the integration and copy the access token.

Connect Magento 2 in Xendy

Once you have created the API keys in Magento 2, you can easily connect them:

  1. Go to Xendy and choose ‘Settings’ in the left menu, then click ‘Webshop’.
  2. Select ‘Magento 2’ and paste the API keys and your webshop URL. Then select the correct ‘Store View’ if you are using multistores.
  3. Click ‘Connect’. Xendy will immediately start the first import. You can see the progress in the bottom-left of the dashboard.

How often is data retrieved?

Xendy retrieves your Magento data once per day during the night. If this fails, you will automatically receive an email notification.

Send additional fields from Magento 2 to Xendy

In addition to the standard synchronization of customer, order, and product data, you can also send custom fields to Xendy. This is useful for specific data, such as a VIP status, loyalty points, or a training date.

You send additional fields via the customer or order endpoints in Magento. It is important to always use the prefix xendy_ in the field name. Examples are xendy_vip_status or xendy_training_date. Xendy automatically recognizes these fields and stores them in the contact profile.

The fields are then immediately available in Xendy. You can find them under the filter rules of dynamic segments, allowing you to easily create lists based on this data. These fields are also available in the email editor. You can add them to your emails using the @ symbol, for example @xendy_vip_status.

This opens up many personalization opportunities. For example, you can segment customers based on their loyalty points, send reminder emails based on a training date, or start an email personally with: “Thank you for your order, @xendy_company_name!”.

Frequently Asked Questions

Xendy retrieves your Magento data once per day during the night. If this fails, you will automatically receive an email notification.

With Magento 2 data, you can create highly targeted dynamic segments in Xendy. For example, you can filter by the number of purchases a customer has made, the total order value, or how long it has been since someone last placed an order. You can also select based on specific products or product categories that have or have not been purchased. This allows you to easily target campaigns to customers who ordered recently, loyal buyers with a high order value, or customers who have not been active for some time.