Custom properties

You can specify global parameters that all scripts can use so it's easier for content-creators to make simple updates to scripts. Global parameters are added to your chatbot settings as custom properties. Values for these parameters are defined only once and shared by all scripts. 

To access custom properties in your scripts, see the custom properties section of Chatbot properties.

Custom properties are not avaible as chatbot content placeholder chips. If you want values to be available in your chatbot content, use a constant. Constants can be accessed using script user functions.

Custom properties are hidden by default, but you can click the eye icon to reveal their value. 

Looking to define local parameters for an script instead? See Script parameters. Values for script parameters are defined when the script is configured in a passage.

Add a custom property

To add a custom property:

  1. Select your team, and the chatbot you want to edit.
  2. Open the Manage section of the left navigation and click Settings.
  3. Click Custom Properties.
  4. Click the +Property button.
  5. Type the Name of the parameter.
    This is the variable name used in the script.
  6. Type the Value to be used for the property.
  7. Click Save.
Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.