How to handle 10–12 products in a single QuickBooks invoice?
Status: Open · Asked by Md mustafa Raja on · 0 views
Hello,
Thanks for reaching out to Pabbly Support!
For splitting a QuickBooks invoice that contains a variable number of line items (1, 5, 10, 12+) into separate Google Sheets rows, the recommended approach in Pabbly Connect is to capture the full line-item array and then use the Iterator to process each item one at a time.
The general pattern is:
1. Trigger: QuickBooks Online (new/updated invoice).
2. Capture the full (advance) response so the complete line-item array is available, rather than a simplified response where items appear as separate fields.
3. Add an Iterator step and point it at the line-item array. The Iterator processes each line item separately.
4. Add a Google Sheets: Add Row action after the Iterator and map the per-item fields (product name, quantity, line-item details) along with the shared invoice-level fields (invoice number, customer name, WhatsApp number). Because this runs once per iterated item, each product is written as its own row.
So the correct tool here is the Iterator (not Code by Pabbly or Loop) for expanding the line items into individual rows.
Thanks & Regards,
Adeel Akhtar
🌐 Pabbly.com