... from ZohoProjects.
How?
The bit that stumped me was making a call to the Events endpoint as it would just come back with a blank response...
The reason it was blank was due to my parameters; ...
... = Map();
m_Params.put("responseFormat","json");
// note how criteria column is denoted by double-quotes and a value is by single-quotes.
m_Params.put("criteria","\"SO ID\"='" + v_SalesOrderID + "'");
m_Config ...
... create the task in CRM
r_NewResp = zoho.crm.createRecord("Tasks",m_NewTask, m_Blank, "systemcrm");
//
// output response of task creation from CRM
info r_NewResp;
Step 2: Setup workflow to escalate ...
... - Order Update
Trigger: Function executed when a webhook from Shopify is sent to ZohoCRM (Order Update)
Inputs: String crmAPIRequest
Outputs: String crmAPIResponse
Date Created: ...
... "------------";
// info "Send Invoice Request:";
// info m_Params;
// info v_Endpoint;
// info "Send Invoice Response:";
info r_SendInvoice;
}
//
// no ...
... :v_ImageToDownload
type :GET
];
//
// upload file to workdrive
r_WorkdriveUpload = zoho.workdrive.uploadFile(f_File,v_TargetFolder,v_FileName,true,"zworkdrive");
info "Workdrive response:";
info ...
... is (Company:equals:ABC), the response will contain records with ABC as well as ABC Inc in their Company fields.
When you use "equals" with a single condition and search for a field (mentioned in point ...
... e = zoho.books.updateRecord("estimates",v_BooksOrgID,v_BooksEstimateID,m_CreateEstimate,"zbooks");
}
info "ZohoBooks Estimate REQUEST: ";
info m_CreateEstimate;
info "ZohoBooks Estimate RESPONSE: ";
in ...
... "ITEM CREATE RESPONSE FOR " + v_ItemID;
info r_CreateItem.get("message");
Error(s) Encountered
items with opening stock cannot be deleted, set the opening stock to zero: Guess who's going to hav ...
... each index v_Increment in l_AddPages
{
l_Pages.add(v_Increment + 1);
}
v_TotalNumberOfPages = l_Pages.size();
//
// declare variables to store order details in a JSON or ZohoDeluge Map format
m_Response ...
...
There are several steps, so first we will set up the ZIA action "Ask ChatGPT" using the GUI, then we will capture the question using Deluge code and query the OpenAI ChatGPT API to return a response. ...
... in a JSON or ZohoDeluge Map format
m_Response = Map();
l_JsonProducts = List();
//
// start preparing CSV file to email for export
v_ReportCSV = "ItemID,ItemName,Price,CurrencyCode,QuantityAvailable,SKU,DateCreated";
l_CsvFileRows ...
... response or response of info: try holding down the ALT key and pressing 255, then releasing the ALT key and save the change to your code. This will not display a character but is a new line...
Used ...
... as a string
x_ResponseBody = invokeurl
[
url :v_Endpoint
type :POST
parameters:x_Params
headers:m_Headers
];
Parsing the response into JSON or a Deluge Map
This can be appended to the ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.