Skip to main content

I need to create a customer and company through a zap. I am getting an error message, because the email address is already taken. 

now the email is required to create a customer in shopify. But not required to create company so I remove the email and retest. 

This error pops up. I have customer ID already mapped. So maybe not in the right place but I am putting it in where troubleshooting is telling me. 

In Shopify Plus, when I am on a customers account, I have an option to “add to a company” this allows me to create their company. It automatically links them as main contact. I don’t need a different email or anything. 

So How do I make this zap work? 

 

Hi @Blake Feeley 

You may need to add Zap steps to find/create the Shopify Company.

For us to have more info, post screenshots showing how your Zap step is configured in the “Configure” section.

 


Hi @Troy Tessalone

This configuration, when tested comes up with error, email already taken. 

When I remove the email, and retest error comes up that I have to include an email or customer ID. It doesn’t allow me to create without the info but errors when I have them entered. 

 I also added step to find customer, there was no option to find company 


@Blake Feeley 

You likely need to add logic to find/create the CUSTOMER as indicated by the error.

Then link the CUSTOMER to the COMPANY using the CUSTOMER ID.

There is no Shopify Zap action for Find Customer.

Enable the setting to Create Customer if not found.

 

 

 


@Blake Feeley 

You’ll likely have to use the Shopify API to assign a Customer to a Company:

https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/companyAssignCustomerAsContact

 

Options