Sync new WooCommerce customers to HubSpot and Klaviyo

When a new customer signs up in your WooCommerce store, instantly add them to HubSpot as a lead and to your Klaviyo marketing list.

Deterministic Code
WooCommerceHubSpotKlaviyoMarketingSalesData SyncOnboarding AutomationEmail Automation
PromptCreate

Build a code workflow that mirrors every new WooCommerce customer into HubSpot CRM and Klaviyo so sales follow-up and email marketing can start immediately.

Trigger: a WooCommerce outgoing webhook on the customer.created event. The webhook payload includes the customer's id, email, first_name, last_name, date_created, and billing object (city, country, phone).

Step 1: Call HubSpot Create Contact with the WooCommerce customer's email, first name, and last name, and set the lifecycle stage property to 'lead'. If HubSpot returns a 409 conflict because the contact already exists by email, treat it as success and continue.

Step 2: Call Klaviyo Create or Update Profile (Upsert) using the same email as the matching identifier. Pass first name and last name as profile attributes, and include the WooCommerce signup date, billing city, and billing country as profile properties so segments and flows can use them. Capture the returned Klaviyo profile id.

Step 3: Call Klaviyo Subscribe Profiles (Bulk) to add the new profile to a configurable marketing list (expose the list id as a workflow input). Subscribe to email marketing with a custom_source of 'WooCommerce signup'.

Inputs the workflow should expose: the HubSpot lifecycle stage (default 'lead'), the Klaviyo list id, and a toggle for whether to subscribe to email, SMS, or both.

This is a deterministic CRUD pipeline with no reasoning required, so build it as a fixed code workflow with three discrete nodes in sequence, not an agent. Add basic error handling on each node so a transient failure in one downstream service does not block the others.

What does this prompt do?

  • Listens for new customer signups in your WooCommerce store the moment they happen.
  • Creates a matching contact in HubSpot with the customer's name and email, tagged as a lead so sales can follow up.
  • Adds the same customer to Klaviyo with their signup date, city, and country so your email marketing has the context it needs.
  • Subscribes the customer to a marketing list of your choice so welcome emails and campaigns start right away.

What do I need to use this?

  • A WooCommerce store you can log into as an admin.
  • A HubSpot account with permission to create contacts.
  • A Klaviyo account with permission to add and subscribe profiles.
  • The name of the Klaviyo list you want new customers added to.

How can I customize it?

  • Change the lifecycle stage in HubSpot from lead to subscriber, customer, or any other stage your team uses.
  • Swap the Klaviyo list so new signups land in a different audience, like a VIP list or a regional segment.
  • Add or remove the customer fields you sync, such as phone number, billing address, or the WooCommerce customer ID for later lookups.

FAQs

Will existing customers in HubSpot or Klaviyo get duplicated?
No. Both updates match on email address. If the customer already exists in HubSpot or Klaviyo, their record is updated instead of duplicated.
How fast does this run after a new customer signs up?
Within seconds. WooCommerce sends a signal the moment a customer is created, and the workflow runs immediately from that.
Do I need a paid HubSpot or Klaviyo plan?
No. Contact creation in HubSpot and profile management in Klaviyo are available on all plans, including the free tiers.
Can I add the customer to more than one Klaviyo list?
Yes. The list is configurable, and you can extend the workflow to subscribe new signups to multiple lists at once.
What happens if HubSpot or Klaviyo is down when a signup comes in?
The workflow retries failed steps automatically, so a brief outage will not cause you to lose customers from your CRM or marketing list.

Related templates

Turn Mailjet email clicks into ranked HubSpot follow-ups

Twice a day we spot the people clicking your pricing and demo pages, create a follow-up task for their owner, and post a ranked recap to Slack.

Mailjet
HubSpot
Slack Bot
Agentic Task
iMessage campaign console with pre-flight checks and delivery board

Build every text campaign in one screen: check who is actually reachable, see a realistic send plan, then watch delivery land row by row.

LoopMessage
Google Sheets
HubSpot
App
A searchable RFP answer library your bid team drafts from

Every proposal you have ever submitted in one searchable archive, with the closest past answers lined up against each question in a new RFP.

General Input Storage
General Input Database
Mistral AI
+2
App
See which target accounts just started advertising on LinkedIn

Open one board each Monday to see which of your target accounts are running LinkedIn ads right now, and which only switched them on this week.

LinkedIn Ad Library
HubSpot
General Input Database
App
Account health board that puts product usage next to your CRM

Your customer success team opens one board where every account's logins, seats and usage trend sit beside its owner, plan and renewal date.

Looker
HubSpot
Slack Bot
App
Look up a customer's full chat history mid conversation

Your agent types an email and sees every past conversation, rating and tag next to the CRM record, then files notes without ever leaving the chat.

LiveChat
HubSpot
App

Stop running two separate sync tools for every new WooCommerce customer.

Connect WooCommerce, HubSpot, and Klaviyo once, and Geni keeps your CRM and email marketing perfectly in sync from the second someone signs up.