Replicate Zoho Sign UI in Deluge script

Replicate Zoho Sign UI in Deluge script

I'm trying to write a Deluge function for sending document sign link via SMS


With my current deluge script, I can get the sing link delivered by email, no SMS
  1. info zoho.currenttime.addHour(17);
  2. deal = zoho.crm.getRecordById("Deals",id);
  3. account = zoho.crm.getRecordById("Accounts",deal.get("Account_Name").get("id"));
  4. contact = zoho.crm.getRecordById("Contacts",deal.get("Contact_Name").get("id"));
  5. documentid = "9ovp116285db24942421486c5f3db4f382077";
  6. url = "https://zohoapis.com/writer/api/v1/documents/" + documentid + "/merge/sign";
  7. // change to data merge sign
  8. fields = Map();
  9. fields.put("Account_Name.Account_Name",account.get("Account_Name"));
  10. fields.put("Account_Name.ACN",account.get("ACN"));
  11. fields.put("Account_Name.Billing_Street",account.get("Billing_Street"));
  12. fields.put("Account_Name.Billing_Street_2",account.get("Billing_Street_2"));
  13. fields.put("Account_Name.Billing_City",account.get("Billing_City"));
  14. fields.put("Account_Name.Billing_State",account.get("Billing_State"));
  15. fields.put("Account_Name.Billing_Code",account.get("Billing_Code"));
  16. fields.put("Account_Name.ABN",account.get("ABN"));
  17. fields.put("Account_Name.Trading_Name",account.get("Trading_Name"));
  18. fields.put("Account_Name.Trustee_Name",account.get("Trustee_Name"));
  19. fields.put("Director_1_Name",deal.get("Director_1_Name"));
  20. fields.put("Currency_Code",deal.get("Currency_Code"));
  21. fields.put("Amount",deal.get("Amount"));
  22. data = Map();
  23. data.put("data",fields);
  24. params = Map();
  25. signerList = List();
  26. signerObj1 = Map();
  27. signerObj1.put("recipient_1","vit@lend.com.au");
  28. signerObj1.put("action_type","sign");

  29. signerObj1.put("recipient1_countrycode","+61");
  30. signerObj1.put("recipient1_phonenumber","123456789");
  31. signerObj1.put("language","en");
  32. signerList.add(signerObj1);
  33. params.put("signer_data",signerList);
  34. params.put("merge_data",data);
  35. params.put("service_name","zohosign");
  36. params.put("filename","Account Terms - " + deal.get("App_ID") + " - " + account.get("Account_Name"));
  37. documentObj = invokeurl
  38. [
  39. url :url
  40. type :POST
  41. parameters:params
  42. connection:"newzohosignconn"
  43. ];
  44. info "documentObj :";
  45. info documentObj;

There is no even an option like in UI "Email" or "Email+SMS", I don't know if that is even possible in the Deluge script. The documentation doesn't explain anything 
Please, advise.

    Access your files securely from anywhere







                            Zoho Developer Community




                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                  • Ask the Experts



                                                            • Sticky Posts

                                                            • Free webinar! Build smarter apps with Zoho Sign and Zoho Creator

                                                              Hello, Bring the power of digital signatures to the apps you build in Zoho Creator! Connect Zoho Sign as a microservice and enable seamless e-signature workflows in your applications. This integration allows you to automate signing tasks using Deluge.


                                                            Manage your brands on social media



                                                                  Zoho TeamInbox Resources



                                                                      Zoho CRM Plus Resources

                                                                        Zoho Books Resources


                                                                          Zoho Subscriptions Resources

                                                                            Zoho Projects Resources


                                                                              Zoho Sprints Resources


                                                                                Qntrl Resources


                                                                                  Zoho Creator Resources



                                                                                      Zoho CRM Resources

                                                                                      • CRM Community Learning Series

                                                                                        CRM Community Learning Series


                                                                                      • Kaizen

                                                                                        Kaizen

                                                                                      • Functions

                                                                                        Functions

                                                                                      • Meetups

                                                                                        Meetups

                                                                                      • Kbase

                                                                                        Kbase

                                                                                      • Resources

                                                                                        Resources

                                                                                      • Digest

                                                                                        Digest

                                                                                      • CRM Marketplace

                                                                                        CRM Marketplace

                                                                                      • MVP Corner

                                                                                        MVP Corner









                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now


                                                                                            Zoho Show Resources

                                                                                              Zoho Writer

                                                                                              Get Started. Write Away!

                                                                                              Writer is a powerful online word processor, designed for collaborative work.

                                                                                                Zoho CRM コンテンツ



                                                                                                  Nederlandse Hulpbronnen


                                                                                                      ご検討中の方