How to truncate and add records in Zoho CRM and Creator?

How to truncate and add records in Zoho CRM and Creator?

When working with dynamic source data, such as data from Zoho Analytics to Zoho CRM or Creator, you may need to completely remove existing records in a CRM module or Creator forms before inserting the latest data. Since Zoho CRM and Zoho Creator do not support a direct "Truncate and Add" option, this process can be achieved using a combination of Filter Transform and Ordered exports feature in Zoho DataPrep.

Case 1: Truncating and adding records in Zoho CRM

Consider a pipeline where the source data comes from Zoho Analytics and needs to be updated in Zoho CRM. The case here is to retain only the latest data in CRM, therefore all existing records in the CRM module must be deleted before pushing the latest ones.


Steps to be followed to truncate and add records in Zoho CRM


1. Delete Existing Records from Zoho CRM using filtering:

  • Import data from Zoho CRM. Here, you might want to import all those records you want to delete in your CRM module(s) either from beginning or from a custom date. 

  • Use the Filter Transform to filter and delete all existing records.

a) Right-click on a column and select the Filter option.

b) Click the 
 icon, then choose All Column Filter.

c) From the dropdown, select 
Data Quality, filter the columns based on Valid Data.

d) Repeat the same process for filtering 
Invalid Data and Missing Data and keep the filtered rows. 

2. Insert New records from Zoho Analytics to CRM:

Create another flow from Zoho Analytics to Zoho CRM to insert new data. 

Note: While adding the destination as Zoho CRM, select only add newly imported records.

3. Check Target Matching
After adding the destination, navigate to the DataPrep Studio page, click the target matching icon  at the top right corner and choose the Show target option. Make sure the target matching is done to avoid export failure. Click here to know more about target matching.


4. 
Schedule the Pipeline:

  • You can schedule your pipeline using the Schedule option in the pipeline builder. Select a Repeat method (hourly, daily, weekly, monthly) and set frequency using Perform every dropdown.


By scheduling the pipeline, the existing data from Zoho CRM will first be imported and deleted. Then, the latest data from Analytics will be pushed into the CRM module. This process will continue based on the specified repeat method and default ordered exports. When the job is completed, you can view the job summary in the Jobs page.


Case 2: Truncating and adding records in Zoho Creator

Consider a pipeline where the source data comes from Zoho Analytics and needs to be updated in Zoho Creator. The case here is to retain only the latest data in Creator, therefore all existing records in the Creator form must be deleted before pushing the latest ones.


Steps to be followed to truncate and add records in Zoho Creator:


1. Delete Existing Records from Zoho Creator using filtering:

  • Create a flow from Zoho Creator to Zoho Creator.

  • Use the Filter Transform to filter and delete all existing records.

    Right-click on a column and select the Filter option. Click the  icon, then choose All Column Filter. From the dropdown, select Data Quality, filter the columns based on Valid Data. Repeat the same process for filtering Invalid Data and Missing Data and keep the filtered rows. 



  • Add Zoho Creator to the destination and choose Update existing records and enable Delete records from Zoho Creator to delete the existing records in Zoho Creator.




2. Insert New records from Zoho Analytics to Creator:




Create another flow from Zoho Analytics to Zoho Creator to insert new data. 

Note: While adding the destination as Zoho Creator, select Add only new records.


3. Check Target Matching

After adding the destination, navigate to the DataPrep Studio page, click the target matching icon at the top right corner and choose the Show target option. Make sure the target matching is done to avoid export failure. Click here to know more about target matching.



4. Schedule the Pipeline: 

  • You can schedule your pipeline using the Schedule option in the pipeline builder. Select a Repeat method (hourly, daily, weekly, monthly) and set frequency using Perform every dropdown.



By scheduling the pipeline, the existing data from Zoho CRM will first be imported and deleted. Then, the latest data from Analytics will be pushed into the CRM module. This process will continue based on the specified repeat method and default ordered exports. When the job is completed, you can view the job summary in the Jobs page. 


SEE ALSO

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        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 LinksWorkflow AutomationData Collection
                              Web FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsTypeform alternativeSecure Forms

                              WCAG

                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now






                                                            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

                                                                  Use cases

                                                                  Make the most of Zoho Desk with the use cases.

                                                                   
                                                                    

                                                                  eBooks

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

                                                                   
                                                                    

                                                                  Videos

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

                                                                   
                                                                    

                                                                  Webinar

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

                                                                   
                                                                    
                                                                  • Desk Community Learning Series


                                                                  • Meetups


                                                                  • Ask the Experts


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner



                                                                    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 Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now









                                                                                                                            • Related Articles

                                                                                                                            • Truncate

                                                                                                                              You can use the Truncate operation to remove unnecessary characters or words from the end of text values in your data. To perform the truncate transform 1. Right-click the column and select the Truncate option from the context menu. 2. In the ...
                                                                                                                            • Data sync for Zoho Creator using DataPrep

                                                                                                                              Zoho DataPrep is now integrated with Creator using Zoho Creator connector. The forms in Zoho Creator are used to collect and store data, serving as the main point of interaction between the created application and users. Zoho DataPrep allows you to ...
                                                                                                                            • Export data to Zoho Creator

                                                                                                                              Zoho DataPrep supports exporting data to Zoho Creator using the Zoho Creator connector. Zoho Creator is a powerful low-code application development platform that helps businesses build custom web and mobile apps faster. To export data to Zoho Creator ...
                                                                                                                            • Zoho Creator connector for Zoho DataPrep

                                                                                                                              Zoho DataPrep allows you to seamlessly bring in your forms data from Zoho Creator using the Zoho Creator connector. Zoho Creator is a powerful low-code application development platform that helps businesses build custom web and mobile apps faster. ...
                                                                                                                            • Import data from Zoho Creator

                                                                                                                              Zoho DataPrep allows you to seamlessly bring in your forms data from Zoho Creator using the Zoho Creator connector. Zoho Creator is a powerful low-code application development platform that helps businesses build custom web and mobile apps faster. ...
                                                                                                                              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