No Ability to Rename Record Template PDFs in SendMail Task

No Ability to Rename Record Template PDFs in SendMail Task

As highlighted previously in this post, we still have to deal with the limitation of not being able to rename a record template when sent as a PDF using the SendMail Task. This creates unnecessary complexity for what should be a simple operation, and I'm hoping the Zoho team can address this in a future update. 

The Issue According to the official SendMail documentation, you can attach Record Templates as PDFs using the following syntax:
sendmail
[
    from: zoho.adminuserid
    to: input.customer_email
    subject: "Invoice"
    message: "Please find your invoice attached"
    Attachments: template:Invoice_Template:Form_Name record_id as PDF
]
However, the PDF filename is automatically generated based on the template name and cannot be customized or renamed programmatically. This creates unnecessary complexity for what should be a simple operation, and I'm hoping the Zoho team can address this in a future update. The Issue According to the official SendMail documentation, you can attach Record Templates as PDFs using the following syntax:
sendmail
[
    from: zoho.adminuserid
    to: input.customer_email
    subject: "Invoice"
    message: "Please find your invoice attached"
    Attachments: template:Invoice_Template:Form_Name record_id as PDF
]
However, the PDF filename is automatically generated based on the template name and cannot be customized or renamed programmatically. The Problem When clients require specific PDF naming conventions (e.g., "ClientName_Invoice_2024.pdf" instead of "Invoice_Template.pdf"), there is no straightforward solution.
Workaround Approach Implementation Problems Status
Manual Export User exports PDF manually and uploads to file field - Not acceptable for automated workflows
- Defeats purpose of automation
- Poor user experience
✗ Not viable for production
Email-to-Form API Send PDF to another form, fetch via GET API, rename, then send - Does NOT work "On Add → On Success"
- Timing/race condition issues
- Only works manually updating record
- Requires additional forms and complexity
✗ Unreliable without delays
Scheduled Workaround Use scheduled task to trigger GET request and rename - Introduces unnecessary delays
- Overcomplicated for simple task
- Requires schedule management
⚠ Works but highly inefficient
Example of Current Complexity To accomplish what should be a simple filename rename, developers must implement this convoluted workaround:
// STEP 1: Send PDF to intermediate form via email
sendmail
[
    from: zoho.adminuserid
    to: "capture_form@creator.zoho.com"
    subject: "Temp PDF"
    Attachments: template:Invoice_Template:Form_Name record_id as PDF
]

// STEP 2: Schedule a task (not immediate!)
// Wait for email to process...

// STEP 3: Fetch the file via API
file_response = invokeUrl
[
    url: api_endpoint
    type: GET
    connection: "creator_connection"
];

// STEP 4: Rename using setFileName
file_response.setFileName("CustomFileName.pdf");

// STEP 5: Finally send with renamed file
sendmail
[
    from: zoho.adminuserid
    to: input.customer_email
    subject: "Invoice"
    Attachments: file:file_response
]
This entire process requires:
  • Additional form creation
  • API connection setup
  • Schedule configuration
  • Complex error handling
What Should Happen Instead
Proposed Solution: Add a simple filename parameter to the SendMail attachment syntax:
sendmail
[
    from: zoho.adminuserid
    to: input.customer_email
    subject: "Invoice"
    Attachments: template:Invoice_Template:Form_Name record_id as PDF filename:"Custom_Name.pdf"
]
Or allow variable-based naming:
pdf_name = input.Client_Name + "_Invoice_" + input.Invoice_Number + ".pdf";

sendmail
[
    from: zoho.adminuserid
    to: input.customer_email
    subject: "Invoice"
    Attachments: template:Invoice_Template:Form_Name record_id as PDF filename:pdf_name
]
This single parameter would eliminate hours of workaround development and make PDF naming consistent with client requirements.
Real-World Impact
This limitation affects any business process requiring:
  • Branded invoices with client-specific naming conventions
  • Compliance documents with standardized filename formats (e.g., "CompanyName_ISO_Certificate_2024.pdf")
  • Automated reports sent to clients who need predictable filenames for their filing systems
  • Quote/proposal systems where filename needs to include reference numbers
  • Any professional service where PDF naming impacts client experience

Developer Impact: What should take 30 seconds (adding a filename parameter) instead requires hours of workaround implementation, creating technical debt and maintenance overhead.

Request to Zoho Team

Can this be addressed in a future update?

This is a frequently requested feature that impacts professional presentation and client satisfaction. The current implementation forces developers to choose between:

1. Default Naming
Accept generic template-based filenames that don't meet client requirements
2. Complex Workarounds
Spend hours implementing unreliable solutions with scheduled tasks and API calls

We shouldn't have to make this choice for such a basic requirement.

Community Input Requested: Has anyone else encountered this limitation or found a more reliable workaround? This has been an ongoing frustration, and I know many developers would benefit from a native solution.


📚 Documentation References:


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






                                ご検討中の方

                                  • Recent Topics

                                  • Zoho Invoice Customer Login Portal

                                    Are there any plans for a customer portal to Zoho Invoice, ala Freshbooks?  I would like customers that I invoice to be able to login to review invoices and invoice history.  I have not switched from Freshbooks for this very reason.
                                  • Exporting tickets

                                    I went to Setup -> Organization -> Import/Export in order to export tickets but found 2 issues: 1. The email body never gets exported. 2. There are some large numbers (like 5.57E+16) under certain columns of the exported CSV file. I could not find any export options. Please can you help with this?
                                  • Editing the Ticket Properties column

                                    This is going to sound like a dumb question, but I cannot figure out how to configure/edit the sections (and their fields) in this column: For example, we have a custom "Resolution" field, which parked itself in the "Ticket Information" section of this
                                  • Copy field information to clipboard

                                    I need to be able to transfer some field information in to the clipboard, so that I can then paste it in to our helpdesk system. Is there a way I could add a button to a detail report that does this?
                                  • Issuing reconciling a bank statement

                                    HELP! I'm trying to reconcile a bank statement. The prior month reconciled perfectly. Beginning balance is correct yet I'm off by the same amount each time. Both myself and my office manager, separately and together, have tried to complete this reconciliation
                                  • Unknown table or alias 'A1'

                                    I would like to create a subquery but i am getting the following error: Unknown table or alias 'A1' used in select query. This is the sql statement:  SELECT A1.active_paying_customers, A1.active_trial_customers, A1.new_paying_signup, date(A1.date_active_customers), 
                                  • Detect and ignore bots in visitors

                                    The SalesIQ visitor numbers are basically useless to us because there is no bot detection. We get the same bots coming in from the same countries looking at the same pages every day. It can't be that difficult to tell the difference between an actual
                                  • Add Real-Time Microphone Audio-Level Indicator During Screen Recording

                                    Hi Zoho WorkDrive Team, Hope you are doing well. We would like to request an important enhancement to the Zoho WorkDrive screen-recording experience. Current Limitation: During a recording session, there is no visual indication that the microphone is
                                  • Zero Personalization of the File Sharing Experience

                                    By now (2025) this is the maximum level of personalization available for a Zoho sharing link. We gently asked Zoho if we could modify at least the background, and they replied that it cannot be customized. We're truly disappointed – and surprised every
                                  • External Share > Edit: Cannot Create Zoho Files

                                    Hi Zoho, When we create an external share link with Edit permission, our external users are unable to create a Zoho file (Zoho Writer, Zoho Sheet and Zoho Show). They can only upload files. They can edit the Zoho files if we create them internally and
                                  • Two factor authentication for helpdesk users

                                    The company i work for wants use the helpdesk site in Zoho desk, as a place for their distribution partners to ask question and look for information about our product. The things there is suppose to go up there is somewhat confidential between my company
                                  • Kiosk can't merge picklist or multiselect

                                    There is no ability to load a multiselect or picklikst field into a kiosk with the values that have been previously selected. So, I essentially have 3 unacceptable options: 1.)Load the value into a text string and include instructions like this: "Picklist
                                  • AGE field from DATE OF BIRTH Field.

                                    HI! I have a field called date of birth in my CRM (LEADS, CONTACT etc…)     How can I know the AGE today   I would like to create a field AGE. I now how to create a field but I don´t which calculation (CUSTOM FUCTION) to make ¿ANY HELP?
                                  • How to update/remove file in zoho creator widgets using javascript API

                                    Hi Team, I have developed a widget which allows inserting and updating records I have file upload field with multiple file upload. Now while doing insert form record, I am using uploadFile API to upload files for that record. I am using updateRecord API
                                  • Introducing Enhanced Storage Management

                                    We’re excited to roll out two new enhancements in Zoho Recruit, Subscription Information and Storage Management — designed to give admins complete visibility into subscription details, feature limits, and storage consumption — all from one place inside
                                  • Announcing new features in Trident for Windows (v.1.34.4.0)

                                    Hello Community! Trident for Windows just got better! With this update we have features that make your daily work easier and more efficient. We've added some features that are exclusive to our app and we're sure you'll find them useful. Let’s dive into
                                  • Report Hover Setting

                                    Would be great if we will able to show information to the user while hovering a record in a report.
                                  • Vertical images displayed as horizontal

                                    Some pictures that originally are in vertical position are displayed in horizontal after the upload. It seems that system rotates them by 90 degrees. How can I fix this issue?
                                  • Zoho Desk iOS app update: Saved filters and sort options

                                    Hello everyone! Saved filters created on the web(desk.zoho.com) for tickets are now accessible on the Zoho Desk iOS app. You can easily rename, delete, or clear filters on the go. We have also introduced Sort options on the ticket listing screen, allowing
                                  • Introducing VeriFactu Support in Zoho Books

                                    Hello users, Spain has introduced the VeriFactu system under Real Decreto 1007/2023 to ensure integrity, traceability, and anti-fraud compliance in e-invoicing. Starting January 1, 2026, all B2B invoices must be reported to Agencia Estatal de Administración
                                  • Big Things Just Dropped in the SalesIQ Universe: Top Upgrades You’ll Love in Nova’25

                                    Nova'25 has landed, and it’s packed with meaningful upgrades to help you engage smarter, work faster, and scale with ease. Whether you're into proactive messaging, smarter automation, or better admin control, there's something here for everyone. Here's
                                  • Time Entries in Analytics

                                    I am trying to import a zoho sheet into zoho analytics. In my sheets one of the columns has "time Entries" in this "format HH:MM am/pm" example 11:00 PM. After import, i noticed that analytics converted the time to "00 Jan 1900 23:00:00".. how do i maintain
                                  • Amazon invoice in Zoho Books

                                    I have just made my first few sales on Amazon India. Amazon Seller account generates invoices for the sales made on Amazon. These invoices are sent to customers also. Now when I was only making offline sales, I used to create Invoices in Zoho Book. Now
                                  • Zoho Creator Upcoming Updates - November 2025

                                    Hello everyone, Welcome to your monthly roundup of new features and enhancements! We hope you've already taken a look at Release Projection 2—it details the features coming your way for the rest of the year. And this month, we're excited to start rolling
                                  • Zoho Webinar + HubSpot : Simplifiez la gestion de vos données de webinaires

                                    Les webinaires sont aujourd’hui essentiels pour interagir avec vos prospects et vos clients. Cependant, la gestion des données entre plusieurs plateformes peut vite devenir complexe. Grâce à la nouvelle intégration entre Zoho Webinar et HubSpot, vos outils
                                  • I am trying to give access to one of our educators access to 3 forms in Zoho and she is not able to view the data - Access issue

                                    Hi Team, When I try to provide read access to one of our educators on Zoho for Pre-training , post training and Impact survey forms submit form access which also allows them to read , it does not show them data
                                  • How to book GST paid in zoho books

                                    hi, i am a new user to Zoho books and not able to book GST paid in books, kindly suggest how i can book it in books. thanks, siddharth
                                  • PUNJAB NATIONAL BANK (CORPORATE) INDIA - NOT AVAILABLE IN BANKING

                                    Dear sir, Kindly fix it. PUNJAB NATIONAL BANK (INDIA) is available but PUNJAB NATIONAL BANK (CORPORATE) is not available. Kindly enable this banking since we need to categorize the entries. Regards, Sanjay Jena email id/ user id : travewithmerchant@
                                  • Is it possible to create a word cloud chart in ZoHo Analystics?

                                    Hi there, I have a volume of transaction text that I would like to analyse using word cloud (or other approcah to detect and present word frequency in a dataset). For example, I have 50,000 records describing menu items in restaurants. I want to be able
                                  • Kaizen #216 - Actions APIs : Email Notifications

                                    Welcome to another week of Kaizen! For the last three weeks, we have been discussing Zylker's workflows. We successfully updated a dormant workflow, built a new one from the ground up and more. But our work is not finished—these automated processes are
                                  • Facturation électronique 2026 - obligation dès le 1er septembre 2026

                                    Bonjour, Je me permets de réagir à divers posts publiés ici et là concernant le projet de E-Invoicing, dans le cadre de la facturation électronique prévue très prochainement. Dans le cadre du passage à la facturation électronique pour les entreprises,
                                  • Your bot just got smarter: AI-Powered routing that reads between the lines

                                    What if your bot could tell the difference? Between a visitor who just needs a quick answer, someone actively comparing options, and a frustrated customer one click away from leaving? Most bots can't. They deliver the same response to everyone, missing
                                  • Weekly Tips : Master Keyboard Shortcuts in Zoho Mail

                                    If you spend a lot of time managing emails, switching between your mouse and keyboard can slow you down. Whether you are replying to clients, organizing your inbox, or searching for messages, every second counts. So, how can you streamline your email
                                  • Introducing custom lookup fields in the Tickets, Contacts, and Accounts modules

                                    Hello all, We are excited to announce a new enhancement that will empower you to further customize the Tickets, Contacts, and Accounts modules. Now, you will be able to create custom lookup fields in your Tickets, Contacts, and Accounts layouts for more
                                  • DKIM cannot be enabled for the domain as no verified default selector present

                                    Can't get the DKIM working. May you please check my account (nksy.us) to see what's wrong?
                                  • Contacts per department

                                    Hello, Is it possible to limit Contacts to a Department? Thanks
                                  • Collections Management: #3 Tackling Payment Failures

                                    Sam refreshed the dashboard. "Payment failed". Same customer. Same subscription. This is happening for the third time. He sends a usual email: "Your renewal payment failed again. Could you please check and retry?" A couple of days passed, and there was
                                  • How do I increase the email attachment size in Zoho CRM ?

                                    It looks like I'm limited to 10MB when sending an attachment using the email widget on a record in Zoho CRM. Is there a way to increase the size? Or can I use some other tool? From what I'm reading online, I'm maxed out at 10MB. Any insight would be greatly
                                  • Custom Field in Zoho Projects pulling into Analytics

                                    We have a client that we have built our their new business process using Zoho Projects, and we have build a lot of custom fields with their their Projects where they are capturing specific data points that we want to be able to track and pull data, as
                                  • WhatsApp Channels in Zoho Campaigns

                                    Now that Meta has opened WhatsApp Channels globally, will you add it to Zoho Campaigns? It's another top channel for marketing communications as email and SMS. Thanks.
                                  • Next Page