How do I enable trigger functions in my survey?

How do I enable trigger functions in my survey?

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.
    Hub
  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

    • Related Articles

    • Functions

      Set Up Functions   You can set up functions in six places: Create a standalone function. Associate function to a workflow rule. Use functions later by including them in Schedules. Set the function to get executed upon the click of a Custom Button. ...
    • Trigger Function

      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 ...
    • Manage Custom Functions

      Custom functions allow users to develop and execute user-defined functions using Deluge. You can execute simple program snippets to automate processes, or integrate with third-party or Zoho applications.    Business Uses for Custom Functions Custom ...
    • Setting up Functions

      All custom functions programmed by your Developers are listed in the Functions page. By this way, programmers can focus on the developing Deluge Scripts where as CRM Administrators can deploy the thoroughly tested custom functions as per requirement. ...
    • Serverless Functions - Using OAuth2

      Introduction Functions can be made accessible through OAuth2 protocol. OAuth2 method allows you to share specific data with any application while keeping your usernames and passwords private, by having specific scopes which grant access to specfic ...