Assistance Required: Report Export to Excel and WorkDrive Upload via Deluge

Assistance Required: Report Export to Excel and WorkDrive Upload via Deluge

I'm working on automating a scheduled workflow in Zoho Creator that needs to run weekly. The goal is to:

  1. Export a report from Zoho Creator in Excel (.xls or .xlsx) format, and

  2. Upload the exported file to a specific folder in Zoho WorkDrive using a Deluge script.


Issue Faced

I attempted an approach where the report is exported using its public permalink export URL, fetched using invokeurl, and then uploaded to WorkDrive using zoho.workdrive.uploadFile. While the upload technically completes and the file appears in the WorkDrive folder, the following issues are observed:

  • The uploaded Excel file contains unreadable or junk data, such as HTML tags, headers, or unrelated text.

  • On inspection, the response from the invokeurl appears to be HTML content, not a binary Excel file, which seems to be the root cause of the issue.


Request

Could you please help with the following:

  • supported method or working example for exporting a report from Zoho Creator in Excel format and uploading it to WorkDrive via Deluge.

  • Clarification on whether using the public permalink + invokeurl is a recommended approach, or if there’s a better API-based method.

  • Any best practices to ensure the correct file format is fetched and uploaded.

Your assistance would be greatly appreciated to help complete this automation.

Best regards,
Monish


      Zoho Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          Zoho CRM Plus Resources

            Zoho Books Resources


              Zoho Subscriptions Resources

                Zoho Projects Resources


                  Zoho Sprints Resources


                    Zoho Orchestly Resources


                      Zoho Creator Resources


                        Zoho WorkDrive Resources



                          Zoho CRM Resources

                          • CRM Community Learning Series

                            CRM Community Learning Series


                          • Tips

                            Tips

                          • Functions

                            Functions

                          • Meetups

                            Meetups

                          • Kbase

                            Kbase

                          • Resources

                            Resources

                          • Digest

                            Digest

                          • CRM Marketplace

                            CRM Marketplace

                          • MVP Corner

                            MVP Corner




                            Zoho Writer Writer

                            Get Started. Write Away!

                            Writer is a powerful online word processor, designed for collaborative work.

                              Zoho CRM コンテンツ



                                ご検討中の方