Scripts in Qntrl | Qntrl | Bridge | Online Help | Larger script execution made easy in Qntrl

Scripts


Early Access  

Scripts module is not enabled for all users. If you’d like to try it out, please email our support team for early access.

Scripts module helps to simplify message execution for larger scripts. While simple commands can be executed directly in the Message module, complex larger scripts that involve a series of tasks or multiple commands can be saved as a script file in this module. The saved scripts can be executed in the specified machine by passing the script name in the JSON request of the message.

Create a Script   

To create a new Script:

  1. Click the settings gear iconat the top-right of the header bar.

  2. Navigate to Advanced >> Bridge >> choose Scripts.

  3. Click New Script button.

  4. Feed in the required New Script details.

            Name: Give a name with a file extension to identify the Script (e.g.: display.sh/display.ps1).
            Description: Provide a description that serves for later reference.
            Script Type: Choose the type of script.
                  Shell Script - For UNIX OS
                  PowerShell Script - For Windows OS
            Script File: If the script is available in a local file you may attach it in this field, and it will be executed in the message.
            Content: Alternatively, the commands that need to be executed can be given directly in this field.
  1. Click Save. A new script will be created. 

      

 

Points to ponder
  1. Either commands can be given in the Content box or you can choose and attach a Script file in the Script File field.
  2. When a script file is attached, the name of the file is assigned to the Name field by default, which can be renamed, and the commands from the attached file will be automatically displayed in the Content box.   

How to execute Scripts in Messages

In request data of the message, the scripts are passed using the following keys:
For Shell Script  
"command": "sh <SSH_DIR>/<scriptFileName>" (Ex: "sh <SSH_DIR>/display.sh")
For PowerShell Script
"script-name": "<scriptFileName>.ps1" (Ex: "script-name": "display.ps1") 

Edit a Script   

To update an existing Script:

  1. Navigate to(settings) >> Advanced >> Bridge >> select Scripts.

  2. In the list of scripts loaded, click on the script name you want to edit.

  3. Make the required modifications and click Save.

      

Delete a script   

To remove a Script from Qntrl,

  1. Navigate to(settings) >> Advanced >> Bridge >> select Scripts.

  2. Hover over the name of the Script you want to delete, click the mouse over action menu, , and select the Delete menu item.

  3. Confirm the delete action.


 


    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








                                    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

                                                                                                      • Manage Server scripts

                                                                                                        Server scripts help you code company-specific business logic to manage database, perform time-consuming processes quickly, and automate activities in your business workflows. These scripts running on a server help you retrieve, display, and ...
                                                                                                      • Business case 4: Set conditions for users to delete cards using Server Scripts (Before Delete)

                                                                                                        Organizations provide permissions and privileges to various sections of staff according to their roles and profiles. In order to make sure that the data within Qntrl can only be deleted by the right personnel, organizations can implement complex ...
                                                                                                      • Business case 6: Delete associated cards from third-party applications (After Delete)

                                                                                                        Automate deleting records in third party applications, such as Zoho Desk or SAP, once they are deleted in Qntrl using the 'After Delete' server script.   Business Scenario Zylker uses Jira to track issues in their products and every bug filed in ...
                                                                                                      • Business case 2: Fetch data from third party websites using Server Scripts (Before Create)

                                                                                                        We might sometimes want to fetch external data from other applications or websites like weather details, stock rates, or flight status related to the card, when we create a card. Server scripts can be used to fetch such data and display it in Qntrl. ...
                                                                                                      • Manage Client Scripts

                                                                                                        Client Scripts are used to incorporate additional validations to business data while they are recorded in Qntrl. In client scripts, you can code using JavaScript and run the code on the end-user’s browser while they are creating a new card or ...
                                                                                                        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