Skip to content

Actions

Tomaz Wang edited this page Feb 13, 2018 · 1 revision

What is an Action

An action is an act that bot is going to do. It can be created by DialogFlow agent or bot itself.

Naming

The action name should be consistent across bot and DialogfFlow setting. Naming an action using lowercase.words. Usually starts with the category, follows by feature name and function name.

Dev actions

The dev category contains actions for testing, experimenting, or config data checking. It usually created by bot when it received a message with the same name.

  • dev.test.buttons
    • dev-env: true
    • created by: bot.
    • when: bot received a text message dev.test.buttons from a user.
    • triggers: line bot to displays a button template with line message api.

User actions

The user category contains actions about processes related to user data. Such as user register.

  • __user.register
Clone this wiki locally