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
Best answer by SamBBest answer by SamB
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:
Please add a 'Delay' step in your Zap after the Find Customer step and set the delay to 2 minutes.
Then, add an 'Update Customer' step. Then, Publish the zap.
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.
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
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.
“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!
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
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:
Please add a 'Delay' step in your Zap after the Find Customer step and set the delay to 2 minutes.
Then, add an 'Update Customer' step. Then, Publish the zap.
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.