Question

How do I automate WooCommerce order status change based on Typeform email?


I'm trying to set up an automation that allows me to change the status of an order on WooCommerce using an email address obtained from a Typeform.
I've created the first step, of course, by setting up a completed Typeform.
For the second step, I was thinking of using "find order in WooCommerce" to search for the relevant order based on the email I have among the Typeform responses.
Unfortunately, I can't figure out how to do it...
Then the last step would be to "update order" to change the status.
I'm missing the step of finding the correct order.
How can I do it?
Thanks’ so much!


6 replies

Userlevel 7
Badge +14

Hi @Enrico_emme 

To help us have more context, post screenshots with how your Zap steps are outlined and configured in EDIT mode.

Userlevel 6
Badge +6

Hey @Enrico_emme ,

 

You will have to use Webhooks by Zapier and making API call to below API.

 

 

However searching for an order by email is not a good solution. They can have multiple orders in a day and ii can get difficult which order to update. Can you ask for order id on Typeform to your customer? User this order id to search and update order. 

Thank’s so much @jayeshkumarbhatia!

I sell high-priced courses, so it's rare to have a customer who purchases multiple times in the same day…

I've never used webhooks before, time is arrived! ;)
Can you please help me with some details?

Userlevel 1

Hi @Enrico_emme ,

 

Have you looked at the official documentation for the integration? You can find it here: https://docs.om4.io/woocommerce-zapier/

 

It contains detailed descriptions for every trigger and action and the available fields. For example, you can see the Find Order action fields with descriptions here: https://docs.om4.io/woocommerce-zapier/resources/order/#search-input-fields. You need to use the Customer field, which expects a Customer ID. To obtain that, you need to convert the email to the Customer ID first, which you can do with the Find Customer step. So the full zap would look something like this:

 

- Trigger from Typeform

- "Find Customer" to access ID from email address

- "Find Order" based on the Customer ID

- "Update Order" to make your desired changes.

 

If you encounter any issues during the process, you can always reach out to us on our official support channel here: https://docs.om4.io/woocommerce-zapier/support/

 

Best

Thank’s @om4csaba for your answer.
I tried to follow your instructions, but it gets stuck at the second step "find customer" with the error "Nothing could be found for the search."
What could be causing this?

Userlevel 1

Hi @Enrico_emme 

Are you able to find the customer in the WooCommerce dashboard using that email? If not, the customer may not exist, and the 'not found' message is legitimate. If you can locate them, it's probably a sign of some underlying problem. To effectively help you out, I suggest you reach out to us at https://docs.om4.io/woocommerce-zapier/support/. That way, we can delve into more details. This support is included in your licence.

Reply