📝 Overview
The loop command in Yoom lets you automate tasks for multiple retrieved values.
This is useful for:
✔️ transferring multiple records between apps
✔️ processing multiple files in a single operation
✔️ extracting and handling multiple pieces of data efficiently
In this guide, we will show you how to set up multiple loop processes within a single operation.
👉 If you're new to Loop Command, check out these guides first!
↩️ How to Use the “Loop” Function in Yoom - View Guide
How to retrieve more than 10 rows in Google Sheets - View Guide
🚀 Example: Extracting & Adding OCR-Scanned Records to Google Sheets
This example explains how to:
1️⃣ Read text from an invoice using OCR
2️⃣ Extract multiple product details
3️⃣ Loop through each product
4️⃣ Add them to Google Sheets as separate records
🔹 Note: This example assumes an email trigger is set up. If needed, refer to:
⬇️ This is the invoice file we will use for this example.
Step 1: Extract Text from an Invoice (OCR)
Select OCR > Read Invoice as an action.
Attach the invoice file.
Specify the fields you want to extract (e.g., product name, amount).
Run a test to verify the extracted data.
🔹 Tip:
The extracted values (e.g., product names) are stored as comma-separated lists.
Step 2: Configure Loop Actions
Add "Loop Command".
Set up the necessary actions inside the loop.
Set the loop target as the extracted product name.
Step 3: Add Data to Google Sheets
Choose Google Sheets > Set "Add a Record" as the action.
Select the spreadsheet & range (e.g., A1:G
).
Map the extracted values to the corresponding columns.
The extracted invoice details are automatically added to Google Sheets.
✅ No manual copying or reformatting needed.
✅ Can be used for bulk data entry, financial records, or reports.
🚀 With this setup, you can fully automate invoice processing!
📚 Related Guides
↩️ How to Use the “Loop” Function in Yoom - View Guide
How to retrieve more than 10 rows in Google Sheets - View Guide
Related Keywords
Related Keywords
Yoom, Loop Command, Repeat Action, Multiple Records, Automation, Bulk Processing, Workflow