Integrating File Attachments in Zoho Flow Email Notifications

Integrating File Attachments in Zoho Flow Email Notifications

Hi,

I would like to be able to send an email once an entry is made in a form, and in this email, I would like to attach a file that has been added to the form using the ImageUpload (or FileUpload) widget.

So, I started by creating a flow that will trigger when an entry is made on my form, and if one of the fields of my form is equal to "Color," then it sends an email to the address entered by the user in the form.

The SendMail widget in Zoho Flow does not natively allow attaching a file to the email, so I came up with the idea of saving the file in Zoho WorkDrive, then retrieving the name and creating a download link that will be sent in the body of the message rather than as an attachment.


My getFileName function is straightforward; it retrieves the filename from the long string returned by the ImageUpload input:



The name is successfully extracted, so I can use it to retrieve the file in WorkDrive. Where it doesn't work is that the flow triggers before the file is stored in WorkDrive, which seems odd to me because if I understand correctly, if an entry is made, the file should already be uploaded to WorkDrive, thus already existing when my flow starts. However, the email I receive returns nothing. However, if the file is already present in WorkDrive, then everything works, and my download link is created successfully. I tried adding "delays" in different places to ensure that the file is indeed in WorkDrive, but it doesn't change anything.

So, I tried another approach with the Send Mail function of Deluge. I created a custom function named SendMail with a boolean return and properties to make it dynamic:


But once again, for the attached file, the problem is that I cannot directly have the file, but only the "path" text as mentioned above.



And in this case, my function returns "false," so I only receive the error email.

I think there is a solution with "InvokeUrl," but I can't seem to understand how it works and how to link it to my form.

Do you have any ideas on how to receive an email from Zoho Flow with an attachment that is a file uploaded by the user?

To understand my goal, I need a creation request form. I have fields for first name, last name, email, and a list field with multiple choices. Depending on the choice, different new fields appear, and some are ImageUploads. Once the form is submitted, based on the first choice in the list, the email will be sent to different people, and it should be possible to download or view the attached file.

Overview of the Flow:



Thank for your help,
Maxime.


      Zoho Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          • Sticky Posts

          • New in Zoho Forms: Google reCAPTCHA v3 for smarter spam protection

            Hello form builders, Spam submissions are one of the biggest challenges when you share your forms online. They not only clutter your data but can also waste valuable time. To help you combat this without making life harder for genuine respondents, we’re
          • New in Zoho Forms: Inline OTP Verification

            Hello form builders, We are excited to announce the launch of Inline OTP Verification in Zoho Forms, a smarter way to ensure the authenticity of the contact details you collect. Until now, OTP Verification in Zoho Forms worked as a pre-access step: respondents
          • The Grid is here!

            Hey Zoho Forms Community! 👋 We’re thrilled to announce the launch of a feature that’s been on your wishlist for a while: Grids What is Grids? Grids let you place form fields side by side in multiple columns to create a more concise and organized form
          • New integration: Zoho Books + Zoho Forms

            Hello Zoho Forms community! We are thrilled to announce the addition of another integration that brings speed and efficiency to your financial workflows. Zoho Forms can now be integrated with Zoho Books! Here’s a quick rundown on Zoho Books! For anyone
          • Important Update: WhatsApp Marketing Template Message Restrictions for US Numbers

            Dear Zoho Forms Users, We want to keep you informed about an upcoming change in WhatsApp's marketing messaging policy that may impact your communication strategy. Starting April 1, 2025, Meta will temporarily pause the delivery of all marketing template

          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 コンテンツ








                                ご検討中の方

                                  • Recent Topics

                                  • Cannot - create more email account - Unusual activity detected from this IP. Please try again after some time

                                    Hello, I come across the error message in Control Panel. Unusual activity detected from this IP. Please try again after some time and i cannot create any more users We are an IT company and we provide service for another company Please unlock us.
                                  • "Unable to send message;Reason:553 Relaying disallowed. Invalid Domain"

                                    Good day. When I try to send mail through ZOHO mail I get the following error : "Unable to send message;Reason:553 Relaying disallowed. Invalid Domain" I need help with this. My zohomail is : @eclipseweb.site Thank you,
                                  • Transfert de domaine pour création des comptes emails

                                    Bonjour , je ne parviens point à créer des mails avec le domaine 'raeses.org' suite à la souscription du domaine auprès d'un autre hébergeur, dont j'ai fait la demande du code de transfert qui est le suivant : J2[U8-l0]p8[ En somme, attente de l'activation
                                  • Help! Unable to send message;Reason:554 5.1.8 Email Outgoing Blocked.

                                    Kindly help me resolved this issue that i am facing here.
                                  • How are people handling estimates with Zoho inventory?

                                    We are often using Zoho Books for estimates that then get converted to invoices within Books. We would like the sales team to migrate entirely to Zoho Inventory and no longer need to use Zoho Books so that they are only on one system. How are people managing
                                  • Relative Date Searches

                                    Currently in the search options, it has "date", "from date" and "to date". I think it would be great if there were options like "date greater than x days ago" and "date less than x days ago". I realise that as a once off you can just use the existing
                                  • Performance is degrading

                                    We have used Mail and Cliq for about three years now. I used to use both on the browser. Both have, over the past 6 months, had a severe degradation in performance. I switched to desktop email, which appeared to improve things somewhat, although initial
                                  • Ask the Experts 23: Customize, utilize, and personalize with Zoho Desk

                                    Hello everyone! It's time for the next round of Ask the Experts (ATE). This month is all about giving Zoho Desk a complete makeover and making it truly yours. Rebrand Zoho Desk with your organization’s details, customize ticket settings based on your
                                  • Dear Zoho CEO: Business Growth is about how you prioritise!

                                    All of us in business know that when you get your priorities right, your business grows. Zoho CRM and Zoho Books are excellent products, but sadly, Zoho Inventory continues to lag behind. Just this morning, I received yet another one-sided email about
                                  • Payroll In Canada

                                    Hi, When can we expect to have payroll in Canada with books 
                                  • Please review and re-enable outgoing emails for my domain

                                    Hello Zoho Support, I have recently purchased a new domain and set up email hosting with Zoho. However, my account shows "Outgoing Email Blocked". I am a genuine user and not sending bulk/spam emails. Please review and re-enable outgoing emails for my
                                  • Payroll without tax integrations (i.e. payroll for international)

                                    It seems as though Zoho waits to develop integrations with local tax authorities before offering Zoho Payroll to Zoho customers in a country. Please reconsider this approach. We are happy Zoho Books customers, but unhappy that we have to run payroll in
                                  • goingout e mail block

                                    info@ozanrade.com.tr
                                  • Incoming mails blocked

                                    Zoho User ID : 60005368884 My mail Id is marketing#axisformingtechnology.com .I am getting following message "Your Incoming has been blocked and the emails will not be fetched in your Zoho account and POP Accounts. Click here to get unblocked." Please
                                  • Assistance Needed: Ticket Status Not Updating and Sorting by Last Customer Reply in Zoho Desk

                                    Hello, I’m facing two issues in Zoho Desk that I’d like your guidance on: Ticket Status Not Updating: When a customer replies to a ticket, the status does not change to Reopened. Instead, it remains in Waiting on Customer, even after the customer’s response
                                  • Configuring Email Notifications with Tautulli for Plex

                                    Hi I'm new to Zoho. I am from Canada and I have a I use a web based application called Tautulli for Plex that monitors my Plex media server. It also sends a newsletter to my followers. To set this up they require a "From" email address., a smtp server
                                  • Is there a way to automatically add Secondary Contacts (CCs) when creating a new ticket for specific customers?

                                    Some of our customers want multiple contacts to receive all notifications from our support team. Is there a way to automatically add secondary contacts to a ticket when our support team opens a new ticket and associates it with an account? This would
                                  • How to Set Up Zoho Mail Without Cloudflare on My Website

                                    I'm having some trouble with Cloudflare here in Pakistan. I want to configure Zoho Mail for my domain, but I'm not sure how to set it up without going through Cloudflare. My website, https://getcrunchyrollapk.com/ , is currently using CF, but I'd like
                                  • Spam is Being Forwarded

                                    I am filtering a certain sender directly to the Trash folder. Those messages are still being forwarded. Is this supposed to happen?
                                  • IMAP Block

                                    My two accounts have been blocked and I am not able to unblocked them myself. Please respond to email, I am traveling and this is urgent.
                                  • "DKIM not configured"

                                    Hello. I have been attempting get the DKIM verified but Toolkit keeps sending the message that it is not configured, but both Namecheap and Zoho show it as configured properly. What am I missing?
                                  • Zoho mail with custom domain not receiving email

                                    i registered zoho mail with my own domain. I can login and access the mail app. I tried to send email from an outlook email account and an icloud email account. Both emails were not received. My plan is free. I also tried to send email from this zoho
                                  • Set connection link name from variable in invokeurl

                                    Hi, guys. How to set in parameter "connection" a variable, instead of a string. connectionLinkName = manager.get('connectionLinkName').toString(); response = invokeurl [ url :"https://www.googleapis.com/calendar/v3/freeBusy" type :POST parameters:requestParams.toString()
                                  • Waterfall Chart

                                    Hello, I would like to create a waterfall chart on Zoho analytics which shows the movement in changes of budget throughout a few months, on a weekly basis. Should look something like the picture below. Does anyone know how to?
                                  • Help Center and SEO: Any Benefit to My Domain-Mapped Website Ranking?

                                    First of, I love the Help Center which I've just decided to integrate into my website to replace its old-fashioned FAQs. So much more to achieve there now! Lots of new benefits to the site visitors and to me in terms of organizing and delivering all the
                                  • Issue with Importing Notes against Leads

                                    Hi, I am attempting to import some Notes into Zoho CRM which need to be assigned to various Leads. I have created a csv file which I am testing that contains just one record. This csv file contains the following columns: Note Id Parent Id       (I have
                                  • Trigger a Workflow Function if an Attachment (Related List) has been added

                                    Hello, I have a Case Module with a related list which is Attachment. I want to trigger a workflow if I added an attachment. I've seen some topics about this in zoho community that was posted few months ago and based on the answers, there is no trigger
                                  • Creator Add Records through API - Workflows not triggered ?

                                    Hi Everyone, I am trying to add records to my Creator application through a third party app that I am developing. Currently, I am testing this through Postman. The records I need to add have a lot of workflows to run to populate dropdowns, fields, use
                                  • Zoho Error: This Operation has been restricted. Please contact support-as@zohocorp.com for further details

                                    Hello There, l tried to verify my domain (florindagoreti.com.br) and its shows this error: This Operation has been restricted. Please contact support-as@zohocorp.com for further details. Screenshot Given Below -  please check what went wrong. Thanks
                                  • Important Update: Changes to Google Translate Support in Zoho SalesIQ

                                    We’re updating our default chat translation options across all Zoho SalesIQ data centres to offer a more secure, in-house solution for your translation needs. What’s changing? We will be offering Zoho Translate (our in-house tool) as the default translation
                                  • FSM Improvement Idea - Show an Import button when there is no data

                                    I am setting up FSM for a client and I noticed that there is no option to import data, see screenshot below. Even when you click Create Contact there is only an option to Import from Zoho Invoice. It is only after you add at lease 1 record that the Import
                                  • Zoho CRM Community Digest - July P1 | 2025

                                    Hey everyone, The start of July 2025 marked a special milestone: 200 posts in our Kaizen series! For those new here, Kaizen is a go-to series for Zoho CRM developers, where we regularly share best practices, tips, and expert insights to help you build
                                  • can't login Kiosk URGENT

                                    already try, can't login pls help to support. thanks.
                                  • Join our BI & Analytics Workshop at Zoholics UK 🇬🇧

                                    Hello users, We are thrilled to announce a hands-on workshop at Zoholics UK, 2025, led by Ashwinth and Alan, our Product Experts. This session is designed for anyone who wants to move beyond raw data and truly understand their business performance using
                                  • What’s New in Zoho Expense (April – July 2025)

                                    Hello users, We're happy to bring you the latest updates and enhancements we've made to Zoho Expense over the past three months, which include introducing the Trip Expense Summary report in Analytics, extending Chatbot support to more editions, rolling
                                  • Weekly Tips: Insert frequently used phrases in a jiffy using Hotkeys

                                    You often find yourself using similar phrases in an email —like confirming appointments or providing standard information. Constantly switching between the mouse and keyboard interrupts your flow and slows you down.Instead of typing the same phrases over
                                  • Undo Command in Notebook

                                    It would be handy to have an Undo in the row of icons at the bottom of the notes.
                                  • Improved UI for a Seamless User Experience - Calls, Tasks, and Meetings

                                    Hello all, We are making UI unification across CRM so that the UI experience is seamless across the product. As part of that effort, we have made changes to the details page of activity-based module records—Meetings, Calls, and Tasks. Let's look at these
                                  • New Customization options in the module builder: Quick Create and Detail view

                                    Hello everyone, We have introduced two new components to the module builder: Quick create and Detail view. The Quick Create Component It is a mini form used to create a record and associate it to the parent record from a lookup field. For example, if you have a Deals lookup in the Contacts module, then you can associate existing deals or create a deal and associate it with the contact. You can customize this Quick Create form by adding standard as well as custom fields. There is no limit to the number
                                  • Unable to send message; Reason:554 5.1.8 Email Outgoing Blocked

                                    Hi, I sent few emails and got this: Unable to send message; Reason:554 5.1.8 Email Outgoing Blocked And now I have few days since I cant send any email. Is there something wrong I did? Also can someone fix this please
                                  • Next Page