Prefill "field_data" on Zoho Sign not populating

Prefill "field_data" on Zoho Sign not populating

I'm trying to prefill some information from CRM Plus into a template using the zoho sign deluge task but for some reason, the data passed into the "field_data" object doesn't prefill the form.

A few notes
  1. I've confirmed that the function is successfully getting the info from CRM and applying it to the object
  2. Some of the returned fields from the CRM are null as they hadn't been entered yet (which is a possible use case, we'd like to prefill the info we have leaving anything we don't have blank)
  3. The field_data object is using field_text_data, field_date_data, field_boolean_data, and field_radio_data to hold the field data
  4. I've confirmed that the field labels provided in the field_data object match the field labels in the template
Code:
  1. PacketID is a function argument which is a zoho record
  2. A wrapper function is used for the zoho crm GetRecordById task which returns null to the parent function upon an error
  3. The standard State field in CRM was replaced with a dropdown for both Accounts and Contacts
  1. //Structure Variable Declarations
  2. response = Map();
  3. params = Map();
  4. data = Map();
  5. templates = Map();
  6. actions = List();
  7. field_data = Map();
  8. field_date_data = Map();
  9. field_boolean_data = Map();
  10. field_text_data = Map();
  11. field_radio_data = Map();

  12. //Get Records from CRM
  13. Packet = standalone.GetRecordById("Application_Packets",PacketID);
  14. if(Packet.isNull())
  15. {
  16. info "Error getting Application Packet";
  17. return null;
  18. }
  19. Participant = standalone.GetRecordById("Client_Company_Relations",Packet.get("Application_Participant").get("id"));
  20. if(Participant.isNull())
  21. {
  22. info "Error getting Application Participant";
  23. return null;
  24. }
  25. Contact = standalone.GetRecordById("Contacts",Packet.get("Client_Contact_Record").get("id"));
  26. if(Contact.isNull())
  27. {
  28. info "Error getting Contact";
  29. return null;
  30. }
  31. Account = standalone.GetRecordById("Accounts",Packet.get("Company_Account_Record").get("id"));
  32. if(Account.isNull())
  33. {
  34. info "Error getting Account";
  35. return null;
  36. }

  37. //Apply TemplateID to response structure
  38. response.put("templateID",<template id>); //template id redacted

  39. //Apply field data to field_data child objects
  40. field_text_data.put("Business Legal Name",Account.get("Account_Name"));
  41. field_text_data.put("Business DBA Name",Account.get("DBA_Name"));
  42. field_date_data.put("Start Date",Account.get("Business_Start_Date").toString("dd MMMM yyyy"));
  43. field_text_data.put("Business Website",Account.get("Website"));
  44. field_text_data.put("Business Address 1",Account.get("Street"));
  45. field_text_data.put("Business Address 2",Account.get("Street_2"));
  46. field_text_data.put("Business City",Account.get("City"));
  47. field_radio_data.put("Business State",Account.get("State"));
  48. field_text_data.put("Business Zip",Account.get("Zip_Code"));
  49. field_text_data.put("Business Phone 1",Account.get("Phone"));
  50. field_text_data.put("Business Phone 2",Account.get("Secondary Phone"));
  51. field_text_data.put("Business Fax",Account.get("Fax"));
  52. field_text_data.put("First Name",Contact.get("First_Name"));
  53. field_text_data.put("Last Name",Contact.get("Last_Name"));
  54. field_radio_data.put("Salutaion",Contact.get("Salutation"));
  55. field_text_data.put("Business Title",Participant.get("Company_Title"));
  56. field_text_data.put("Owner Percent",Participant.get("Ownership_Percent"));
  57. field_date_data.put("DOB",Contact.get("Date_of_Birth").toString("dd MMMM yyyy"));
  58. field_boolean_data.put("Is US Citizen",Contact.get("Is_US_Citizen"));
  59. field_radio_data.put("Preferred Contact Method",Contact.get("Preferred_Contact_Method"));
  60. field_text_data.put("Address 1",Contact.get("Mailing_Street"));
  61. field_text_data.put("Address 2",Contact.get("Mailing_Street_2"));
  62. field_text_data.put("City",Contact.get("Mailing_City"));
  63. field_radio_data.put("State",Contact.get("State"));
  64. field_text_data.put("Zip",Contact.get("Mailing_Zip"));
  65. field_text_data.put("Primary Phone",Contact.get("Primary_Phone"));
  66. field_text_data.put("Secondary Phone",Contact.get("Secondary_Phone"));
  67. field_text_data.put("Fax",Contact.get("Fax"));
  68. field_text_data.put("Client Email",Contact.get("Email"));

  69. //Apply child objects to field_data
  70. field_data.put("field_text_data", field_text_data);
  71. field_data.put("field_boolean_data", field_boolean_data);
  72. field_data.put("field_date_data", field_date_data);
  73. field_data.put("field_radio_data", field_radio_data);

  74. //Create Applicant Signer Action
  75. signerObj1 = Map();
  76. signerObj1.put("recipient_name",Contact.get("First_Name") + " " + Contact.get("Last_Name"));
  77. signerObj1.put("recipient_email",Contact.get("Email"));
  78. signerObj1.put("action_id","383560000000030044");
  79. signerObj1.put("action_type","SIGN");
  80. signerObj1.put("signing_order",1);
  81. signerObj1.put("role","Applicant");
  82. signerObj1.put("verify_recipient",false);
  83. signerObj1.put("private_notes","Kindly confirm and complete all the details in the funding application and accept it by signing.");
  84. actions.add(signerObj1);

  85. //Create Representative Signer Action
  86. signerObj2 = Map();
  87. signerObj2.put("recipient_name",Packet.get("Owner").get("name"));
  88. signerObj2.put("recipient_email",Packet.get("Owner").get("email"));
  89. signerObj2.put("action_id","383560000000030046");
  90. signerObj2.put("action_type","VIEW");
  91. signerObj2.put("signing_order",2);
  92. signerObj2.put("role","Representative");
  93. signerObj2.put("verify_recipient",false);
  94. actions.add(signerObj2);

  95. //Build and return completed Sign Args
  96. templates.put("field_data", field_data);
  97. templates.put("actions",actions);

  98. data.put("templates", templates);

  99. params.put("data",data);
  100. params.put("is_quicksend", true);

  101. response.put("params", params);

  102. return response;
                                                                                                                                                                                                                    These generated parameters are then passed to another deluge function that sends the Sign request (also using PacketID as a function parameter and a wrapper function for zoho's toMap function).
                                                                                                                                                                                                                    1. args = standalone.ToMap(standalone.GetAppOptions(PacketId));
                                                                                                                                                                                                                    2. signResponse = zoho.sign.createUsingTemplate(args.get("templateID"), args.get("params"), "zohosign");

                                                                                                                                                                                                                    3. return signResponse;
                                                                                                                                                                                                                    This successfully sends the sign request to the specified record but it doesn't prefill the data.  Any help would be greatly appreciated!

                                                                                                                                                                                                                      Access your files securely from anywhere







                                                                                                                                                                                                                                              Zoho Developer Community





                                                                                                                                                                                                                                                                    Use cases

                                                                                                                                                                                                                                                                    Make the most of Zoho Desk with the use cases.

                                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                    eBooks

                                                                                                                                                                                                                                                                    Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                    Videos

                                                                                                                                                                                                                                                                    Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                    Webinar

                                                                                                                                                                                                                                                                    Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                    • Desk Community Learning Series


                                                                                                                                                                                                                                                                    • Meetups


                                                                                                                                                                                                                                                                    • Ask the Experts


                                                                                                                                                                                                                                                                    • Kbase


                                                                                                                                                                                                                                                                    • Resources


                                                                                                                                                                                                                                                                    • Glossary


                                                                                                                                                                                                                                                                    • Desk Marketplace


                                                                                                                                                                                                                                                                    • MVP Corner






                                                                                                                                                                                                                                                                              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 Writer

                                                                                                                                                                                                                                                                                                                Get Started. Write Away!

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

                                                                                                                                                                                                                                                                                                                  Zoho CRM コンテンツ








                                                                                                                                                                                                                                                                                                                    Nederlandse Hulpbronnen


                                                                                                                                                                                                                                                                                                                        ご検討中の方




                                                                                                                                                                                                                                                                                                                              • Recent Topics

                                                                                                                                                                                                                                                                                                                              • Clearing Fields using MACROS?

                                                                                                                                                                                                                                                                                                                                How would I go about clearing a follow-up field date from my deals? Currently I cannot set the new value as an empty box.
                                                                                                                                                                                                                                                                                                                              • Bigin: filter Contacts by Company fields

                                                                                                                                                                                                                                                                                                                                Hello, I was wondering if there's a way to filter the contacts based on a field belonging to their company. I.e.: - filter contacts by Company Annual Revenue field - filter contacts by Company Employee No. field In case this is not possibile, what workaround
                                                                                                                                                                                                                                                                                                                              • Sending emails from an outlook account

                                                                                                                                                                                                                                                                                                                                Hi, I need to know if it's possible to send automatic emails from an Outlook account configured in Zoho CRM and, if so, how I can accomplish that. To give you some context, I set up a domain and created a function that generates PDF files to be sent later
                                                                                                                                                                                                                                                                                                                              • Migrating a Zoho Forms form into Zoho Creator

                                                                                                                                                                                                                                                                                                                                Hi, How can I migrate my Zoho Forms form into Zoho Creator? Thanks. Truly, Emad
                                                                                                                                                                                                                                                                                                                              • Is there any way to recall an email sent using Zoho CRM?

                                                                                                                                                                                                                                                                                                                                If an email is sent using Zoho Mail, there is a recall option/functionality that is available to the sender. Is there any way to recall an email if it was sent using Zoho CRM? I can't seem to find that option. Any help would be appreciated.
                                                                                                                                                                                                                                                                                                                              • How to refresh a ticket view ?

                                                                                                                                                                                                                                                                                                                                I am doing a widget where I send a rest api call to make a new draft to the ticket I am viewing. The issue is sometimes it refresh a ticket view and I can see inserted draft right away, but sometimes I do not see it even if it is inserted correctly and
                                                                                                                                                                                                                                                                                                                              • Quick Create needs Client Script support

                                                                                                                                                                                                                                                                                                                                As per the title. We need client scripts to apply at a Quick Create level. We enforce logic on the form to ensure data quality, automate field values, etc. However, all this is lost when a user attempts a "Quick Create". It is disappointing because, from
                                                                                                                                                                                                                                                                                                                              • is it possible to add more than one Whatsapp Phone Number to be integrated to Zoho CRM?

                                                                                                                                                                                                                                                                                                                                so I have successfully added one Whatsapp number like this from this User Interface it seems I can't add a new Whatsapp Number. I need to add a new Whatsapp Number so I can control the lead assignment if a chat sent to Whatsapp Phone Number 1 then assign
                                                                                                                                                                                                                                                                                                                              • Problem with reports due to "Connected" items change - Yes this IS a problem

                                                                                                                                                                                                                                                                                                                                Now that the change has been made to use "connected" items I can no longer run the reporting I need in CRM. I should be able to start with Deals as the parent, connect down to the Account (Account_Name) on the deal as the child, then to any child items
                                                                                                                                                                                                                                                                                                                              • Zoho sheet desktop version

                                                                                                                                                                                                                                                                                                                                Hi Zoho team Where can I access desktop version of zoho sheets? It is important as web version is slow and requires one to be online all the time to do even basic work. If it is available, please guide me to the same.
                                                                                                                                                                                                                                                                                                                              • Introducing notifications in the vendor portal

                                                                                                                                                                                                                                                                                                                                Imagine this: You're a recruiter working with multiple vendors on a high-volume hiring project. You’ve just updated a job description after a last-minute change from the hiring manager. One of your vendors, however, is still working off the older version
                                                                                                                                                                                                                                                                                                                              • CRM limit reached: only 2 subforms can be created

                                                                                                                                                                                                                                                                                                                                we recently stumbled upon a limit of 2 subforms per module. while we found a workaround on this occasion, only 2 subforms can be quite limiting in an enterprise setting. @Ishwarya SG I've read about imminent increase of other components (e.
                                                                                                                                                                                                                                                                                                                              • LESS_THAN_MIN_OCCURANCE - code 2945

                                                                                                                                                                                                                                                                                                                                Hi I'm trying to post a customer record to creator API and getting this error message. So cryptic. Can someone please help? Thanks Varun
                                                                                                                                                                                                                                                                                                                              • How to update "Lead Status" to more than 100 records

                                                                                                                                                                                                                                                                                                                                Hello Zoho CRM, How do I update "Lead Status" to more than 100 records at once? To give you a background, these leads were uploaded or Imported at once but the lead status record was incorrectly chosen. So since there was a way to quickly add records in the system no matter how many they are, we are also wondering if there is a quicker way to update these records to the correct "Lead Status". I hope our concern makes sense and that there will be a fix for it. All the best, Jonathan
                                                                                                                                                                                                                                                                                                                              • Analytics for notes created

                                                                                                                                                                                                                                                                                                                                Is there a way I can see how many notes were created per day? Via reporting or analytics?
                                                                                                                                                                                                                                                                                                                              • Add Custom Reports To Dashboard or Home Tab

                                                                                                                                                                                                                                                                                                                                Hi there, I think it would be great to be able to add our custom reports to the Home Tab or Dashboards. Thanks! Chad
                                                                                                                                                                                                                                                                                                                              • Cannot update Recurring_Activity on Tasks – RRULE not accepted

                                                                                                                                                                                                                                                                                                                                Hello, I am trying to update Tasks in Zoho CRM to make them recurring yearly, but I cannot find the correct recurrence pattern or way to update the Recurring_Activity field via API or Deluge. I have tried: Sending a string like "RRULE:FREQ=YEARLY;INTERVAL=1"
                                                                                                                                                                                                                                                                                                                              • Add image to report...

                                                                                                                                                                                                                                                                                                                                Greetings, I send a weekly color coded report via Creator email. I would like to add the legend somewhere in the report. Header, footer where ever. I have the legend saved on Google Drive and can access it via shared link. Sure someone has wanted to add
                                                                                                                                                                                                                                                                                                                              • More controls for User Fields in CRM

                                                                                                                                                                                                                                                                                                                                Dear All, We are here with a minor but crucial enhancement to the user fields—now set accessibility permissions to the records for user field. User field allows you to extend co-ownership of records to your peers. You can collaborate with them for certain
                                                                                                                                                                                                                                                                                                                              • Calls to accounts rather than leads or contacts?

                                                                                                                                                                                                                                                                                                                                So..... We have a dilemma and I'm hoping someone has encountered this before and figured out a fix. We have just migrated to Zoho. It's great.....expect for how "Calls" are handled.... We are B2B. We do not use the leads module. A "Lead/Prospect" for
                                                                                                                                                                                                                                                                                                                              • Image Upload Field | Zoho Canvas

                                                                                                                                                                                                                                                                                                                                I'm working on making a custom view for one of our team's modules. It's an image upload field (Placement Photo) that would allow our sales reps to upload a picture of the house their working on. However, I don't see that field as a opinion when building
                                                                                                                                                                                                                                                                                                                              • Power of Automation :: Automated 'Delayed & Closed' Status Update Based on Due Date

                                                                                                                                                                                                                                                                                                                                Hello Everyone, A custom function is a software code that can be used to automate a process and this allows you to automate a notification, call a webhook, or perform logic immediately after a workflow rule is triggered. This feature helps to automate
                                                                                                                                                                                                                                                                                                                              • Lead Blueprint transition in custom list view

                                                                                                                                                                                                                                                                                                                                Hi, Is It possible to insert the Blueprint transition label in a custom Canvas list view? I am using Lead module. I see the status, but it would be great if our users could execute the Blueprint right from the list view without having to enter the detailed
                                                                                                                                                                                                                                                                                                                              • Range names in Zoho Sheet are BROKEN!

                                                                                                                                                                                                                                                                                                                                Hi - you've pushed an update that has broken range names. A previously working spreadsheet now returns errors because the range names are not updating the values correctly. I've shared a video with the support desk to illustrate the problem. This spreadsheet
                                                                                                                                                                                                                                                                                                                              • Can Zoho Flows repeat Actions more than once?

                                                                                                                                                                                                                                                                                                                                I'm attempting to make an intentional Zoho Flow loop using the below layout. However, when "WithinLimit" condition is met, the program fails to execute the action "Get & Add Request Co..." again. Is this by design? Is Zoho Flows unable to repeat actions
                                                                                                                                                                                                                                                                                                                              • Has anyone integrated SMS well for Zoho Desk?

                                                                                                                                                                                                                                                                                                                                Our company does property management and needs to be able to handle inbound sms messages which create a ticket for Zoho Desk. We then need to be able to reply back from Zoho desk which sends the user an sms message. This seems like a fairly common thing
                                                                                                                                                                                                                                                                                                                              • populate email address and name in zoho desk?

                                                                                                                                                                                                                                                                                                                                Is it possible to populate the email address and name in the zoho desk widget? We only use it in the context of an authenticated user, so we already know the user's name and email. Thanks,
                                                                                                                                                                                                                                                                                                                              • Are there default/pre-built dashboards in Zoho Desk?

                                                                                                                                                                                                                                                                                                                                Hi, I am looking for some pre-built dashboard templates in Zoho Desk, similar to what we can find in CRM/Projects, etc Thank you
                                                                                                                                                                                                                                                                                                                              • Enable Locations for Expense

                                                                                                                                                                                                                                                                                                                                Hi, please enable Locations (ex Branches) for Zoho Expense so that there is consistency between this app and Zoho Books. Thanks in advance.
                                                                                                                                                                                                                                                                                                                              • Adding branded signature to tickets reply

                                                                                                                                                                                                                                                                                                                                Hi, i am unable to figure out how to add signatures with logo to tickets reply. please advice .
                                                                                                                                                                                                                                                                                                                              • Zoho Calendar not working since a few days

                                                                                                                                                                                                                                                                                                                                Hey there, first off a minor thing, since I just tried to enable the Calendar after reading this in another topic (there was no setting for this though) : For some reason my current session is showing me based in New York - I'm in Germany, not using a
                                                                                                                                                                                                                                                                                                                              • Zoho Marketing Automation 2.0 - Landing Page function not working

                                                                                                                                                                                                                                                                                                                                Dear Zoho Team, I am working on implementing Zoho Marketing Automation 2.0, and am now looking into the section "Lead Generation". If I open the "Landing Pages" section, I immediately get an Error code: Error: internal error occurred. Can you help me
                                                                                                                                                                                                                                                                                                                              • WebDAV / FTP / SFTP protocols for syncing

                                                                                                                                                                                                                                                                                                                                I believe the Zoho for Desktop app is built using a proprietary protocol. For the growing number of people using services such as odrive to sync multiple accounts from various providers (Google, Dropbox, Box, OneDrive, etc.) it would be really helpful if you implemented standard protocols such as WebDAV / FTP / SFTP so that alternative inc clients can be used.
                                                                                                                                                                                                                                                                                                                              • Zoho Mail Android app update: Manage folders

                                                                                                                                                                                                                                                                                                                                Hello everyone! In the latest version(v2.9) of the Zoho Mail Android app update, we have brought in support for an option to manage folders. You can now create, edit, and delete folders from within the mobile app. You can also manage folders for the POP
                                                                                                                                                                                                                                                                                                                              • How to share ticket numbers across different ticket types

                                                                                                                                                                                                                                                                                                                                I'm running an event and have three different ticket types. Add on Event + Main Event - Early bird Main Event only - Early bird Add on Event only - Early bird And Standard class - shown but not available until early bird finishes Add on Event + Main Event
                                                                                                                                                                                                                                                                                                                              • Adding Social Media Buttons to Basic Campaigns

                                                                                                                                                                                                                                                                                                                                Hi, I'm quote new to using Zoho Campaigns and I can't work out how to add Social Media Buttons into my basic campaign? In MailChimp there's a button that brings the icons into your campaign for you. I've tried adding the social media icons as 'buttons' in Zoho but it's not looking great. Can anyone help? Thanks!
                                                                                                                                                                                                                                                                                                                              • Hide Inactive Social Sign-In Providers from Login Screen

                                                                                                                                                                                                                                                                                                                                Hello Zoho Team, We hope you are doing well. Currently, Zoho One allows admins to configure security policies and enable or disable Social Sign-In options for third-party providers such as Apple, Google, Microsoft, LinkedIn, Yahoo, Twitter, Facebook,
                                                                                                                                                                                                                                                                                                                              • Zoho Cliq not working on airplanes

                                                                                                                                                                                                                                                                                                                                Hi, My team and I have been having this constant issue of cliq not working when connected to an airplane's wifi. Is there a reason for this? We have tried on different Airlines and it doesn't work on any of them. We need assistance here since we are constantly
                                                                                                                                                                                                                                                                                                                              • [Free Webinar] AI Agents in Zoho Creator - Creator Tech Connect

                                                                                                                                                                                                                                                                                                                                Hello Everyone! We welcome you all to the upcoming free webinar on the Creator Tech Connect Series. The Creator Tech Connect series is a free monthly webinar that runs for around 45 minutes. It comprises technical sessions in which we delve deep into
                                                                                                                                                                                                                                                                                                                              • Ship via Carrier Not Working Since Commerce Update

                                                                                                                                                                                                                                                                                                                                Since the recent update to the Commerce platform, I can no longer use the ship via carrier function. It will take me to the address screen and let me verify them but when I go to save and move tot he next screen it will not do anything. This is happening
                                                                                                                                                                                                                                                                                                                              • Next Page