Aimylogic's block is a functional unit that performs some action in the bot's scenario. For instance, Text block just outputs some text bubble in the chat or synthesises some speech in voice assistants. HTTP Request block can send a request to some external web service or API to fetch some data. There is a palette of blocks in Aimylogic that can be used in every scenario.

You just place a block in the screen of scenario. Bot jumps to the screen and starts to execute blocks step-by-step, from the top one to the bottom. Each block performs some action and returns a result.

Block preferences

Each block has some preferences. Once you add a block to the screen, a preference window appears. Here you can define some parameters according the block functionality.

Thus you can define Javascript expressions in Conditions block. Or URL and variables in HTTP Request.

Variables

Some blocks can generate variables. For example HTTP Request block can create variables from the web service's response, Intents block can create variables for every entity extracted from the user's query. Each variable then can be used in bot's scenario once it was created by some block.

Transitions

Some block just generate an output of the bot (like Text or Image blocks). Others control the flow of scenario providing the way to make transitions between scenario's screens.

For example Intents block creates a connector for each intent. You have to connect this connector with some screen in scenario to implement a flow of your scenario. Once the user says something that matches the intent, bot jumps to another screen that is connected with this intent.
Was this article helpful?
Thank you!