Transform by Example using ChatGPT

Transform by Example powered by OpenAI ChatGPT API [beta]

Zoho DataPrep helps you transform columns based on example inputs using integration with ChatGPT API, a generative artificial intelligence developed by OpenAI. To enable this feature in your DataPrep organization, go to the OpenAI Integration tab in the Settings page. Click here to know more about enabling OpenAI integrated features. 

Here's a quick video on ChatGPT API integration with Zoho DataPrep. 

Transform by example easily helps you transform the data in any column just by providing examples of the output. Using this feature, you can enter the required output against a few cell values in your data column as examples and the rest of the output will be auto-generated for you, by applying ChatGPT API generated formula internally. 

Here's a quick demo on the features powered by OpenAI in Zoho DataPrep. 

Data Privacy Notice : Zoho DataPrep utilizes OpenAI's ChatGPT API, an external service based in the USA, subject to OpenAI's Terms of Use . Please be aware that the information sent to OpenAI depends on the access provided by you, the user. The data shared with ChatGPT is based on the features you enable. Details such as column names and/or selected cell data will be shared based on each feature. You can choose to enable or disable each feature based on the level of data you want to share. Therefore, exercise caution while using this service and ensure that the data you provide does not contain confidential or personal information.

Go to OpenAI Integration in the Settings page to learn more about configuring this integration.

  1. The generative response are coming in from ChatGPT's training data. Accuracy, consistency, and relevance of the response are subjective to the type of prompts and the data available in its training set. 
  2. ChatGPT doesn't respond to prompts about personal information.

Transform by Example - powered by OpenAI ChatGPT API

1. Right-click on a column and select the Transform by example option from the context menu. 

2. An editable version of the selected column appears right next to the original column where you can type in the required output against a few cell values from your data column as an example, and press enter.

3.  Once you enter the example, the rest of the column data is transformed, and the output column name is contextually auto-generated by ChatGPT based on your input prompt  and shown as a preview. The formula script used to get the output is displayed in the Generated formula  panel.

Transform by example is now equipped with a re-try mechanism which gets you the best result out of ChatGPT's response by re-trying the query automatically in a different way if the output data did not match your expectation.

4. For instance, I have given the domain name "" here in letters as an example, and the transform automatically derives rest of the output using the auto-generated formula powered by ChatGPT.

5. If the generated output doesn't match your requirements for all the values, you can provide another example and press enter. DataPrep now takes the new input into consideration and generates a new way to transform the data.

6. The updated formula will also be displayed in the Generated formula field in the right panel.

5. Click the Apply to apply the transform.

1. You can also modify the generated formula using the Customize option.
2. This converts the transform by example panel into a formula column transform. You can now use the full capability of the formula column feature to fine-tune the formula to your requirements.
3. You can also use the chat based formula builder powered by OpenAI ChatGPT to generate the required formula. Click here  to learn more.

Here are some example use cases for you to try out Transform by Example

a) I want to change the format of the values in the date column below to the format that represents day along with the date. I just type in the example for the first value with "Thursday, 06 December 2018", and DataPrep fills the rest of the column with the required output. Here's the snapshot of the generated formula and the output.

b) I want to extract the names from the Email ID column. I just type in the value "john" as an example, and  DataPrep fills the rest of the column with the required output. Here's the snapshot of the generated formula and the output.

c) Here, I have given the first example "Donnie Denson" to separate out the names with a space.  Below is the snapshot of the auto-generated formula and the output for the rest of the column.

d) I wish to clean the phone numbers in my dataset by removing the delimiters and standardize them.  Below is the snapshot of the auto-generated formula and the output for the rest of the column.


    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

                        Still can't find what you're looking for?

                        Write to us:



                          Manage your brands on social media

                              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

                                                                                          • Dataset Finder powered by ChatGPT API [beta]

                                                                                            Zoho DataPrep helps you enrich your data by enabling you to find new datasets based on your requirement using ChatGPT API integration, a generative artificial intelligence developed by OpenAI. You can use these datasets for data enrichment purposes. ...
                                                                                          • OpenAI Integration with Zoho DataPrep [beta]

                                                                                            Open AI integration with Zoho DataPrep helps you enrich your data with advanced AI-based features using ChatGPT, a generative artificial intelligence developed by OpenAI. Here's a quick video on ChatGPT integration with Zoho DataPrep. Data Privacy ...
                                                                                          • Sentiment analysis

                                                                                            You can analyze the sentiment of the text values in a column using the Sentiment analysis operation powered by AI and machine learning in DataPrep. There are three possible results from the sentiment analysis transform. Positive Negative Neutral To ...
                                                                                          • Select transform

                                                                                            Zoho DataPrep helps you to select, rename, and reorder columns in the dataset. To rename or reorder columns 1. Right-click on a column header and choose the Select columns option from the context menu. 2. To reorder columns, choose the column names ...
                                                                                          • Join

                                                                                            You can join two datasets together using common columns using the Join transform. For example, consider a dataset which has the purchase data of a store and another dataset with their customer information. These datasets can be combined using a ...
                                                                                          Wherever you are is as good as
                                                                                          your workplace



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


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


                                                                                            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