Question

Unable to Update Existing Shopify Contact in Zapier: ID Not Found in "Find and Create Shopify Contact" Step

  • 14 February 2024
  • 16 replies
  • 82 views

Hi, On my zap, I encounter a problem.

In the "Find customers" step on Shopify: this allows you to see if there already exists a Shopify contact with this email address.

 

-if no, then it creates a contact and continues the zap (in this case no problem)

 

-If yes, then it does not create a Shopify account and it continues the zap: PROBLEM

 

I wish it would UPDATE the contact!!

 

I tried to place an 'update shopify contact' step after the 'find and create shopify contact' step. But it doesn't work because it doesn't find the ID. Maybe I didn't find the right ID.

 

I then tried to set a delay of one minute thinking that as the contact had not yet been created then the ID would not come up. But that didn't work either

 

I do not know how to do

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

16 replies

Userlevel 7
Badge +14

Hi @HugoH 

For us to have full context, we would need to see detailed screenshots with how your Zap steps are outlined and configured, thanks.

The first image shows a zap which will only check that the email which responds to the Typeform form exists Yes or No on Shopify:

If yes, then it doesn't matter (that's the problem: I would like it to update the contact with the new information obtained in the form)

If not, then it creates a new contact with all the information obtained in the form (no problem there).

The ideal would have been "search for Shopify contact, if exists then will update existing contact, if does not exist then create new contact" ! But this option does not exist! so I tried to create that on the second photo at the bottom, But it bugs

 

I tried to add a “update a Shopify contact” (photo 2, left) step but it doesn’t work correctly.

For contacts that were created in the previous step “Find customer” this causes a bug (I’ll provide you with the screenshot). On the other hand, it works when the contact is already created. Its data is updated.

The bug comes from "Customer": (photo 2, right), I don't know what I should put as Shopify data

 

 

 

Userlevel 7
Badge +14

@HugoH 

Map the Customer ID from Step 2.

The Customer field expects a numeric Customer ID as indicated by the 123 icon.

Help: https://help.zapier.com/hc/en-us/articles/8496241696141-Add-custom-values-to-dropdown-menu-fields-in-Zaps#01H7FR09FBEAKK4ZZP678QDE9T

 

@Troy Tessalone 

I already tried !

When I do a test by filling in the form with a non-existent contact on Shopify it creates the contact but it gives me this error. (view the photo)


IF I redo a form 5 minutes later, with this same email address (already existing contact), it updates the contact and it doesn't give me an error, so it's ok!

If I come to this forum it is to understand why it gives me this error and how can I get around it.

 

Userlevel 7
Badge +14

@HugoH 

It could be that when the Zap Ran it did NOT find a Customer in Step 2, thus why no Customer ID was provided in Step 3.

Try changing the Step 2 logic to be find else create Customer. (use the checkbox at the bottom of the step to create if not found)

That way a Customer ID will always be returned from Step 2.

 

 

@Troy Tessalone 

Where do you find FIND or CREATE CUSTOMER?

Thank you very much for helping me

 

Userlevel 7
Badge +14

@HugoH 

Check the event description.

 

@Troy Tessalone 

 

I already use this step. Look at my photos in previous posts. The error is still present

Userlevel 7
Badge +14

@HugoH 

Do you have Step 2 configured to create a new contact if not found? (checkbox at bottom of the step 2 configuration)

Yes but the bug is still present

 

I will explain it to you again in detail:

When I do a test by filling in the form with a non-existent contact on Shopify it creates the contact but it gives me this error. (view the photo)


IF I redo a form 5 minutes later, with this same email address (already existing contact), it updates the contact and it doesn't give me an error, so it's ok!

 

 

 

Userlevel 7
Badge +14

@HugoH 

Perhaps try adding a Delay (For) step between the Shopify steps: https://zapier.com/apps/delay/help

@Troy Tessalone 

1st photo:
I fill out the form with new contact = bug present step 4 but contact created on Shopify

 

 

2nd photo:
I then fill out the form with the previous contact = OK and contact updated on Shopify


Conclusion : The problem persists despite the Delay. I need to find a solution (for situation picture 1) because even if it works (contact creation then bug), the zap does not continue and does not reach the next steps

 

 

Userlevel 7
Badge +14

@HugoH 

Options:

  • You can try opening a ticket with Zapier Support
  • You can try hiring a Certified Zapier Expert:
  • You can try using an advanced approach for the Shopify API via one of these actions:
    • Custom Action
    • API Request

 

It's incredible ! Even Zapier customer service couldn't resolve my issue....

Ideally, this zap should exist but for Shopify…

 

I'm new to Zapier, I don't know how to create Zap APIs... and I absolutely don't have the means to call on a specialist even if I would like...

@Troy Tessalone 

Userlevel 7
Badge +14

@HugoH

These are your available options:

  • You can try using an advanced approach for the Shopify API via one of these actions:
    • Custom Action
      • Did you try using the AI to help you?
    • API Request
  • Try asking ChatGPT
  • You can try hiring a Certified Zapier Expert: https://zapier.com/experts