Custom widget

Custom widget

Intro

The Custom Widgets provide a space to display custom created widgets that can be created by using the 'User Statistics-blocks' in flows. Each of these blocks store statistics that can be used as input for simple formulas to create a Custom Widget.

Steps

In order to make this widget work, you can follow the following steps.

1. Create a variable in the dialog manager to count your metric

In the dialog manager you can use the "user-statistic block" to create a custom measure point somewhere in your dialogs design. Drag and drop an action block onto the flow to place it.

2. Name your output variable of the user statistic block

Select the user-statistics block and define a variable name in the right menu.

3. User the variable to create a formula for the custom widget

Go to the bot settings and the custom widget tab. Here you can create formula's, based on the variables to create custom metrics in your widgets.

Access your saved variables in the inputfield by typing [.

(if a variable doesn't show yet, make sure you've saved your flow)

4. Save your custom widget setup and view your metrics in the dashboard widget