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

    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 Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            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

                                                                                                              • Understand 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 ...
                                                                                                              • Understand sending email notification

                                                                                                                Understand 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 address ...
                                                                                                              • 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 ...
                                                                                                              • Insert records through email

                                                                                                                Requirement When an email is received, content from the email is extracted and used to create records. Use Case The HR team sends an email to shortlisted candidates. Candidates can reply to the email with details that are extracted and added as ...
                                                                                                                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