Type "email"
If you are writing a function that requires enter emails, you can use environment variables of type email in your implementation. Then our platform will ask consumers to enter their value during installation.
The type email variables allow consumers of a function to enter any email values. It is displayed in the installation UI form as an input email element (see image below).
Example of a type "email" environment variable definition
Example of how to consume the value of the environment variable within the function implementation
Properties of the type
property | type | required | default | description |
name | string | yes | - | The name of the environment variable. This should be unique for each variable. |
description | string | no | - | The description of the environment variable. |
default | string | no | - | The default value for the variable. |
required | bool | no | false | Specifies that a variable must be filled out before submitting. |
Last updated