Zoho DataPrep Rest APIs

Zoho DataPrep Rest APIs

The Zoho DataPrep Rest APIs workspace hosted on Postman, represents Collections curated by the Zoho DataPrep team. Our workspace serves as a comprehensive hub for developers looking to leverage the full potential of Zoho DataPrep's APIs.

Within the Zoho DataPrep REST APIs collection, you'll find a set of our APIs. Once you fork the collection, please complete the required steps for OAuth to ensure seamless integration.

Write to us at support@zohodataprep.com if you have any questions or suggestions.

Notes
Note: REST APIs support is available US, EU, IN, JP,  AU, CA, SA DCs.

API collections

Zoho DataPrep's REST API documentation contains DataPrep's 2.0 APIs using which user can fetch the organizations the user belongs to, the workspaces in an organization, all pipelines in the workspace, all jobs run in a pipeline, and job status of a particular job id.

Prerequisites

1. All API requests must be made over HTTPS. Calls made over plain HTTP will fail.
2. All requests must use https://dataprep.zoho.com as the API request URL.

Users are required to hold a valid Zoho DataPrep account to use the API. If you do not have one, please sign up for Zoho DataPrep.

Click here to know more about authentication and API collections hosted in Postman.

3. Rest APIs will work only when pipeline is configured as Webhooks.

Follow the below steps to set up the webhooks run and import configuration in the DataPrep UI to run a pipeline using Rest API.

 To trigger a pipeline using webhooks 

1. Create a pipelineapply the necessary transforms in your stages, and export your data to one or more destinations.

2. Once you have finished creating your entire pipeline,
 
Idea
Pro Tip: You may want to try dry run your pipeline using the Run button. Each run is saved as a job.

When a pipeline run is executed, the data fetched from your data sources will be prepared using the series of transforms you have applied in each of the stages, and then data will be exported to your destination. This complete process is captured in the job history. Once you ensure manual run works, choose the Draft option and mark your pipeline as ready. You can then set up webhooks to trigger your pipeline. 
 
NotesNote: Only one run type can be setup in a pipeline at a time.


 
Webhooks configuration

3. Click the Schedule drop-down icon and click the Webhooks option.


Webhook Settings 

Stop export if data has invalid values : Enabling this will stop the export when your data still has invalid values.

Order exports

This option determines in what order the data has to be exported to destinations when you have configured multiple destinations.

If not enabled, export will run in the default order.
Notes
Note: This option will be visible only if you have added more than one destination in your pipeline.


To rearrange the order of your export destinations

1) Click the Order exports toggle.
2) You can drag and drop to change the order of the destinations and then click Save.

 
NotesNote: Click the Edit order link if you want to rearrange the order again.

Import configuration

4. While configuring the Webhooks, the import configuration needs to be mandatorily setup for all the sources. Without setting up the import configuration, the Webhooks configuration cannot be saved.
 


Click the Edit here link to set the import configuration.
 
The import configuration is different for different sources. Click here to know more about how to set up import configuration for various sources.
 
5. After you configure the webhooks configuration, click Save.

 How does Webhook work? 

6. When a webhook is enabled in DataPrep, it generates a unique URL that waits for incoming HTTP requests. When a request is received, this webhook is set up to trigger a specified pipeline.

In the external service, configure the event that should trigger the webhook.

For example, an event could be creating a new record, modifying an existing record, uploading a file, and so on. Then, using the API request, set up a webhook run that sends an HTTP request to the webhook URL if a specific event occurs.

Notes
Note: This webhook-based pipeline run can be triggered only three times in an hour. Please find the REST API documentation for more coverage on the APIs in detail.
When an event happens (for example, a new file is added), the external service sends an HTTP request to the webhook URL. This request is received by DataPrep's webhook, which then runs the associated pipeline.

Click here to know more about Webhook run.

How to calculate rows processed for a run triggered by Rest API or Webhook run?

In Zoho DataPrep, the total number of rows that are processed are counted towards "rows processed" for your plan. You can monitor the number of rows processed for a Webhook run from the Jobs summary page in DataPrep.

To navigate to the Job summary page, you can choose the Job option from each pipeline or click on the job from the Jobs page.



The Job summary shows details of a job in a pipeline flow in three different tabs: OverviewStages and Output.
You can view the total rows processed in the Overview tab.

 

You can view row count for the stages of each job executed in three different sections- ImportTransform, and Export in the Stages tab. 



In the Output tab, you can view the rows and columns exported for each output.




When data is imported and processed in your data pipeline - either when you build your data pipeline by adding stages, or adding rules in a stage, or when you run the pipeline, the "rows processed" count will increase.

The rows that are processed includes, rows being processed for performing Join, Append, Pivot, Unpivot transforms will be counted towards "rows processed, and any intermediate stages created thereof, where the number of rows processed to create/update the child stages will also be additionally counted towards "rows processed". 

Note:
1. If you download the output data from job history, it will not increase the "rows processed" count. 
2. The "rows processed" count is reset at the beginning of your billing cycle, every month.


SEE ALSO

    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









                                            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

                                                                                                              • Encryption at Zoho DataPrep

                                                                                                                Encryption is primarily used to safeguard the contents of a message so that only the intended recipient could read it. This is done by replacing the contents with unrecognizable data, which could be understood only by the intended recipient. This is ...
                                                                                                              • Zoho DataPrep - FAQs

                                                                                                                1. What is Zoho DataPrep? Zoho DataPrep is an advanced self-service data preparation tool that helps organizations model, cleanse, prepare, enrich and organize large volumes of data from multiple data sources to serve data analytics and data ...
                                                                                                              • Ruleset in Zoho DataPrep

                                                                                                                This page covers the following sections: What is a Ruleset? Data source settings Ruleset operations Options with individual rules Ruleset Templates What is a Ruleset? Each transform applied on the data is stored in DataPrep as a rule, in order of ...
                                                                                                              • Zoho DataPrep's Home page

                                                                                                                Dashboard Getting started The getting started section in the home page is shown to trial users, this shows you the various aspects to get started with Zoho DataPrep. You can take a Product tour to get a walkthrough and understand the end-to-end ...
                                                                                                              • Databridge in Zoho DataPrep

                                                                                                                Zoho Databridge is a lightweight independent utility that connects your on-premise data source and Zoho applications to import data. In other words, you can quickly and securely transfer local files and local databases from your internal network to ...
                                                                                                                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