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
Phase triggers:
  1. Create a phase
  2. Update a phase
  3. Add comment to a phase
  4. Delete a phase
Time Log triggers:
  1. Create a time log
  2. Update a time log
  3. Delete a time log
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


        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 FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                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

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG


                                      All-in-one knowledge management and training platform for your employees and customers.

                                                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


                                                                        • Desk Community Learning Series


                                                                        • Digest


                                                                        • Functions


                                                                        • Meetups


                                                                        • Kbase


                                                                        • Resources


                                                                        • Glossary


                                                                        • Desk Marketplace


                                                                        • MVP Corner


                                                                        • Word of the Day


                                                                        • Ask the Experts


                                                                          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

                                                                                                                                  • Custom Functions for Phases

                                                                                                                                    Automate your phases workflow using Custom Functions. A custom function is a piece of Deluge code that can be used to automate a process. You can write your own function and call it from one or more workflow rules — similar to built-in functions in ...
                                                                                                                                  • Custom Functions for Time Logs

                                                                                                                                    Automate your time logs workflow using Custom Functions. A custom function is a piece of Deluge code that can be used to automate a process. You can write your own function and call it from one or more workflow rules, similar to built-in functions 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 ...
                                                                                                                                  • 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 ...
                                                                                                                                    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