Send Record Template as an Attachment in Mail

Send Record Template as an Attachment in Mail

Requirement

Send a record summary as a PDF attachment via mail using the Deluge's send mail task.

Use Case

Consider an organization using Zoho Creator to manage POS operations. Whenever an invoice is generated, the invoice record template is promptly emailed to the customer as a PDF attachment.

See how it works

Steps to Follow

  1. Create a form according to your preferences to collect invoice details. In this tutorial, for demonstration purposes, we have used the 'Pay an Invoice' form from the form template.

  2. Navigate to Record Templates in the application settings and Create a record template by selecting the Pay an Invoice form. Name the template 'Invoice'.

  3. Design your record template by dragging and dropping the required elements and fields for your template from the designer, as shown below.

  4. Create a workflow to execute on the successful submission of the Pay an Invoice form, then select the Record Event as 'Created'. Name the workflow 'Send Mail' and click Create Workflow. This workflow will send the invoice to the customer's email and store it in the Email field.

  5. Click Add New Action > Deluge Script and add the following code to the Deluge editor.
  1. //Mail the invoice record template as a PDF attachment to the customer using the Deluge send mail task.
  2. sendmail
  3. [
  4.  from :zoho.adminuserid
  5.  to :input.Email
  6.  subject :"Zylker - Your invoice as on" + input.Date_field
  7.  message :"Dear " + input.Name + ", <br />Thank you for your recent purchase with Zylker. Attached, you will find the invoice for your transaction.<br /> <br />Best Regards <br />Zylker Corp"
  8.  Attachments :template:Invoice as PDF
  9. ]
Where,

Invoice

Represents the link name of the record template can be found in the record template properties.

See How it Works


  1. Send Mail Task
  2. Understand record templates

    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

                                                                                                          • Automatically create daily reports and send current day's reports as email attachment

                                                                                                            Requirement Schedule custom actions to automatically create labour reports everyday at the specified time and send a filtered report of all the reports corresponding to the current day as an email attachment. Use case Let's assume your company has ...
                                                                                                          • Send Page as PDF Attachment via Email

                                                                                                            Requirements Schedule an email to send a Zoho Creator page as a PDF attachment at defined time intervals using Deluge's sendMail task. Use Case To support customer engagement and business promotion, an organization uses the Pages feature in Zoho ...
                                                                                                          • Configure send email action

                                                                                                            To improve email deliverability, we will be following Gmail's updated sender email policy starting from February 1, 2024. This means that Gmail addresses cannot be used as a sender address in the send mail tasks. Learn More To configure an email ...
                                                                                                          • Understand Record Comments

                                                                                                            What Does This Page Cover? Learn about record comments and how your application users can read and add comments to records. Note: Record comments is only applicable to List Report. i.e. Users can only read and write comments to records in list ...
                                                                                                          • Send Promotion Template Messages via WhatsApp with Zoho Creator

                                                                                                            1. Requirement Increase customer engagement and sales efficiency by sending promotions and advertisements directly to customers via WhatsApp by integrating Zoho Creator with WhatsApp Business Platform. 2. Use Case A sales organization uses Zoho ...
                                                                                                            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