Learn how to effectively use Pabbly Connect’s Iterator module to fetch all products from a single WooCommerce order and store them in Google Sheets. Eliminate manual repetitive tasks from your workflow. Discover proven automation methods with intuitive steps designed for efficiency-minded professionals.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for WooCommerce Integration

To begin using Pabbly Connect, first log into your account. This platform allows seamless integration with WooCommerce, enabling you to automate workflows effectively.

Once logged in, navigate to the dashboard where you can create a new workflow. Select WooCommerce as your trigger application to start fetching order details.


2. Setting Up WooCommerce Webhook in Pabbly Connect

In this step, we will set up a webhook in WooCommerce to send order data to Pabbly Connect. Go to your WooCommerce settings and navigate to the Advanced tab, then click on Webhooks.

  • Create a new webhook with the delivery URL provided by Pabbly Connect.
  • Set the topic to ‘Order Created’ for real-time updates.

Once the webhook is set up, it will automatically send order details to Pabbly Connect whenever a new order is created.


3. Fetching Order Details Using Pabbly Connect

After setting up the webhook, return to Pabbly Connect and create a trigger to receive the WooCommerce order data. Choose the trigger event as ‘New Order Created’.

Upon receiving the webhook response, Pabbly Connect will display all order details, including line items, which contain the products purchased in that order.


4. Using the Iterator Module to Process Line Items

The Iterator module in Pabbly Connect allows you to process each product in the order individually. Click the plus button to add the Iterator module and select the line items from the previous step.

  • This will enable you to loop through each product and extract necessary details.
  • You can then map fields such as product name, ID, quantity, and total amount.

By using the Iterator module, Pabbly Connect simplifies the process of managing multiple products within a single order.


5. Storing Data in Google Sheets via Pabbly Connect

Now that you have processed the line items, the next step is to store this data in Google Sheets. In Pabbly Connect, choose Google Sheets as your action application.

Set the action to ‘Append Values’ and select the appropriate spreadsheet where you want to save the order details. Map the fields accordingly to include order ID, product name, product ID, quantity, and amount.


Conclusion

In this tutorial, we explored how to use Pabbly Connect to fetch all products from a single WooCommerce order using the Iterator module. This process not only automates the workflow but also enhances data management efficiency.

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