Create customer when webhook received
Create a Shopify customer from a form submission or lead sent to your webhook, tagged webhook-lead. Collects leads from landing pages, form tools and events straight into Customers.
One trigger from Workflow Webhooks and Shopify's built-in actions, no other app needed.

What it needs
A webhook in Workflow Webhooks with this payload mapping. See Payload mapping and Flow variables.
| Field | What to map to it |
|---|---|
fieldOne |
The email address |
fieldTwo |
The first name |
fieldThree |
The last name |
A call to the webhook then looks like this:
bash
curl -X POST https://<your webhook URL> \
-H "Content-Type: application/json" \
-d '{"email": "jane.doe@example.com", "firstName": "Jane", "lastName": "Doe"}'Get the workflow
- Download the
.flowfile attached at the bottom of this page. - In your Shopify admin open Flow, click Import and choose the file.
- Check the steps, then click Turn on workflow.
The file is an export from Shopify Flow itself. Do not edit it by hand; change the workflow in Flow after importing it.
How it works
- Webhook Trigger starts the workflow each time your webhook URL is called and hands it the mapped fields.
- Condition continues only when
fieldOne, the email address, is not empty. - Send Admin API request runs
customerSetwith the email, first and last name and the tagwebhook-lead, which creates the customer.
Make it yours
- Change the tag
webhook-leadto the name of the form or campaign.
Next steps
- Create your first webhook - create the webhook this workflow listens to.
- Workflow templates - all templates.
- History and troubleshooting - check that the webhook reached Flow.

