Tip 27: How to upload files to Dropbox using the Dropbox API in Zoho Creator

Tip 27: How to upload files to Dropbox using the Dropbox API in Zoho Creator

Hi folks, 

It's been a while since our last tip. Hope you're all safe and doing well!

This tip will talk about the Dropbox API that helps you upload files to Dropbox. It's one of the most common actions that you can perform by integrating Zoho Creator and Dropbox. 

To understand how this works, let's create a sample application called File Management App and learn how to upload files to DropBox by adding the Dropbox API to a workflow.

Application flow
  1. The end user will upload a file to the file upload field in a Zoho Creator form.
  2. Once they click the Submit button on the form, the workflow will trigger the Dropbox API and upload the file to your Dropbox.
To do this we need to follow these steps:

  1. Create a form called File Upload in the File Management application, with the following fields:
    1. File Name (Single Line field)
    2. File Upload (File upload field)
  2. Publish the corresponding report to generate the Publish Key.
  3. Create a workflow that uses Dropbox's save URL API to push the uploaded file to Dropbox.
Step 1: Create the File Upload form

First, we need to create the form (as shown in the screenshot below) which we'll use to upload the files into the Creator application.




Step 2: Publish the report

As you're probably aware, for all forms built on Creator, there's an automatic report generated for it. So, for our form, File Upload, a corresponding report has been created. Now, let's publish this report to get the publish key, which will be used to construct the uploaded file's URL.

What is a publish key?

A publish key is a string of characters that Zoho Creator generates to make the report publicly accessible. You'll be able to get the publish key from the permalink of the published report, which is in the below format:

https://creator.zohopublic.com/<workspace_name>/<app_link_name>/report-perma/<report_link_name>/<publish key> 

Step 3: Generate DropBox access token

What is an access token?

Access tokens are used in token-based authentication to allow an application to access an API. In this case, it's a string generated by Dropbox which needs to be included with each subsequent API request to uniquely identify (authenticate) both your app and the end user. 

How to generate an access token for DropBox

You'll need to register your Creator application with Dropbox by creating a new app. That page will guide you through the registration process, specifying the permissions your app needs, and creating an app name.





Now, you can generate an access token for your newly created app by clicking on the Generate button in the OAuth 2
section of your app settings page. 




Step 4: On Success script

Now, let's add a Deluge script to On Success in the form workflow, to push the file that's being uploaded to Zoho Creator to DropBox. We would suggest you use the below syntax on success action on the form. 

    1. //report private key

    2. privatekey = "0v4mapW***************6O2";

    3.  

    4. //DropBox access token

    5.  

    6. dropbox_access_token = "n94**********************pO";

    7.  

    8. // file/folder path in Dropbox where you wish to save the file

    9.  

    10. dropbox_file_path = "/Creator/";

    11.  

    12. //Getting the file name

    13.  

    14. file_name = input.File_Name+input.File_upload.subString(input.File_upload.lastIndexOf("."),input.File_upload.length());

    15.  

    16. //Constructing the file URL

    17.  

    18. fileurl = "https://creatorexport.zoho.com/file" + zoho.appuri + "<report_link_name>/" + input.ID + "/<file_upload_field_link_name>/download/" + privatekey + "?filepath=/" + input.File_upload;

    19.  

    20. url = "https://api.dropboxapi.com/2/files/save_url";

    21.  

    22. headers = "{\"Authorization\":\"Bearer " + dropbox_access_token + "\",\"Content-Type\":\"application/json\"}";

    23.  

    24. data = "{\"path\":\"" + dropbox_file_path +file_name+ "\",\"url\":\"" + fileurl + "\"}";

    25.  

    26. datastring = data.toString();

    27. response = postUrl(url,datastring,headers,false);

The above code will help us upload a file from Zoho Creator to DropBox upon successful form submission in Zoho Creator.

Closing the loop

Note that the postUrl task should complete within 5 minutes, or the operation will time out and the task will fail. Given the likelihood of such scenarios, you shouldn't have any workflows that immediately delete the file or the corresponding record from Creator.

Also, if you want to store files only in Dropbox, we recommend creating a daily or weekly schedule that deletes those records that contain files that were successfully transferred to your Dropbox.

That's an easy tip, isn't it? You should give it a try! And if you run into any difficulties with the process, please comment below and we'll be happy to assist you.


    Access your files securely from anywhere


            All-in-one knowledge management and training platform for your employees and customers.






                                  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

                                                                                                                      • All new Address Field in Zoho CRM: maintain structured and accurate address inputs

                                                                                                                        Availability Update: 29 September 2025: It's currently available for all new sign-ups and for existing Zoho CRM orgs which are in the Professional edition exclusively for IN DC users. 2 March 2026: Available to users in all DCs except US and EU DC. 24
                                                                                                                      • Canvas not working

                                                                                                                        I have a canvas running. I selected it as the default for all options, but mainly want it for Portals. It isn't working. I selected Assign Canvas in both the Dtailed View and in the module itself. Nothing has happened. Any help?
                                                                                                                      • Transform your line of items into line items: ICR can now record your table values as subform values

                                                                                                                        Enhancement in Zoho CRM Dear Customers, We hope you're well! Zia Vision’s ICR capability can now recognize, extract, and store tabulated values in your subforms. An ideal example is a university application form. It has printed fields and handwritten
                                                                                                                      • Data Export is forcing Creation/Modified date just like reports

                                                                                                                        The data export now forces you to select a created or modified date. There is not an All-Time option. This severely cripples the whole function of data export for audit purposes. If the data export (or reports for that matter), requires a date, there
                                                                                                                      • HR Helpdesk Cases

                                                                                                                        We have Zoho One Enterprise. I'm trying to find HR Helpdesk Cases, but my UI does not match the documentation. I'm not sure how to move forward.
                                                                                                                      • Zoho Books Placeholder: Inventory Counts

                                                                                                                        I was hoping to figure out how to find the placeholders for inventory counts by item. We use Location based inventory tracking, so I dont know if that affects things. I want my PDF and Printed PICK LISTS to show the Quantity Available to Pick. I have
                                                                                                                      • Undocumented Books API error message - 1000 - The requested action could not be completed. Please try again. | Unexpected error

                                                                                                                        This code sometimes throws this error 1000 - The requested action could not be completed. Please try again. | Unexpected error What does it mean? result = zoho.books.updateRecord("salesorders",organization.get("organization_id"),salesorder_id,sales_
                                                                                                                      • Reporting Tags and COGS

                                                                                                                        Is there any way to get COGS recorded against reporting tags? The use cases seems very straightforward to me. If I'm running a P/L report against a specific reporting tag (I use mine for customer type, but it could be used for regions, etc.), the revenue
                                                                                                                      • Please critique my CRM design

                                                                                                                        I run a disability healthcare business with 2 business units. We run on Zoho One and are re-designing our CRM. We have developed the design concept ourselves, and I am hoping to get some critical feedback: 1) Noting that this is an early design of the
                                                                                                                      • CRM x WorkDrive: We're rolling out the WorkDrive-powered file storage experience for existing users

                                                                                                                        Release plan: Gradual rollout to customers without file storage add-ons, in this order: 1. Standalone CRM 2. CRM Plus and Zoho One DCs: All | Editions: All Available now for: - Standalone CRM accounts in Free and Standard editions without file storage
                                                                                                                      • Error in Batch Details Stock Reportt

                                                                                                                        I am a new user of zoho inventory. When extracting batch details stock report as of dec 2025, the report takes into account transactions that happen this year. Thus causing discrepancies when comparing with Stock Report. Is this a global error? Can zoho
                                                                                                                      • Invoice template, how to change the text under "Notes" and "Terms and Conditions"

                                                                                                                        In "Invoice templates", there are two text/info sections at the bottom:"Notes" and "Terms and Conditions". It is possible to change the names of these two headings, but how is it possible to change/alter the text under it. As a standard it says "Thank you for your business" under Notes - I need to change it into something different- How? Thank you.
                                                                                                                      • Zoho Commerce B2B

                                                                                                                        Hello, I have signed up for a Zoho Commerce B2B product demo but it's not clear to me how the B2B experience would look for my customers, in a couple of ways. 1) Some of my customers are on terms and some pay upfront with credit card. How do I hide/show
                                                                                                                      • Need complete Zoho Commerce theme ZIP example and safe staging workflow

                                                                                                                        I want to build a complete custom Zoho Commerce storefront through Edit Code, including: • Global header and footer • Responsive homepage • Category, search and filter pages • Product cards and product-detail pages • Cart and checkout wrapper • Mobile
                                                                                                                      • Conflict with Google Sheets

                                                                                                                        While I was working on a google sheet in Firefox, I suddenly started getting an error dialog in Google sheets: "Loading issue. Troubleshoot this issue by clearing application resources". It then says to clear cookes etc. etc. which didn't help. Disabling
                                                                                                                      • What is a realistic turnaround time for account review for ZeptoMail?

                                                                                                                        On signing up it said 2-3 business days. I am on business-day 6 and have had zero contact of any kind. No follow-up questions, no approval or decline. Attempts to "leave a message" or use the "Contact Us" form have just vanished without a trace. It still
                                                                                                                      • Add the Zoom Option to the Camera

                                                                                                                        Hi, I use the ZOHO Forms Camera so I can manage metadata, compression, etc. but this doesnt have the zoom parameter activated, so when we have photos in a tight space and want to use 0.5 for example, we can't, can this be enabled please. Thanks Dan
                                                                                                                      • Add Large Lists to Choice-Based Field Rules

                                                                                                                        Hi, The new Large List is good, but you can't then use the Choice-Based Field Rules with it to limit the Group Choices or Choices? Thanks Dan
                                                                                                                      • Auto-fill from logged-in user's profile for Name Fields in Subforms

                                                                                                                        Hi, The Name field is great, but I see you can't tick the Initial Value option of "Auto-fill from logged-in user's profile" when it is on a Subform, why not? Thanks Dan
                                                                                                                      • [Free webinar] Creator Tech Connect – Creator product updates (Part 1), August 2026

                                                                                                                        Hello everyone, We are excited to invite you to another edition of the Creator Tech Connect webinar. About Creator Tech Connect The Creator Tech Connect series is a free monthly webinar comprised of pure technical sessions, where we dive deep into the
                                                                                                                      • What's New in Zoho Invoice | April – June 2026

                                                                                                                        Hello everyone! We're back with the latest updates and enhancements we've rolled out in Zoho Invoice from April to June 2026. Here's what's new this quarter: Connect Zoho Invoice to AI Using Zoho MCP Customize Accessibility Preferences Attach Annexure
                                                                                                                      • Is there a way to show contact emails in the Account?

                                                                                                                        I know I can see the emails I have sent and received on a Contact detail view, but I want to be able to see all the emails that have been sent and received between all an Accounts Contacts on the Account Detail view. That way when I see the Account detail
                                                                                                                      • The Social Wall: July 2026

                                                                                                                        Hello everyone! We're halfway through the year, and we bring to you three new updates designed to help you experiment with your content, discover your top-performing posts, and automate your engagement workflow. Instagram Trial Reels Instagram trial reels
                                                                                                                      • Mail Id’s backup

                                                                                                                        Dear Zoho Team, Kindly share the backup of my all mail id’s associated with Zoho account. Thanks, Saurabh Sharma +91 8851066915
                                                                                                                      • Recurring Events Not Appearing in "My Events" and therefore not syncing with Google Apps

                                                                                                                        We use the Google Sync functionality for our events, and it appears to have been working fine except: I've created a set of recurring events that I noticed were missing from my Google Apps calendar. Upon further research, it appears this is occurring
                                                                                                                      • Stock Based Sort-by option in Category Pages

                                                                                                                        In a category page product with In-Stock should come in the top of the categories product list rather than out-of-stock products. No having this option is extremely disappointing, I made the initial request about 7 months ago but still not even an update
                                                                                                                      • Stock based sort-by option

                                                                                                                        I have more than 300 products in a category with out of stock items count of 150. The out of stock items are coming on top of the category product page list, is there a way to show the in-stock items on top of the list & move the out -of stock items in
                                                                                                                      • Out of Stock items showing in Commerce

                                                                                                                        I have over 6000 items and most are not in stock, but all items are showing up in Commerce whether they are inventory or not. What option or feature can you use to hide items in Commerce at zero or negative quantities? I currently am using Commerce for
                                                                                                                      • Creating Email template that attaches file uploaded in specific field.

                                                                                                                        If there's a way to do this using Zoho CRM's built-in features, then this has eluded me! I'm looking to create a workflow that automatically sends an email upon execution, and that email includes an attachment uploaded in a specific field. Email templates
                                                                                                                      • What's New in Zoho Billing | July 2026

                                                                                                                        July brings a new set of updates to Zoho Billing to make your billing operations more efficient. These include a redesigned checkout experience, expanded Hosted Payment Page capabilities, compliance improvements, enhanced reporting, and more. Enhancements
                                                                                                                      • Zoho CRM Community Digest - July 2026 | Part 1

                                                                                                                        Hello everyone, July is here! The first two weeks brought six CRM updates ranging from privacy-ready webforms to a significantly more powerful Layout Rules engine, two community wins worth a look (a dashboard workaround for spotting leads with no activities,
                                                                                                                      • Zoho CRM - Email/Message icon for Deal List View

                                                                                                                        Hi Team, My idea is to include a message icon at the start of the row of Deals when an unread message has been received. This would really help highlight the Deals where urgent action is required. Thanks for considering this request. Regards, Ashley
                                                                                                                      • Email notification for followers

                                                                                                                        Is there a way to enable email notification for followers of a support ticket? ie: Ticket #123 is owned by Agent#1, Agent#2 adds themselves as a follower. Whenever ticket #123 receives an email from the customer, Agent#1 receives an email. Agent#2 would
                                                                                                                      • Introducing parent-child ticketing in Zoho Desk [Early access]

                                                                                                                        Hello Zoho Desk users! We have introduced the parent-child ticketing system to help customer service teams ensure efficient resolution of issues involving multiple, related tickets. You can now combine repetitive and interconnected tickets into parent-child
                                                                                                                      • Desk Contact Name > split to First and Last name

                                                                                                                        I am new to Zoho and while setting up the Desk and Help Center, I saw that new tickets created or submitted from the Help Center used the Contact Name field. This would create a new Contact but put the person's name in the Last Name field only. The First
                                                                                                                      • Vendor payment unexpectedly routed through Prepaid Expenses instead of Accounts Payable

                                                                                                                        Hello, We are investigating an unexpected accounting behavior in Zoho Books. We created vendor bills and vendor payments for two suppliers using what appears to be the same workflow, but the journal entries are different. Vendor 1 – UZ Store (works correctly)
                                                                                                                      • LinkedIn RSC is now live in Zoho Recruit

                                                                                                                        LinkedIn Recruiter System Connect (RSC) is here. Your Zoho Recruit data (candidates, jobs, notes, stage updates, resume attachments, and more) now syncs with LinkedIn in real time. Note: LinkedIn RSC is included with your LinkedIn Recruiter Corporate
                                                                                                                      • Managing Shopify Payout Balances in Zoho Books

                                                                                                                        I am recording my Shopify orders as Invoices and once Shopify credits my bank account I reconcile the payout to the specific invoices and create a new transaction to account for the Shopify Merchant Fee. That is fairly straightforward to me. How should
                                                                                                                      • Charging for WhatsApp replies starting in October 2026

                                                                                                                        Meta has announced that it will charge for reply messages on WhatsApp starting October 1, 2026, and the free 24-hour window will no longer exist. How will Zoho SalesIQ handle this billing? https://developers.facebook.com/documentation/business-messa
                                                                                                                      • Upcoming Change: Increased character limits for module and field labels

                                                                                                                        To provide greater flexibility in customizing your CRM, we are increasing the maximum character limits for module labels and field labels in Zoho CRM. What's changing? Label Current Limit New Limit Module Label 25 characters 50 characters Subform Module
                                                                                                                      • Next Page