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





                                                                                                                                                                                                                                                                            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

                                                                                                                                                                                                                                                                                                                            • Integrate your Outlook/ Office 365 inbox with Zoho CRM via Graph API

                                                                                                                                                                                                                                                                                                                              Hello folks, In addition to the existing IMAP and POP options, you can now integrate your Outlook/Office 365 inbox with Zoho CRM via Graph API. Why did we add this option? Microsoft Graph API offers a single endpoint to access data from across Microsoft’s
                                                                                                                                                                                                                                                                                                                            • Any way to "Pay with Check" or "Refund with Check" for Credit Notes?

                                                                                                                                                                                                                                                                                                                              When we have a Bill in Zoho Books, we can select the "Pay with Check" option which then allows us to print/cut the check directly out of Zoho Books. When we created a Credit Note and want to refund the customer, is there any way to Refund with Check,
                                                                                                                                                                                                                                                                                                                            • CRM Mobile reports

                                                                                                                                                                                                                                                                                                                              When our engineers finish a job they like to email the customer a job report. This is best done todate as an email template but we can find no way to include an image field from that module. Is there any other options?
                                                                                                                                                                                                                                                                                                                            • When Zoho Tables Beta will be open to EU data center

                                                                                                                                                                                                                                                                                                                              Hello all, We in EU are looking at you all using and testing and are getting jealous :) When we will be able to get into the beta also? We don't mind testing and playing with beta software. Thank you!
                                                                                                                                                                                                                                                                                                                            • Start Form on a different page (i.e., hide form pages)?

                                                                                                                                                                                                                                                                                                                              I have a Zoho form that uses the `Field Alias - Prefill URL` feature. My goal is to have a pre-filled field that directs the user to a specific starting page in the form. For example: The URL will have a field alias that will auto-populate a field with
                                                                                                                                                                                                                                                                                                                            • How can we disable "My Requests"?

                                                                                                                                                                                                                                                                                                                              We are not using this functionality in our system at all and our users get confused.
                                                                                                                                                                                                                                                                                                                            • PayPal payment received recording problem

                                                                                                                                                                                                                                                                                                                              Hi, A little while back one of our customers used the PayPal payment option to pay an invoice For some reason though the payment is showing up twice within the Payments section of the invoice! Instead of setting the invoice value to ZERO, it now shows a negative value Anyone else face this problem? I've checked PayPal and there is only 1 payment in reality... A bug? Actonia ps: for anyone from Zoho Customer Service or tech team,  its Invoice 785 in our account
                                                                                                                                                                                                                                                                                                                            • string(87) "{"code":"INVALID_TOKEN","details":{},"message":"invalid oauth token","status":"error"} " grtting this error

                                                                                                                                                                                                                                                                                                                              Using access token i am trying to add sales orders through api but it is throwing errors like the above i have mentioned. Please help me for that
                                                                                                                                                                                                                                                                                                                            • How to mute chat notification sound by default in Zoho SalesIQ?

                                                                                                                                                                                                                                                                                                                              We’ve recently embedded the Zoho SalesIQ chatbot on our website, and we’ve noticed that notification sounds sometimes play even when the visitor hasn’t interacted with the chat widget yet. We’re trying to understand two things: Why do these sounds occur
                                                                                                                                                                                                                                                                                                                            • Kanban View for Projects.

                                                                                                                                                                                                                                                                                                                              At our organization, we describe active projects with various statuses like "In Proofing" or "Printing" or "Mailing". In the Projects view, one can set these project statuses by selecting from the appropriate drop-down. While this works, it's difficult to view and comprehend the progress of all of your projects relative to each other in a table. Creating a Kanban view for projects where I can move them from one status to another allows me to see where each project is in the order of our workflow.
                                                                                                                                                                                                                                                                                                                            • How to Hide Article Links in SalesIQ Answer Bot Responses

                                                                                                                                                                                                                                                                                                                              I have published an article in SalesIQ, and the Answer Bot is fetching the data and responding correctly. However, it is also displaying the article link, which I don’t want. How can I remove the link so that only the message is shown?
                                                                                                                                                                                                                                                                                                                            • Add RECURRING option when adding email to calendar events

                                                                                                                                                                                                                                                                                                                              When you add an email to a calendar event, there is no option to make that new calendar event into a recurring event.  It is counterproductive to make an event from your email to then have to go to your calendar, find the event, and make it recurring. 
                                                                                                                                                                                                                                                                                                                            • Using Contains as a filter

                                                                                                                                                                                                                                                                                                                              We are using Zoho Reports, ServiceDesk Plus analytics. I do not see how to create a report filter using Contains comparison of a string values, is one string contained in another. For example, Task Title contains the word Monitor. Is this possible in Zoho Reports?  This reporting feature is available in SDP reporting. Thanks in advance, Craig Rice
                                                                                                                                                                                                                                                                                                                            • LINE Auto Message Connect to Zoho

                                                                                                                                                                                                                                                                                                                              When I integrated LINE into the CRM, I was prompted to disable “Chat,” “Auto Response,” and “Greeting Messages,” and to enable the webhook. However, since I have already set up some auto-reply features in LINE, including Rich Messages and greeting automation,
                                                                                                                                                                                                                                                                                                                            • Option to block bookings from specific email address or ip adresss in zoho booking

                                                                                                                                                                                                                                                                                                                              Sometime few of our client keep booking irrelevant booking service just to resolve their queries and they keep booking it again and again whenever they have queries. Currently its disturbing our current communication process and hierarchy which we have
                                                                                                                                                                                                                                                                                                                            • Threaded conversations for emails sent via automation

                                                                                                                                                                                                                                                                                                                              Hi Guys, I hope you are doing well. Don't you guys think we should have an option in a workflow to notify users either as a new email or the previous email thread. For example, if you have one deal in the process and there are 10 different stages during
                                                                                                                                                                                                                                                                                                                            • 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. Managing addresses
                                                                                                                                                                                                                                                                                                                            • Create folder is fetch fails

                                                                                                                                                                                                                                                                                                                              coming from zapier... zapier has a google drive task that searches for a specific folder in google drive, and if it fails to find the folder it will create a folder based on the search criteria, and contine along the singluar path of the flow. Trying
                                                                                                                                                                                                                                                                                                                            • Meetups de Usuarios de Zoho - Noviembre 2025

                                                                                                                                                                                                                                                                                                                              ¡Hola, Comunidad! Durante el mes de noviembre celebraremos los Meetups de usuarios de Zoho, encuentros presenciales pensados para quienes queráis mejorar vuestras estrategias de lead nurturing y aprender a sacar el máximo partido a herramientas como Zoho
                                                                                                                                                                                                                                                                                                                            • Introducing 7 New Connectors in Zoho DataPrep!

                                                                                                                                                                                                                                                                                                                              We’ve just made data management even easier - Zoho DataPrep now supports 7 new external connectors to help you build more robust, scalable ETL pipelines. Why it matters: ✅ Broader data access ✅ More automation, less manual work ✅ Smarter pipelines, better
                                                                                                                                                                                                                                                                                                                            • Sales Order, Invoice and Payment numbers

                                                                                                                                                                                                                                                                                                                              Hi zoho friends, it is me again, the slow learner. I'm wondering if there is a way to have it so the Sales order, invoice and payment numbers are all the same? It would be easier for me if they were the same number so there is not so many reference numbers
                                                                                                                                                                                                                                                                                                                            • Missing information data Zoho inventory

                                                                                                                                                                                                                                                                                                                              there some missing data in Zoho inventory connection. pick list stock counts bin location we have requested it via mail and the support team doesn’t gove feedback. has anyone achieve to get these info or to ask other ya les
                                                                                                                                                                                                                                                                                                                            • First day of trying FSM in the field.

                                                                                                                                                                                                                                                                                                                              What we found. 1. with out a network connection we were unable to start a service call? 2. if you go to an appointment and then want to add an asset it does not seem possible. 3. disappointed not to be able to actually take a payment from within the app
                                                                                                                                                                                                                                                                                                                            • Zoho Desk app update: AI powered features

                                                                                                                                                                                                                                                                                                                              Hello everyone! We’ve introduced various AI-powered services on the Zoho Desk app. Let's take a look at what's new. Generate Content: Generate Content uses AI to formulate responses based on the your query and provides a ready-to-use reply which can be
                                                                                                                                                                                                                                                                                                                            • How to Automate Email Sequence

                                                                                                                                                                                                                                                                                                                              I'm having trouble trying to set up a workflow to automate an email sequence. Once a group of emails in a Task has been tagged by a certain tag, I want an instant email template to be sent. After 7 days with no response, another email template would be
                                                                                                                                                                                                                                                                                                                            • Turning off the new UI

                                                                                                                                                                                                                                                                                                                              Tried the new 'enhanced' UI and actively dislike it. Anyone know how to revert back?
                                                                                                                                                                                                                                                                                                                            • Zoho Sprints Android v2.0.4 app update: Item reminders, archive Epics, Kanban projects, Epic progress

                                                                                                                                                                                                                                                                                                                              Hello everyone! In the latest version(v2.0.4) of the Zoho Sprints Android app update, we have introduced various new features. Let's take a look at what's new! Item Reminder Stay organized and never miss an important date with the all-new Item Reminder
                                                                                                                                                                                                                                                                                                                            • Credit Management: #3 Setting Credit Limit for Customers

                                                                                                                                                                                                                                                                                                                              Think about that one familiar customer of yours who always buys on credit. They usually pay on time, maybe a little late here and there, but not alarming. So, you are fine saying, "Sure, pay later." Then, one day, they place a significantly bigger order
                                                                                                                                                                                                                                                                                                                            • Canvas View in Zoho Recruit

                                                                                                                                                                                                                                                                                                                              Is it possible or would it be possible to have the new 'Canvas View' in Zoho Recruit?
                                                                                                                                                                                                                                                                                                                            • Adding Reports to Portals

                                                                                                                                                                                                                                                                                                                              Is there a way to add Reports to portals so only the user can see report templates relevant to them?
                                                                                                                                                                                                                                                                                                                            • Update on the client portal URL for Guest users

                                                                                                                                                                                                                                                                                                                              We’re updating the way Guest users access their Connect network. As part of this change, all client organization portals used by Guest users will now be accessible through a dedicated domain specific to each data center. The access URLs mentioned here
                                                                                                                                                                                                                                                                                                                            • Preserve Ticket Issue Mapping When Migrating from Jira to Zoho Projects

                                                                                                                                                                                                                                                                                                                              Hello Zoho Projects Team, We hope you are doing well. We are currently exploring a full migration from Jira to Zoho Projects, and we identified a critical limitation during the migration process involving Zoho Desk integration. Current Situation: We use
                                                                                                                                                                                                                                                                                                                            • Enhancements to Zoho Maps integration tasks

                                                                                                                                                                                                                                                                                                                              Hello everyone, We're excited to announce enhancements to the Zoho Maps integration tasks in Deluge, which will boost its performance. This post will walk you through the upcoming changes, explain why we're making them, and detail the steps you need to
                                                                                                                                                                                                                                                                                                                            • Unable to see Zoho contacts in Zoho app on ios

                                                                                                                                                                                                                                                                                                                              Hi Support Team, I am a new user, I have created my account and installed zohomail app on iOS 16 which works. I was also able to import my Gmail contacts into Zoho Contacts, which I can see. The problem is that I can’t see these imported cobalts in Zohomail
                                                                                                                                                                                                                                                                                                                            • Task Due Date greater than 10 years.

                                                                                                                                                                                                                                                                                                                              We use recurring tasks in Projects where every week, month, year etc Some of our projects are greater than 10 years and we are unable to set a new due date because the difference between start date and due date is greater than 10 years. As an example
                                                                                                                                                                                                                                                                                                                            • External User onboarding for zoho connect is not really intuitive.

                                                                                                                                                                                                                                                                                                                              So the external user is sent an invite, which has a button that directs them to login to zoho to view the invite, but if they don't have a zoho account, they cannot access that invite, which seems kinda silly, as there is not real way on for them to create
                                                                                                                                                                                                                                                                                                                            • Enhance Sign CRM integration

                                                                                                                                                                                                                                                                                                                              Hello all, I'm working on a custom Deluge script to enhance the integration between Zoho CRM and Sign by using a writer merge template for additional flexibility. I want to replicate the post-sign document integration that exists between CRM and Sign
                                                                                                                                                                                                                                                                                                                            • Hosting external websites on Zoho?

                                                                                                                                                                                                                                                                                                                              How can I host my external website on zoho? Do we have that option? I am currently with hostinger and am looking to switch to zoho. Kindly help. Thanks.
                                                                                                                                                                                                                                                                                                                            • How to Add Time Formula Duration (hh:mm)

                                                                                                                                                                                                                                                                                                                              Hi everyone — I’m trying to create a formula field in Zoho CRM that calculates the difference between a “Call Start Time” and “Call End Time” and displays the duration in HH:MM format (for example: 1:04 for one hour and four minutes). My current setup
                                                                                                                                                                                                                                                                                                                            • How can I calculate the physical stock available for sale?

                                                                                                                                                                                                                                                                                                                              Hey Zoho Team,  I've tried to calculate the physical stock on hand in various ways - but always receive a mismatch between what's displayed in Zoho Inventory & analytics.  Can you please let me know how the physical stock available for sale is calculated?
                                                                                                                                                                                                                                                                                                                            • Next Page