How to setup post merge operations on Zoho CRM's mail merge

How to setup post merge operations on Zoho CRM's mail merge

How to attach merge document back to CRM record

Execute any custom function after merge is complete with Zoho Writer. Functions that you write on your own are saved under My functions. Writer also has a set of pre-built functions with a few commonly used functions in Gallery.  
 
To attach the merged document back to a CRM record:
  1. Choose Merge & invoke custom functions option under merge output settings.
  2. Click Configure under "Invoke custom function" and write your own function as shown:



  3. Optionally, you can choose ZCRM record attachment from the Custom Functions Gallery as shown below:


How to merge to create a fillable template and attach it to a CRM Record after it is submitted

You can do this by executing a custom function. Refer to the below steps to learn how to configure a custom function. 
  1. Open the merge template.
  2. Click on the Merge & share fillable link under "Choose Output" and save settings. 



  3. Click on the Configure form submit actions button under Merge & share fillable link.
  4. Select Trigger webhook & custom functions. In the dialog that follows, select "Execute Custom Function" and click Configure.



  5. In the Custom function dialog, enter the following parameters: Record ID: The ID of the CRM record that you want to upload the filled document to. This value is present in the record_data object of the fillInfo custom function parameter.
  6. Click Proceed.

How to to create CRM record from filled data on submission

We can use Merge and store task to save the merged document. This will return the document url and then we can use the CRM update record task to update the merged document link in the CRM record.

 


Merge and Store

The zoho.writer.mergeAndStore task supplies values to the merge fields inserted to a document, and stores the new merged documents converted into a single file in the specified Zoho Docs folder.

Syntax: <response> = zoho.writer.mergeAndStore(<document_id>, <values_map>, <output_settings>, <connection>);

Click here to learn more about the zoho.writer.mergeAndStore task.


 

Update CRM records

This task updates the values of a particular record using its ID in the specified module of Zoho CRM.

Syntax: zoho.crm.updateRecord(<modulename>,<record_ID>,<record_value>,<options_map>,<connection>);

 

Click here to learn more about the zoho.crm.updateRecord task.


A sample script to "Merge and Store & update crm record" task is shown in the screen below:




    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION





                          Quick Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • How mail merge template works in Zoho CRM

                                                                                                                This article will provide an overview of how to perform operations with merge templates in Zoho CRM How the merge template behaves in Zoho CRM During CRM integration, when a user selects or opens any record and initiates a merge operation, a ...
                                                                                                              • Mail merge support for Zoho CRM modules

                                                                                                                What are the CRM modules that are supported for mail merge with Zoho Writer? With the Zoho Writer Add-on, you can create mail merge documents using CRM data from the following modules: Leads Accounts Contacts Deals Quotes Sales Orders Invoices ...
                                                                                                              • How to merge subform fields and image field with Zoho Writer's Merge APIs in Zoho CRM

                                                                                                                How to merge subform fields via Merge API's in Zoho Writer 1. Create a Merge template in Writer with related (RL) fields Sample Merge Template consisting of both Normal and RL fields: Hello <<Contacts.First Name>> Send a mail to <<Contacts.Email>> ...
                                                                                                              • Finish Merge

                                                                                                                Finish Actions Email Notifications You can enable email notifications to get notified when the merge is initiated and completed. You will receive an email as shown below, once the merge is initiated with a link to track the status of the merge ...
                                                                                                              • How to generate labels with Zoho CRM data using mail merge

                                                                                                                Navigate to Settings from CRM Home. Under customization, click Templates. <img> Inside Templates, click Mail Merge. <img> Click New Template. Select a Module. Assign a name to the template and pick a folder for the template to be saved and click ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

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



                                                                                                                  eBooks

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



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources