Learn How to Trigger Functions With Zoho Survey - Online Help Guide

Trigger Functions

Zoho Survey is integrated with Deluge, our online scripting language, which can help you add functions to automatically perform actions when responses are submitted. Use Deluge and APIs to create connections and push data to third-party services or other Zoho products, even if they aren't yet integrated with Zoho Survey. For example, you can set a trigger to create a support ticket in Zoho Desk when a bad review comes in, or send a thank you email every time a response is submitted.

The trigger function screen has the following components:
Syntax: The scripts available on the left pane
Editor: The Deluge editor where you add scripts to trigger actions
Variables: The survey responses for each question to be used in the script, on the right pane
Templates: The pre-written, ready-to-use code
Logs: The log list for debugging purposes
Connections: The connections that you would need to perform integrations within Zoho products

Trigger functions in Zoho Survey

To enable trigger functions in your survey:

  1. Click the Hub tab.

  2. Click the Triggers section.
    triggers
  3. Click Create in the Trigger Function section.
    trigger-function-create
  4. Drag and drop syntax from the left pane into the script editor.
    trigger-function-syntax
  5. Copy variables and templates from the right pane and paste them into the script based on your requirements. Read more about built-in Deluge functions here.
    Templates in trigger function
  6. Click  Keyboard shortcuts in Survey trigger function  to access the keyboard shortcuts.
    Detailed keyboard shortcuts in trigger function
  7. Click Save.
    trigger-function-save

To remove a function:

  1. Click Remove Function in the top right corner of the script builder to remove a function you have added. 
    trigger-function-remove
  2. Click Yes in the confirmation message that opens. 
    trigger-function-remove-confirm

To check the logs:

  1. Click Show Logs in the bottom left corner of the Deluge editor. Use the logs for debugging purposes. 
    trigger-function-show-logs
  2. Click Refresh Logs to update the logs. 
    trigger-function-refresh-logs
  3. Click Hide Logs to close the log window. 
    trigger-function-hide-logs

To add a connection:

  1. Click Manage Connections and select Add Connection. You can perform the following actions here: 
    trigger-functions-manage-connections
  2. Select a service to trigger a function
    1. Select a service in the Pick Your Service section. 
    2. Type a connection name in the Connection Name field. 
    3. If there are scopes available for the service, you can select them from the Scope list. 
    4. Select the checkbox to use the credentials of the logged in user. 
    5. Click Create and Connect
    6. Type the API key into the Please enter the API Key text box. 
    7. Click Save Details
    8. Click Accept to allow the users to access the listed information, and your connection status will change to Connected. 
    9. Click Reject if you don't want to allow them to access the listed information. 
    10. Click Back to go back to the previous page. 
    11. Press esc to close this process. 

To add a service that isn't available as a connection:

  1. Click Custom Service
  2. Type a name for your service in the Service Name field. 
  3. Select an authentication type in the Authentication Type dropdown. 
  4. Select the parameter type in the Param Type dropdown. 
  5. Type a connection name in the Connection Name field. 
  6. Select the checkbox that follows to use the credentials of the logged-in user. 
  7. Click Create and Connect.
    Select a custom service

To edit a connection: 

  1. Hover over the connection and click the edit icon on the All Connections page. 
    trigger-function-edit-connection
  2. Make the necessary changes and click Update.

To view all your connections: 

  1. Click Manage Connections. You will be taken to the All Connections page. 
    trigger-functions-manage-connections 
  2. Click Own Connection to view all the connections you have created. 

To reconnect:

Hover the mouse over a connection and click Connect or click the plug icon trigger-function-reconnect on the All Connections page.


To delete an existing connection:

  1. Hover the mouse over a connection and click Delete on the All Connections page. 
    trigger-function-delete-connection
  2. In the confirmation message that follows, click Yes, Delete
    trigger-function-delete-connection-confirm
    Read more about Deluge here.


        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

                                  Zoho FSM Video Tutorials


                                        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

                                                                                                                                    • Trigger Email Notifications

                                                                                                                                      Triggers are actions or workflows that you can create from within Zoho Survey. Zoho Survey currently supports three triggers, Trigger Emails, Trigger Functions, and Webhook. You can set up automated email notifications for every survey response or ...
                                                                                                                                    • Set Trigger Expiry Conditions

                                                                                                                                      Overview The Trigger Expiry option is used to set an expiration date for trigger activation. How to set trigger expiry conditions Based on the different requirements that may arise, Zoho survey provides the following trigger expiration options: ...
                                                                                                                                    • Create an Email Invitation Trigger Using Pipedream

                                                                                                                                      Overview Pipedream is a powerful tool that connects different applications and automates their workflows. The Zoho Survey and Pipedream integration can help you send timely survey emails or set automated workflows based on the actions performed in ...
                                                                                                                                    • Create an Email Invitation Trigger on Zapier

                                                                                                                                      Send email invitations to your respondents based on actions from other applications by connecting your Zoho Survey account with automation services like Zapier. Through this, respondents can receive feedback emails for purchasing a product on an ...
                                                                                                                                    • Trigger SMS Invitations using Zoho Survey API

                                                                                                                                      Trigger SMS Invitations Triggers are events that cause a certain action to happen when a pre-defined event occurs. With Zoho Survey's SMS triggers, users can send survey forms as trigger invitations. Users can send SMS invitations using the 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