Skip to main content

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

 

@HugoH 

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


Hey @HugoH 

It’s been a while since we’ve heard back from you on this thread but I can see from your ticket with our Support team that you were able to get this solved. I wanted to share the instructions from Support that helped to resolved things here in case it’s useful to others running into a similar issues with Shopify:

Thank you for your reply and for sharing the link to the community post. This gives me a much clearer picture of the situation. I understand you're having trouble with the workaround previously suggested. The workaround Troy suggested is the right way to go here but I understand that you are running into an error doing that. Could you please add those two steps in the zap again:

  1. Please add a 'Delay' step in your Zap after the Find Customer step and set the delay to 2 minutes.
  2. Then, add an 'Update Customer' step. Then, Publish the zap.
  3. After these steps are set, wait for a live run to trigger the Zap.

 
Once this is done, could you please let me know what you see? I have access to the logs and can investigate further if the logs provide more information about the issue.

Hope that’s helpful! 🙂


@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

 


@Troy Tessalone 


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...


@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

 


@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

 

 


@HugoH 

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


“This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.”

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!

 

 

 


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.


@Troy Tessalone 

 

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


@HugoH 

Check the event description.

 


@Troy Tessalone 

Where do you find FIND or CREATE CUSTOMER?

Thank you very much for helping me

 


@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 

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.

 


@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

 


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