Basics
USSD DSL Getting Started
Getting Started with USSD DSL
Build interactive USSD applications using our simple, declarative domain-specific language (DSL). This guide walks you through creating your first application in under 10 minutes.
Prerequisites
- Access to the Tech231 Platform API
- An API token with USSD deployment permissions
- A registered USSD shortcode for your tenant
Your First Application
-
Create the DSL file
Create a file called
hello.ussdwith this content:Code -
Understand the structure Every USSD application has three key components:
Block Purpose appApplication metadata (shortcode, version, start menu) menuUser-facing screens with text and options actionBackend operations (API calls, data processing) -
Deploy the application Use the deployment API to publish your application:
Code -
Test it
Dial your shortcode (e.g.,
*123#) from a registered test device, or use the testing API:Code
Next Steps
Now that you have a basic application running, explore these topics:
| Guide | Description |
|---|---|
| DSL Guide | Complete syntax reference and best practices |
| Action Chains | Execute multiple operations in sequence |
| Actions Reference | All 12 action types with examples |
| Template Variables | Dynamic content with session data |
| Data-Driven Menus | Build menus from API data |
Quick Reference
Application Block
Code
Menu Block
Code
Action Block
Code
Use dot notation (e.g., Finance.CheckBalance) to organize related actions into logical groups.
Last modified on