Sign-Up Function in Zoho Vertical Studio | Vertical Studio Help Guide

Sign-Up Function

The Sign Up Function enables developers to configure automated functions to be triggered when a user signs up for the application built using Vertical Studio. Using Sign Up functions, you can adjust various settings, automate initial setup, and enhance the onboarding experience for new users.

This function is particularly useful for tasks such as adjusting user sign-up settings, setting default values, sending out email notifications, configuring custom organization variables, implementing custom business logic, and automating initial setup and configurations.

Creating a Sign Up Function 

To create a Sign Up function:

  1. Log in to the Zoho Developer Console.

  2. Click on Vertical Studio.

  3. Select the application you want to modify.

  4. Click Edit.

  5. In the left panel, click on Startup Actions.

  6. Select Functions > Sign Up Function.

  7. Enter the required code in the Deluge Script Editor.

  8. Click Save & Execute to test the code, or simply Save.

Notes

Note

Please note that the Sign Up function is version-dependent. Any updates will be reflected in the next version of the application. 

Modifying or Deleting a Sign Up Function 

  • To modify the Sign Up Function, update the code in the Deluge Script Editor and click Save.

  • To delete the Sign Up Function, remove all the contents from the Deluge Script Editor and click Save.

SignupMap 

The SignupMap is an argument passed to the Sign Up Function.You can use signupMap to retrieve the Organization ID during the user sign-up process..

To retrieve the Organization ID, use the following syntax:


<variable_name> = input.signupMap.get("organizationId");

Replace <variable_name> with the variable you want to assign the Organization ID to.