Skip to main content

Convert contacts in Marketing to new customers in Shopify

Keep your lists up to date, accurate, and consistent with your Shopify store.

Written by Laura Russell

You can use the Shopify program webhook to convert existing Marketing contacts to new customers or subscribed customers in Shopify. You can also use it to update the email marketing consent of customers who already exist in your store.

This is useful if you're collecting new contacts directly into Marketing, or if you want to keep consent up to date in Shopify without turning on two-way sync.

If you’re using Marketing signup forms or Surveys, pages, and forms, you can enrol contacts who submit the form directly into a program that passes your new contacts back to Shopify.

The webhook supports the following Shopify customer fields for a newly added contact:

  • Email

  • First name

  • Last name

  • Email marketing consent

Email, first name, and last name use the mapping that’s defined in the Field mapping tab of your Shopify connector settings. You must make sure these fields are created and mapped. If they aren't, new customers aren't created. Email marketing consent is set in the node.

Once your store is connected, you can find the Shopify webhook node in the program builder in the Webhooks section of the left side menu.


Configure your webhook

  1. Go to Automation > Programs and create a new program, or edit an existing one.

  2. Drag the Shopify program webhook node onto the program builder canvas.

  3. Select the node to access its settings.

  4. For Email marketing consent, select Yes or No.
    ​This is set to Yes by default. If the contacts you enrol haven’t opted in to your marketing, select No.

  5. For Apply to existing customers, select Yes to also update the email marketing consent of contacts who already exist in Shopify.
    ​This is set to No by default, so existing customers aren’t changed.

  6. Select Apply.

  7. Once you’re happy with your program, select Activate.

When a contact reaches this node, they’re added as a customer or subscribed customer in your store.

Existing customers

What happens to contacts who already exist in Shopify depends on Apply to existing customers:

  • Yes
    The webhook updates their email marketing consent. Other fields, such as first name and last name, aren’t updated.

  • No
    Existing customers are ignored. Nothing in Shopify changes.

If you set both Email marketing consent and Apply to existing customers to Yes, existing customers who unsubscribed in Shopify are resubscribed. Only enrol contacts who’ve given consent.

Did this answer your question?