Introduction
Integrating WooCommerce with Xendy allows you to seamlessly sync customer, order, and product data between your online store and Xendy. This powerful connection is updated daily, enabling you to create dynamic segments based on customer behavior, showcase personalized product recommendations in emails, and automate targeted marketing campaigns. Additionally, the integration collects abandoned cart data through the Xendy WordPress plugin, ensuring you never miss an opportunity to recover lost sales. By connecting WooCommerce with Xendy, you can elevate your email marketing strategy and provide personalized, data-driven experiences for your customers.
Set up the connection
Connecting WooCommerce with Xendy is a straightforward process. Follow these steps to enable seamless data synchronization between your WooCommerce store and Xendy.
1. Generate API keys in WooCommerce
-
Access WooCommerce settings:
- Log in to your WooCommerce admin dashboard.
- Go to Settings and navigate to the Advanced tab.
-
Generate API keys:
- Select REST API from the submenu and click Add Key.
- Enter a description (e.g., “Xendy Integration”) and choose a user with the necessary permissions.
- Set Permissions to Read/Write and click Generate API Key.
-
Copy the API keys:
- Note down the Consumer Key and Consumer Secret. You’ll need these to connect WooCommerce to Xendy.
2. Connect WooCommerce to Xendy
-
Log in to Xendy:
- Access your Xendy account and click on the gear icon in the top-right corner of the dashboard.
- Select Integrations from the dropdown menu.
-
Choose WooCommerce:
- In the integrations section, select WooCommerce from the list of available integrations.
-
Enter API keys:
- Paste the Consumer Key and Consumer Secret you generated in WooCommerce.
- Provide the base URL of your WooCommerce store (e.g.,
https://yourstore.com
). - Click Connect to establish the connection.
Once the connection is established, WooCommerce and Xendy will begin syncing data daily. In the next section, we’ll guide you through installing the Xendy WordPress plugin to enable abandoned cart tracking and further optimize the integration.
Xendy WordPress plugin
To enable advanced features like abandoned cart tracking, you need to install the Xendy WordPress plugin for WooCommerce. Follow these steps to integrate the plugin with your WooCommerce store.
1. Download the Xendy WordPress plugin
- Access the plugin:
- Log in to your Xendy account.
- Navigate to the Integrations section under the settings (gear icon).
- Locate the WooCommerce integration and download the Xendy WordPress plugin file.
2. Install the plugin in WordPress
-
Log in to your WordPress admin panel:
- Go to your WooCommerce store’s WordPress dashboard.
-
Upload the plugin:
- Navigate to Plugins > Add New and click Upload Plugin.
- Select the Xendy plugin file you downloaded earlier and click Install Now.
-
Activate the plugin:
- Once the installation is complete, click Activate Plugin.
3. Configure the plugin
-
Access plugin settings:
- In the WordPress admin menu, select Nextmessage from the left-hand menu.
-
Paste the token:
- Copy the API token provided in the Xendy dashboard under the WooCommerce integration settings.
- Paste the token into the plugin’s settings page.
-
Save settings:
- Click Save to establish the connection between the plugin and Xendy.
4. Verify the plugin integration
- Once connected, the plugin will enable the collection of abandoned cart data and improve the sync of customer, product, and order details between WooCommerce and Xendy.
With the Xendy WordPress plugin successfully installed, you’re now ready to leverage all the benefits of this powerful integration. In the next section, we’ll discuss how data is mapped automatically and how to add custom fields for personalized campaigns.
Data mapping
Once the WooCommerce integration and Xendy WordPress plugin are set up, data from your WooCommerce store will be automatically mapped to Xendy. This ensures that customer, order, and product information is accurately synchronized for use in email campaigns, dynamic segments, and personalized marketing efforts.
1. Automatic data mapping
Xendy handles data mapping automatically, ensuring seamless integration with your WooCommerce store. Here’s how data is mapped by default:
- Customer data:
- Name, email address, phone number, and other contact details.
- Order data:
- Order history, total order value, and individual transaction details.
- Product data:
- Product names, categories, SKUs, and pricing.
This data is updated daily to reflect the most recent activity in your WooCommerce store.
2. Adding custom fields
To capture additional data unique to your business, you can add custom fields in Xendy and map them to WooCommerce data.
Steps to add custom fields:
-
Create a custom field in Xendy:
- Log in to Xendy and navigate to Contacts > Custom Fields.
- Add a new field, such as Loyalty Points or Preferred Category.
-
Map the custom field:
- Go to Settings > Integrations > WooCommerce.
- Under Customer Import Settings, locate the Field Mappings section.
- Map your new Xendy field to the corresponding WooCommerce field.
-
Verify field mapping:
- Run a test import to ensure the custom field is populated correctly in Xendy.
3. Benefits of custom fields
Custom fields allow you to:
- Personalize email campaigns using customer-specific data.
- Segment contacts based on unique attributes like loyalty points or preferred products.
- Automate targeted marketing based on custom criteria.
With data mapping and custom fields in place, you can fully utilize the integration between WooCommerce and Xendy for effective email marketing. In the next section, we’ll address frequently asked questions about this integration.
Frequently asked questions
Xendy syncs the following data from WooCommerce:
- Customer data: name, email address, and phone number.
- Order data: order history, total order value, and recent purchases.
- Product data: product names, categories, SKUs, and pricing.
This data is updated once per day to ensure accuracy.
Data between Xendy and WooCommerce is synced once per day. This ensures your email campaigns and dynamic segments are based on the latest customer, order, and product data.
Yes, you can create dynamic segments based on WooCommerce data. You can filter by:
- Number of purchases.
- Total order value.
- Order date or time since the last purchase.
- Specific products purchased or not purchased.
- Categories of products purchased or not purchased.
To create a discount code in WooCommerce:
- Go to Marketing > Coupons in your WordPress admin panel.
- Click Add Coupon and enter the coupon code and details (discount type, amount, expiry date, etc.).
- Save the coupon.
Note: personalized discount codes are not supported natively in WooCommerce but can be managed manually if needed.
Setting up an abandoned cart email is straightforward. Refer to our detailed guide on setting up an abandoned cart email automation, which includes step-by-step instructions and best practices for WooCommerce stores.
You can set up a welcome email automation for new customers by creating a journey in Xendy. Refer to our welcome email automation guide for detailed steps.
Yes, you can use loyalty plugin data in Xendy by mapping the relevant fields.
- Add a custom field in Xendy for loyalty points or similar data.
- Map this field via Settings > Integrations > WooCommerce > Field Mappings.
- Once mapped, you can use this data for personalization in emails or for segmenting customers based on loyalty points.
Yes, the Xendy WordPress plugin collects abandoned cart data from WooCommerce. This data can be used to create automated email reminders to recover lost sales.
Since data is synced once daily, changes made during the day will be reflected in Xendy after the next sync. For time-sensitive updates, you can always start the import manually.
To verify the integration:
- Check that customer, order, and product data appear correctly in Xendy under All contacts.
- Review dynamic segments to ensure WooCommerce data is populating as expected.
- Test an email campaign to confirm the synced data is functional for personalization and targeting.