Standalone Functions | Administrator Guide| | Zoho People 5.0 help

Standalone Functions - Zoho People

Standalone Functions in Zoho People are custom Deluge-based scripts designed to execute independently when triggered via API calls. These functions accept external parameters, enabling dynamic data processing and logic execution within Zoho People. By using a unique method name and custom input variables, Standalone Functions facilitate seamless integration between Zoho People and third-party systems, making them ideal for automating tasks, syncing data, or extending functionality beyond standard workflows.

Set Up Standalone Function in Zoho People

To set up standalone function in Zoho People:
  1. Navigate to Settings > Developer Space > Standalone Function.


  2. Click Add Standalone Function.


  3. Enter a name for the Standalone Function.
  4. Click Edit Parameters, to define the Method Argument and its data type.
    Idea
    A maximum of 15 parameters can be configured.
    Info
    Arguments are the values passed into a function or method when it's called, while data types specify the kind of data a variable or function argument can hold.

  5. In the Method name, enter a unique method name for the Standalone Function.
    Info
    When invoking a standalone function via an API call, Zoho People needs to precisely identify which method or action to execute. If multiple methods share the same name, it would lead to ambiguity and errors in function execution, as the system wouldn't be able to distinguish between the different methods.
  6. In the deluge section enter you standalone function Deluge code. For more information, refer to Deluge Script - Reference Guide.
  7. Click Save and Execute to run and test the function.
  8. Click Save to save the Standalone Function.

OAuth 2.0 Access

You can make Standalone Functions accessible through the OAuth 2.0 protocol, allowing other applications to connect with Zoho People without needing your username or password. With scopes to control what data can be accessed, OAuth 2.0 ensures that only specific, authorized actions are allowed. This makes it easy—and secure—to integrate Zoho People with third-party systems while keeping your data safe and your privacy intact.

To make a function available through the OAuth 2.0 method, you must first register your client with Zoho People. Please refer to Steps to Generate OAuth Token.

Invoke Standalone Function via Zoho People API

Use the Zoho People API to invoke a standalone function from an external application or system. For API details, refer to Invoke Standalone Function API.

  • Use a POST request to call the standalone function.

  • The API endpoint for executing a standalone custom function is:

    Quote
    https://people.zoho.com/api/v3/function/(\w+)/execute

    Info
    Replace (\w+) with the unique method name of the standalone function, which is available in the standalone function created in Zoho People.

  • In the request body:

    • Specify any input parameters your function requires.

    • Provide the optional parameters in JSON format under the key arguments.

    Example body:

    json
    { "arguments": { "parameter1": "value1", "parameter2": "value2" } }

Test Standalone Function in Postman

You can test the standalone function using Postman:

  1. Open Postman and create a new request.

  2. Connect to the standalone function’s REST API using the following details:

    1. Request method: POST

    2. Authorization: OAuth 2.0

    3. Callback URL: https://oauth.pstmn.io/v1/callback

    4. Auth URL: https://accounts.zoho.com/oauth/v2/auth

    5. Access Token URL: https://accounts.zoho.com/oauth/v2/token

    6. Scope: ZOHOPEOPLE.automation.ALL

    7. Generated Client ID, Client Secret

    8. Pass the arguments to the params property of the APIRequest object, and then execute the function using the POST method.



        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

                                                                                                                                • JS SDK Library - Zoho People (Custom widget and Web tab)

                                                                                                                                  The JS SDK library is a set of APIs which can be used in the widget and web tab to fetch form data from Zoho People without setting any authorization in the API request. For other Zoho People APIs, you must set up connections, refer to Invoke API via ...
                                                                                                                                • Zoho People 5.0 - What has changed?

                                                                                                                                  Changes in Home tab and Self Service Zoho People 4.0 Zoho People 5.0 Landing page is Home > Dashboard Self Service page: New Landing page is Home > My Space > Overview (Replacement for Self service in Zoho People 4.0 with additional features). ...
                                                                                                                                • Settings in Zoho People 5.0

                                                                                                                                  What can you do in settings? Settings lets you set up and fine-tune Zoho People to handle all your organization's HR Processes. It Includes: Setting up your organization's information in Zoho People. This includes basic details such as name, type of ...
                                                                                                                                • Operations in Zoho People 5.0

                                                                                                                                  What can you do in Operations in Zoho People? Manage your employees and organization, and perform day-to-day HR processes in operations. For example, while setting up policies is performed in settings, viewing relevant data, modifying, or updating ...
                                                                                                                                • My Space Tab in Zoho People

                                                                                                                                  What is My Space tab? My space is an exclusive space that revolves around the employee, the user who is currently accessing Zoho People. This space has access to reminders, approvals, and all of the important data that the employee would need to act ...
                                                                                                                                  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