Automate a mailer to a set of users

Automate a mailer to a set of users

Requirement

Send season's greetings automatically to all the employees in an organization on the chosen day.

Use Case

In a typical employee management application, the Employees form will track employee details. Sending emails is the official way of communication. Season's greetings can also be sent by email, which can be scheduled to run on specific dates based on the list of holidays entered using the Holidays form.

Steps to follow

1. Create two forms with the following details:
Form
Form Link Name
Field Type
Field Name
Field Link Name
Holiday List
Holiday_List
Date
Date
Date
Single Line
Occasion
Occasion
Employee
Employee
Name
Name
Name
Address
Address
Address
Date
Date Of Birth
Date_Of_Birth
Single Line
Department
Department
Email
Official_Email
Official_Email

The Official Email field holds the email address to which the season's greetings will be sent.

2. Add a few records to the Holidays form.
 
3. Create a schedule to run on the dates in the All Holidays List report. Create a schedule based on the date field:
 
4. This schedule will be executed based on the Date field of the Holiday List form. This needs to be executed once on the dates in the All Holidays List report. (The dates may change from year to year, so it is advisable to have a new list every year.)
 
5. Click Add New Action and select Deluge Script. Add the below sendmail Deluge code for triggering the season's greetings for every employee in the All Employees report, and click Save.
  1. //Send mail to all the employees in the organization
  2. for each employee in Employee[ID != null]
  3. {
  4.   sendmail
  5.   [
  6.     from :zoho.adminuserid
  7.     to :employee.Official_Email
  8.     subject :"Season's greetings!"
  9.     message: "<div><img src=\" https://image.shutterstock.com/image-vector/seasons-greetings-brush-calligraphy-banner-260nw-1201986319.jpg\"> <br></div><div> Hi " + employee.Name) + ", <br></div><div> Here is wishing you the best this holiday! Happy " + input.Occasion + " from all of us!<br></div>"
  10.   ]
  11. }

The above code sends emails on the dates entered in the All Holidays List report.

See how it works

Points to Note

  • An automated email to each employee on their birthday can also be implemented similarly. Create a schedule to run annually on the Date Of Birth field of the Employee form. Click Add New Action and select Notification > Send mail (since the email is to be sent to one employee at a time). Configure the email to be sent in Send mail and click Save:
  1. Schedule
  2. Sendmail

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          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







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsTypeform alternativeSecure Forms

                              WCAG

                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now






                                                            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

                                                                  Use cases

                                                                  Make the most of Zoho Desk with the use cases.

                                                                   
                                                                    

                                                                  eBooks

                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                                   
                                                                    

                                                                  Videos

                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                                   
                                                                    

                                                                  Webinar

                                                                  Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                   
                                                                    
                                                                  • Desk Community Learning Series


                                                                  • Meetups


                                                                  • Ask the Experts


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner



                                                                    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 Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now










                                                                                                                            • Related Articles

                                                                                                                            • Understanding users

                                                                                                                              This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. 1. What does this page cover? Learn about users who can be added to your organization and how they can access the ...
                                                                                                                            • Assign permissions dynamically to users in the application

                                                                                                                              Requirement When a customer is added to the application, the application is instantly shared with the user, with the required permissions. Use Case In the order management application, a customer might sign up on the go once the business is live. All ...
                                                                                                                            • Adding users

                                                                                                                              This help page is for users in Creator 6. If your are in the older version (Creator 5), click here. Know your Creator version. Zoho Creator allows you to share your applications by adding users to your account. These users will have access to the ...
                                                                                                                            • Understanding sending an email notification

                                                                                                                              Understanding sending an email notification on form submission You can enable your users to automatically receive an email notification when they submit an entry through your form. Most importantly you can send this email from a different From ...
                                                                                                                            • Schedule a monthly email with report as pdf

                                                                                                                              Requirement Schedule a monthly sales report to the sales manger in a PDF with stats on achieved sales versus target for the month. Use Case A sales management app records sales activities and numbers to track the performance of its sales team and the ...
                                                                                                                              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