Initialize your chatflow
Create your chatflow
Go to editor.algoan.com, log in in order to create your first chatflow.
Once you've created your chatflow, you can create the first block by clicking the main button.
When you see infos like this:
Attribute | Value |
---|---|
algorithm | displayInfosXYZ |
event api | event_with_action_from_service |
variable | resultFromAction |
you should create a block like this:
the upper right part is just an example of how to use the variable to switch branch depending the data
Definition
Attribute | Definition |
---|---|
event api | The name of the event which will be sent to your service, expecting to trigger actions |
algorithm | The name of the algorithm. Algoan will wait information from your service to send the next message. This will display a message from the data your service has transmitted |
variable | The name of the variable to access data posted by your service. Sometimes you may post data and adjust the chatflow depending on it. e.g.: if an information given by the user has to be validated by your service before deciding to continue the chatflow or sending an other message/switch branch |