Create a function from templates
Learn how to create a function from built-in templates.
To create functions, you must have a basic understanding of JavaScript functions. For more information, see JavaScript and Functions in MDN Web Docs.
In the “Choose a template from library” dialog, select the template on which the function is based:
- Click Functions in the Categories section.
- Select an object from the dropdown list.
- Select a template in the Functions section. Available templates vary depending on the object you selected in step b.
Optional: In the Create New Logic dialog, update the prepopulated information as needed:
- Name
- Description
Optional: Update the JavaScript code and test the function. For more information, see Test a function.