Learn how to set up a webhook inside WooCommerce using Pabbly Connect to capture new order details and integrate with Google Sheets. Transform complex automation concepts into accessible, actionable steps that eliminate unnecessary manual work while maximizing existing application capabilities.

Watch Step By Step Video Tutorial Below


Setting Up Webhook in WooCommerce with Pabbly Connect

To set up a webhook inside WooCommerce, start by accessing Pabbly Connect. This platform allows you to connect various applications seamlessly. In this tutorial, we will capture new order details from WooCommerce using a webhook that Pabbly Connect generates.

First, navigate to your Pabbly Connect dashboard and create a new workflow. Choose WooCommerce as your trigger application and select the trigger event as ‘New Order Created.’ This event will activate whenever a new order is placed in your WooCommerce store.


Copying the Webhook URL from Pabbly Connect

After selecting the trigger event, Pabbly Connect will provide you with a webhook URL. This URL acts as a bridge between WooCommerce and Pabbly Connect. You will need to copy this URL for the next steps.

Now, head to your WooCommerce settings within your WordPress dashboard. Navigate to the WooCommerce plugin, go to settings, and select the Advanced tab. Under this tab, find the Webhooks option where you can add a new webhook.


Configuring Webhook Settings in WooCommerce

In the webhook settings of WooCommerce, you will need to fill out several fields to ensure proper integration with Pabbly Connect. Start by naming your webhook, for example, ‘Pabbly Connect Webhook.’ Set the status to Active to enable the webhook.

Next, select the topic for the webhook. Choose ‘Order Created’ as the event that will trigger the webhook. Finally, paste the webhook URL you copied from Pabbly Connect into the Delivery URL field. After completing these steps, click on ‘Save Webhook’ to finalize the configuration.


Testing the Webhook with a New Order

To verify that the webhook is working correctly, you will need to place a test order on your WooCommerce store. Go to your store’s front end, select a product, and proceed to checkout. After successfully placing the order, you should see a confirmation message.

Return to Pabbly Connect to check if the order details have been captured. You can do this by clicking on ‘Recapture Webhook Response.’ If the details are successfully displayed, it means the webhook integration is functioning as intended.


Integrating WooCommerce with Google Sheets via Pabbly Connect

Now that the webhook is set up and tested, you can integrate the captured order details into Google Sheets using Pabbly Connect. In your Pabbly Connect workflow, add a new action step and select Google Sheets as your action application.

Choose the action event as ‘Add a New Row’ to insert the order details into your Google Sheet. Connect your Google account and select the appropriate spreadsheet where the order details should be saved. You will need to map the order information from the WooCommerce response to the corresponding columns in your Google Sheet.

  • Map the order key, date and time, customer name, email, phone number, address, product name, quantity, and amount.

After mapping the fields, click on ‘Save and Send Test Request’ to ensure that the data is correctly added to your Google Sheet. If successful, you will see the new order details appear in your specified Google Sheet.


Conclusion

In this tutorial, we demonstrated how to set up a webhook inside WooCommerce using Pabbly Connect. By following these steps, you can easily capture new order details and integrate them with Google Sheets for better order management.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.