Tutorial - creating menu item
This section presents a step-by-step solution to creating menu item with a process of type "USSD App". In the beginning of this tutorial, there are 2 menu items already defined. As a result, selected menu variant will have 3 options to choose from, each executing a different process.
Requirements
- User is logged in.
- Application has simulator available.
- User chose the application.
Steps to follow
Open
MENU BUILDERtab, if it's not already opened.Click the
A new and empty menu item appears.CREATE NEWbutton in Menu builder.Click the newly created item to expand it.
Change
Selected processtoExternal USSD Appin the newly created menu item.Fill the
USSD App Idfield.Click the
Define New Processbutton.Enter
ProcessId.Click the
Add Next Parameterbutton.Type in a name for a parameter. In this example we use
This example regular expression represents an amount of money to transfer from ₦1 to ₦9999.Cash Amount. Choose type of regex andRegex valueof[1-9]\d{1,4}.Apply by clicking the
A newly added parameter is now present.APPLYbutton.Enter the newly created parameter's value. This also gets rid of the validation error.
Click the
The button may be inactive, when there are errors in any of the menu variants and their menu items. Entering correct values fixes this issue and allows to save the changes. Upon saving, the changes are available after a few seconds. It's important to remember that menu on its own is not usable. It has to be linked to some shortcode string definition, in order to be accessible. Creating such link is explained in the next tutorial.SAVE CHANGESbutton to apply the newly created menu.