Updating field in zoho crm when document is completed in zoho sign
Hello
I want to update date in zoho crm, deals module when document is signed by my client via zoho sign.
I'm using webhook for this, but this is first time I'm using webhook's.
So the problem is I don't have idea how my deluge function should look to make it work.
Here is my current code:
- email = crmAPIRequest.get("recipient_email");
- deal = zoho.crm.searchRecords("deals","Email" = email);
- id = deal.get("id");
- date = today;
- zoho.crm.updateRecord("Deals",id,{"Data_podpisania":date.toLong()});
- return crmAPIRequest;