Hi everyone,
I’m trying to create QuickBooks Estimates from Zoho CRM Quotes using Zoho Flow.
I’m aware that Zoho Flow’s native “Create Estimate” action does not support multiple line items, so I followed the community guidance for Invoices using a custom function + invokeurl approach and attempted to adapt it for Estimates.(https://help.zoho.com/portal/en/community/topic/zoho-flow-create-quickbooks-invoice#:~:text=In%20the%20QBO%20action%20%22Create,lines%20as%20a%20single%20variable.)
Flow setup:
Sample logic used inside the custom function to build line items:
qblineItems = List();
for each line in crmLines
{
qblineItem = Map();
qblineItem.put(“DetailType”,“SalesItemLineDetail”);
}
Estimate payload sent to QuickBooks:
estimate = Map();
estimate.put(“CustomerRef”, {“value”:”<QBO_CUSTOMER_ID>”});
estimate.put(“Line”, qblineItems);
invokeurl call:
resp = invokeurl
[
url : “https://quickbooks.api.intuit.com/v3/company/<COMPANY_ID>/estimate”
type : POST
parameters : estimate.toString()
headers : {“Content-Type”:“application/json”}
connection : “<QUICKBOOKS_CONNECTION>”
];
Issue:
This suggests Zoho Flow may not be passing CRM subform rows as a list into custom functions, even when the full record is fetched.
Questions:
Any confirmation, guidance, or alternative approaches would be greatly appreciated.
Thanks in advance.