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




                                                                                                                                                                                                                                                                    • 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


                                                                                                                                                                                                                                                                                                                        ご検討中の方




                                                                                                                                                                                                                                                                                                                                • Recent Topics

                                                                                                                                                                                                                                                                                                                                • Wrapping up 2025 on a high note: CRM Release Highlights of the year

                                                                                                                                                                                                                                                                                                                                  Dear Customers, 2025 was an eventful year for us at Zoho CRM. We’ve had releases of all sizes and impact, and we are excited to look back, break it down, and rediscover them with you! Before we rewind—we’d like to take a minute and sincerely thank you
                                                                                                                                                                                                                                                                                                                                • Directly Edit, Filter, and Sort Subforms on the Details Page

                                                                                                                                                                                                                                                                                                                                  Hello everyone, As you know, subforms allow you to associate multiple line items with a single record, greatly enhancing your data organization. For example, a sales order subform neatly lists all products, their quantities, amounts, and other relevant
                                                                                                                                                                                                                                                                                                                                • Customer Parent Account or Sub-Customer Account

                                                                                                                                                                                                                                                                                                                                  Some of clients as they have 50 to 300 branches, they required separate account statement with outlet name and number; which means we have to open new account for each branch individually. However, the main issue is that, when they make a payment, they
                                                                                                                                                                                                                                                                                                                                • Projects custom colors replaced by default orange

                                                                                                                                                                                                                                                                                                                                  Since yesterday, projects uploaded to Zoho, to which I had assigned a custom color, have lost the customization and reverted to the default color (orange). Has anyone else had the same problem? If so, how did you resolve it?
                                                                                                                                                                                                                                                                                                                                • Restrict Users access to login into CRM?

                                                                                                                                                                                                                                                                                                                                  I’m wanting my employees to be able to utilize the Zoho CRM Lookup field within Zoho Forms. For them to use lookup field in Zoho Forms it is my understanding that they need to be licensed for Forms and the CRM. However, I don’t want them to be able to
                                                                                                                                                                                                                                                                                                                                • Introducing Connected Records to bring business context to every aspect of your work in Zoho CRM for Everyone

                                                                                                                                                                                                                                                                                                                                  Hello Everyone, We are excited to unveil phase one of a powerful enhancement to CRM for Everyone - Connected Records, available only in CRM's Nextgen UI. With CRM for Everyone, businesses can onboard all customer-facing teams onto the CRM platform to
                                                                                                                                                                                                                                                                                                                                • Unknown table or alias 'A1'

                                                                                                                                                                                                                                                                                                                                  I would like to create a subquery but i am getting the following error: Unknown table or alias 'A1' used in select query. This is the sql statement:  SELECT A1.active_paying_customers, A1.active_trial_customers, A1.new_paying_signup, date(A1.date_active_customers), 
                                                                                                                                                                                                                                                                                                                                • in the Zoho creator i have address field based the customer lookup im selecting the addresss , some times the customer address getting as null i want to show as blank

                                                                                                                                                                                                                                                                                                                                  in the Zoho creator i have address field based the customer lookup im selecting the addresss , some times the customer address getting as null ,i want to show as blank instead of showing null. input.Billing_Address.address_line_1 = ifNUll(input.Customers_Name.Address.address_line_1,"");
                                                                                                                                                                                                                                                                                                                                • Question about upgrade and storage space Zoho Notebook

                                                                                                                                                                                                                                                                                                                                  After upgarding my Zoho Notebook plan, I am running into the following issue. I just upgraded from a free Zoho Notebook subscription to Pro Lite after I got a notification in my Window Zoho Notebook desktop app saying that I had run out of space. However,
                                                                                                                                                                                                                                                                                                                                • how to add email to existing organization i w

                                                                                                                                                                                                                                                                                                                                  I am already registered my organization and i have an email id. I need one more email id but i can't find anywhere .i want the cheapest email id . how to add ?
                                                                                                                                                                                                                                                                                                                                • add zoho account

                                                                                                                                                                                                                                                                                                                                  How to add a zoho mail to previous zoho account? I have two
                                                                                                                                                                                                                                                                                                                                • Name changed in settings for mailbox but still not changed when typed in To field

                                                                                                                                                                                                                                                                                                                                  In the email account secretary@ i have updaetd the new staff members details but the old members name still appears when I type secretary@ in the To field. I cant work out where Zoho is finding the old name from. I have deleted the browser cache. If I
                                                                                                                                                                                                                                                                                                                                • Printing to a brother label maker

                                                                                                                                                                                                                                                                                                                                  I see allot of really old unanswered posts asking how to print to a label maker from a zoho creator app. Has their been any progress on providing the capability to create a customized height & width page or print template or whatever to print labels?
                                                                                                                                                                                                                                                                                                                                • Sync desktop folders instantly with WorkDrive TrueSync (Beta)

                                                                                                                                                                                                                                                                                                                                  Keeping your important files backed up and accessible has never been easier! With WorkDrive desktop app (TrueSync), you can now automatically sync specific desktop folders to WorkDrive Web, ensuring seamless, real-time updates across devices. Important:
                                                                                                                                                                                                                                                                                                                                • Track online, in-office, and client location meetings separately with the new meeting venue option

                                                                                                                                                                                                                                                                                                                                  Hello everyone! We’re excited to announce meeting enhancements in Zoho CRM that bring more clarity and structure to how meetings are categorized. You can now specify the meeting venue to clearly indicate whether a meeting is being held online, at the
                                                                                                                                                                                                                                                                                                                                • Calling the new 'Custom API' feature from within a Custom Widget

                                                                                                                                                                                                                                                                                                                                  From what I've learned it is not possible to call an endpoint from the new "Custom API" feature within a Creator Widget. The SDK's doesn't support it yet, when calling it natively you end up with CORS issues or at least I couldn't get it working even
                                                                                                                                                                                                                                                                                                                                • Announcing new features in Trident for Mac (1.32.0)

                                                                                                                                                                                                                                                                                                                                  Hello everyone! We’re excited to introduce the latest updates to Trident, which are designed to reinforce email security and protect your inbox from evolving threats. Let’s take a quick look at what’s new. Deliver quarantined emails. Organization admins
                                                                                                                                                                                                                                                                                                                                • Marketing Tip #5: Improve store speed with optimized images

                                                                                                                                                                                                                                                                                                                                  Slow-loading websites can turn visitors away. One of the biggest culprits? Large, uncompressed images. By optimizing your images, your store loads faster and creates a smoother shopping experience leading to higher sales. It also indirectly improves SEO.
                                                                                                                                                                                                                                                                                                                                • PDF Attachment Option for Service Reports

                                                                                                                                                                                                                                                                                                                                  Hello Team, I would like to check with you all if there is an option to attach PDF documents to the service reports. When I try to attach a file, the system only allows the following formats: JPEG, JPG, and PNG. Could you please confirm whether PDF attachments
                                                                                                                                                                                                                                                                                                                                • Zoho Browser??

                                                                                                                                                                                                                                                                                                                                  hai guys, this sounds awkward but can v get a ZOHO BROWSER same as zoho writer, etc. where i can browse websites @ home and continue browsing the same websites @ my office, as v have the option in Firefox, once i save and close the browser and again when i open it i will be getting the same sites. If u people r not clear with my explanation, plz let me know. Thanks, Sandeep  
                                                                                                                                                                                                                                                                                                                                • SMS to customers from within Bigin

                                                                                                                                                                                                                                                                                                                                  Hi All, Is there anyone else crying out for Bigin SMS capability to send an SMS to customers directly from the Bigin interface? We have inbuilt telephony already with call recordings which works well. What's lacking is the ability to send and receive
                                                                                                                                                                                                                                                                                                                                • Admins cannot see each others' Scheduled Reports?!

                                                                                                                                                                                                                                                                                                                                  Very frustrating that as an admin I cannot see what my reports my fellow admins have created and scheduled.  After asking about this on the help chat, I was told the issue is trust and security.  By giving someone Admin status, it means we trust them with those responsibilities. Please change this, it is not a good process to have to bother other users to change a report or change users within a report.
                                                                                                                                                                                                                                                                                                                                • Automatically CC an address using Zoho CRM Email Templates

                                                                                                                                                                                                                                                                                                                                  Hi all - have searched but can't see a definitive answer. We have built multiple email templates in CRM. Every time we send this we want it to CC a particular address (the same address for every email sent) so that it populates the reply back into our
                                                                                                                                                                                                                                                                                                                                • Writer update results in BitDefender blocking it as malware

                                                                                                                                                                                                                                                                                                                                  After updating Writer to latest update, Bitdefender blocked the app and writer no longer runs.
                                                                                                                                                                                                                                                                                                                                • Is there a way to invoke deluge function from within a widget?

                                                                                                                                                                                                                                                                                                                                  Hi! I have custom functions in deluge and I was wondering whether there is any way to call this function through a widget? Something like on click of a button inside a widget, run the deluge custom function. Would this be possible?
                                                                                                                                                                                                                                                                                                                                • Missing Import Options

                                                                                                                                                                                                                                                                                                                                  Hello, do I miss something or is there no space import option inside of this application? In ClickUp, you can import from every common application. We don't want to go through every page and export them one by one. That wastes time. We want to centralize
                                                                                                                                                                                                                                                                                                                                • Zoho CRM Portal Field Level Permission Issue

                                                                                                                                                                                                                                                                                                                                  Hi Support Team, I am using the Zoho CRM Portal and configuring field-level editing permissions. However, we are unable to restrict portal users from editing certain fields. We have created a portal and provided View and Edit (Shared Only) access for
                                                                                                                                                                                                                                                                                                                                • Why am I seeing deleted records in Zoho Analytics syncing with Zoho CRM?

                                                                                                                                                                                                                                                                                                                                  I have done a data sync between Zoho CRM and Zoho Analytics, and the recycle bin is empty. Why do I see deleted leads/deals/contacts in Zoho Analytics if it doesn't exist in Zoho CRM? How can I solve this problem? Thanks
                                                                                                                                                                                                                                                                                                                                • Custom Fonts in Zoho CRM Template Builder

                                                                                                                                                                                                                                                                                                                                  Hi, I am currently creating a new template for our quotes using the Zoho CRM template builder. However, I noticed that there is no option to add custom fonts to the template builder. It would greatly enhance the flexibility and branding capabilities if
                                                                                                                                                                                                                                                                                                                                • Introducing the Zoho Projects Learning Space

                                                                                                                                                                                                                                                                                                                                  Every product has its learning curve, and sometimes having a guided path makes the learning experience smoother. With that goal, we introduce a dedicated learning space for Zoho Projects, a platform where you can explore lessons, learn at your own pace,
                                                                                                                                                                                                                                                                                                                                • All new Address Field in Zoho CRM: maintain structured and accurate address inputs

                                                                                                                                                                                                                                                                                                                                  The address field will be available exclusively for IN DC users. We'll keep you updated on the DC-specific rollout soon. It's currently available for all new sign-ups and for existing Zoho CRM orgs which are in the Professional edition. Latest update
                                                                                                                                                                                                                                                                                                                                • Collaboration with customers made easy with Zoom Meeting and Zoho Desk integration

                                                                                                                                                                                                                                                                                                                                  Hello everyone! We are happy to announce that you can now integrate your Zoho Desk account with Zoom Meeting. The integration bridges the gap between digital communication and human connection, empowering teams to deliver timely support when it matters
                                                                                                                                                                                                                                                                                                                                • CRM Canvas - Upload Attachments

                                                                                                                                                                                                                                                                                                                                  I am in the process of changing my screens to Canvas.  On one screen, I have tabs with related lists, one of which is attachments.  There doesn't appear to be a way to upload documents though.  Am I missing something really obvious?  Does anyone have
                                                                                                                                                                                                                                                                                                                                • TrueSync regularly filling up my local disk

                                                                                                                                                                                                                                                                                                                                  Seems that WorkDrive's TrueSync randomly starts filling up my local hard drive space. None of the folders have been set as "Make Offline" but still it seems to randomly start making file offline. The settings of the app is so minimal and is of no real
                                                                                                                                                                                                                                                                                                                                • Kaizen #194 : Trigger Client Script via Custom buttons

                                                                                                                                                                                                                                                                                                                                  Hello everyone! Welcome back to another interesting and useful Kaizen post. We know that Client Scripts can be triggered with Canvas buttons and we discussed this with a use case in Kaizen#180. Today, let us discuss how to trigger Client Script when a
                                                                                                                                                                                                                                                                                                                                • [Webinar] A recap of Zoho Writer in 2025

                                                                                                                                                                                                                                                                                                                                  Hi Zoho Writer users, We're excited to announce Zoho Writer's webinar for January 2026: A recap of Zoho Writer in 2025. This webinar will provide a recap of the features and enhancements we added in 2025 to enhance your productivity. Choose your preferred
                                                                                                                                                                                                                                                                                                                                • Picklist field shows "none" as default

                                                                                                                                                                                                                                                                                                                                  Hello, Is there an option to avoid showing "none" as the default value in a picklist field? I also don't want to see any option displayed. My expectation is to have a blank bar, and then when I display the drop-down list, I can choose whichever I wa
                                                                                                                                                                                                                                                                                                                                • Stage-probability mapping feature in custom module

                                                                                                                                                                                                                                                                                                                                  Hi, I'm building a custom module for manage projects. I would like to implement the stage-probability feature that Potentials has. Is this possible?
                                                                                                                                                                                                                                                                                                                                • Create static subforms in Zoho CRM: streamline data entry with pre-defined values

                                                                                                                                                                                                                                                                                                                                  Last modified on (9 July, 2025): This feature was available in early access and is currently being rolled out to customers in phases. Currently available for users in the the AU, CA, and SA DCs. It will be enabled for the remaining DCs in the next couple
                                                                                                                                                                                                                                                                                                                                • Field Description is very small

                                                                                                                                                                                                                                                                                                                                  Hello, The field Description in the activity is very small. Why don't try open a new window, or a bigger popup, or increase the width of the "popup". Example:
                                                                                                                                                                                                                                                                                                                                • Next Page