... changes to the data. This where transactions are useful. We can run the queries, then check if some
conditions are met before committing the
changes in the data:
$mysqli->begin_transaction();
$mysqli->query ...
... _
if(!isNull(v_Template.get("templates").get("actions")))
{
// get the actions
l_Actions = v_Template.get("templates").get("actions").toList();
for each m_Action in l_Actions
{
if(m_Action.get("action_type") ...
... = l_LoopInner.toList();
// 3 actions so far
//
for each index v_Iteration in l_Loop
{
info v_Iteration;
}
// yields an incremental count from 0 to 4997
But the following counts as 1 statement ...
... */
//
// set your own REST API endpoints for the webhooks here (we are only checking order update or inventory level update)
v_CrmOrderUpdateWebhook = "https://www.zohoapis.com/crm/v2/functions/fn_shopify_webhook_orderupdate/actions/execute?auth_type=apikey&zapikey=1003.aaaabbbbccccddddeeeeffff00001111.22223333444455556666777788889999";
v_CrmInventoryLevelWebhook ...
... "Tickets" under "Module"
for the Rule Name, I called mine "Tickets - On Create or Edit"
Execute On: Create, Edit, Customer Reply
No Criteria
Under 4. Actions, I click on "All Actions" and select "Custom ...
... I've called it "zcrm".
Standard Call for Module Record Count:
v_PerPage = 200;
v_Endpoint = "https://www.zohoapis.com/crm/v5/Quotes/actions/count";
r_MaximumCount = invokeurl
[
url :v_Endpoint
type ...
... the "Lead Conversion Mapping" page, mapping it, and then testing by converting a lead to a deal.
Actions
Login to ZohoCRM > Setup > Modules and Fields
Click on the "Deals" module (or whichever module ...
What?
Following on from my article: ZohoCRM: Get All eBay Active Listings, this is how to get all the orders from a client's eBay.
Why?
Our use-case is a data migration from eBay to a fresh instance ...
... on "Deploy to Production"
Select what actions to deploy (the "Ask ChatGPT") and then click on "Deploy"
All done? Now Test!
Login/Reload ZohoCRM
Click on "Ask Zia"
Type the "Ask ChatGPT" ...
... of field "Deal_Ref" from the ZohoSign Document Request
v_DealRef = "";
if(!isnull(r_RequestDetails.get("requests")))
{
if(!isnull(r_RequestDetails.get("requests").get("actions")))
{
l_Actions ...
... when Status is "Paid"
Just once or every time is "Everytime"
Actions is a custom function called "fn_invoice_updatepaymentmethod"
But this wouldn't work despite being as per the documentation (see ...
... Another REST API CRM function which generates an eBay Access Token for me
r_Response = getUrl("https://www.zohoapis.eu/crm/v2/functions/fn_ebay_getaccesstoken/actions/execute?auth_type=apikey&zapikey=1003.");
if(!isnull(r_Response.toMap().get("details")))
{
if(!isnull(r_Response.toMap().get("details").get("output")))
{
v_AccessToke ...
... XML of a GetItemTransactions request to eBay.
How?
You'll need an access token for eBay which I documented on how you can generate one in my article: Zoho Creator: Push to eBay Listings. Then you ...
What?
This is an article documenting how to parse the notification from eBay and using it to create an order in Shopify.
Why?
Previously, we would receive an eBay notification and create an ...
... m_Record.toString();
}
Without a regex solution and the replacement back to commas then the above outputs:
Actions
Do you want to get rid of the annoying escaped double-quotes ...
... + v_LineItemTotalVat;
v_Total = v_Total + v_LineItemTotal;
}
//
// other actions you want to do after all quotes looped through
//
}
Save your function and click on "Done" ...
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.