Triggers, Events, and Functions | Online Help | Zoho Projects

Triggers, Events, and Functions

Triggers are used to respond to an event. Create triggers to associate Functions with Events. Let's say you want to trigger an email when a task is created. You can create a send mail function. Next, create a trigger and associate the send mail function with the create a task event. An email will be sent when a task is created. Zoho Projects supports the following events:

Extension triggers: 
  1. Run an extension
  2. Stop and extension
  3. Install an extension
  4. Uninstall an extension
  5. Disable an extension
  6. Enable an extension
  7. Update an extension
  8. Upgrade an extension
Project triggers: 
  1. Create a project
  2. Update a project field
  3. Add comment to a project
  4. Archive a project
  5. Unarchive a project
  6. Delete a project 
Task triggers: 
  1. Delete a task
  2. Create a task
  3. Add comment to a task
  4. Update a task field
  5. Attach a task document
Other triggers: 

Create a function

Functions let you customize your extensions by connecting other cloud services. Functions can be associated with events in Zoho Projects such that they are triggered when a particular event takes place. Let's create a sample function to send an email.
  1. Navigate to Functions module and click Add Function in the top right corner.
  2. Enter a function name and give a description.
  3. Click Create.
  4. Open the newly created function.
  5. Drag and drop the send mail function under the Notifications section.
  6. Specify the sender and recipient email address, the email subject, and the main text.
  7. Click Edit to add place holders to your email.
  8. Click Update.


To fetch the details of the current task, use data.get("task_detail");

Create a trigger

  1. Navigate to Extension module and hover over your extension and then click .
  2. Navigate to Triggers and then click Add Trigger.
  3. Enter a name for your trigger.
  4. Select the event for which you want the trigger to be fired.
  5. Select a function to associate with your trigger.
  6. Choose the function version.
  7. Click Create

    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
                          Offline 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

                          Form Designer HR

                          Card Forms Food
                          Assign Forms Photography

                          Translate Forms Real Estate
                          Electronic Forms

                          Notification Emails for Forms Alternatives
                          Holiday Forms Google Forms alternative 
                          Form to PDF Jotform alternative





                                            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

                                                                                                              • Schedule Functions

                                                                                                                What is the Schedule Function? The Schedule Function allows you to execute custom functions based on a specified schedule such as hourly, daily, weekly, or monthly. This feature can be used for recurring actions, like generating monthly reports or ...
                                                                                                              • Schedule Events

                                                                                                                Scheduling an event with your team will help you track the status of work. Say for instance, if you are approaching a milestone and you would like to know the status of the milestone, how many tasks are completed, how many are in overdue etc. then ...
                                                                                                              • View Events in Calendar

                                                                                                                Zoho Projects calendar displays on tasks, milestones, issues, and events for any time period. In addition, you can also delete the created project events. View Events To view all the project activities like the task, milestone, bugs, and events in ...
                                                                                                              • Custom Functions for Projects

                                                                                                                Automate your project workflow using Custom Functions. A custom function is a software code that can be used to automate a process. In Deluge, you can write your own function and call it from one or more Workflow rules. It is similar to Javascript's ...
                                                                                                              • Custom Functions for Tasks

                                                                                                                Automate your tasks workflow using Custom Functions. A custom function is a software code that can be used to automate a process. In Deluge, you can write your own function and call it from one or more Workflow rules. It is similar to Javascript's ...
                                                                                                                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