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

Client-by-client cold email pipeline review for agencies

Pick a client and a date range to see sent, replies, meetings booked and the real deal value your cold email produced, campaign by campaign.

Instantly
HubSpot
Slack Bot
App
Partner tier review board for quarterly promotion calls

Work every partner tier decision from one board, with the revenue and commission numbers, clear promotion thresholds, and AI review briefs.

Introw
HubSpot
Slack
App
Reconcile partner commissions between HubSpot and Introw

Open one board at month end to find every closed deal missing a commission, every commission with no deal behind it, and every amount that does not add up.

Introw
HubSpot
Slack
App
Hiring signal board for your customers and open pipeline

Open one board each morning to see which of your accounts are hiring, what they are building, and where your product fits the roles they just opened.

JobsPipe
HubSpot
App
Placement pricing desk for recruiting and staffing agencies

Open a live deal, see the market pay range for that role and city, set your markup, and write the agreed numbers straight back onto the deal.

Job Salary Data
HubSpot
App
Instagram comment and DM triage inbox for your team

Work every unanswered Instagram comment, Reel reply and Direct message from one queue, with claimed rows so two people never answer the same person.

Instagram
HubSpot
Slack Bot
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.