We want to connect WooCommerce with Zapier. We need to add a customer to our community (third-party) when s/he makes a purchase.
We have used WooCommerce webhook which gives us customer details when a purchase is made. We use “Webhook by Zapier” to catch the data. But the problem is that the WooCommerce webhook doesn’t provide customer email, and we can’t add customer to our community without email.
Now, to get the customer details including email, we need to use WooCommerce’s REST APIs. Is there a way to call the REST APIs in Zap that we create?
Thanks in advance.
Best answer by SamB
Hey all! Just following up here to add some further details for anyone also looking to get the customer email address associated with a WooCommerce order.
You can find out more about using Webhooks by Zapier actions here: Send webhooks in Zaps
Also, I wanted to note that the latest version of the WooCommerce integration has an Order trigger and Find Customer search action which could also be used to see customer details like their email address without the need to set up any webhook actions.
For example, you can see customer information like their email address in the billing details section:
Hi @thinker500 - Yes, you can add a Webhooks by Zapier step to send a GET request to fetch the customer by ID if the webhook data you’re receiving from WooCommerce contains the customer ID.
Hey all! Just following up here to add some further details for anyone also looking to get the customer email address associated with a WooCommerce order.
You can find out more about using Webhooks by Zapier actions here: Send webhooks in Zaps
Also, I wanted to note that the latest version of the WooCommerce integration has an Order trigger and Find Customer search action which could also be used to see customer details like their email address without the need to set up any webhook actions.
For example, you can see customer information like their email address in the billing details section: