Hi, i am trying update run 2 automations in sequence, one trigger another one, but its not working.
Using workflow i did 2 automations:
Automation 1
When task completes i change deal stage field to "Sold"
Its working, its moving card inside pipeline
Automation 2
When deal Stage field is changed, it send whatsapp message command..
its not working.. Trigger not detect that field was edited by first automation
If i change manually, moving stage by interface, it trigger second automation, if it move by first automation, it inst triggering second automation..
I also tried use function to do it, instead use updatefield action in workflow, to see if it would trigger. But not worked. Its changing field, but second automation not work.
This was function code that i used:
taskInfo = zoho.crm.getRecordById("Tasks",taskId);
dealId = taskInfo.get("What_Id").get("id");
mapUpdate = Map();
mapUpdate.put("Stage","Não respondeu");
response = zoho.crm.updateRecord("Deals",dealId,mapUpdate);
info response;