Twake
⬅️ Go on twake
Search…
☀️ Twake
Getting started
▶
Use Twake on twake.app
🏗
Install on your server
⚙
Configuration
How to use it
👋
Welcome to Twake !
🧰
Console
🏢
Company & workspace
💠
Applications
🖥
Desktop and mobile app
🔒
Privacy
Developers API
🏠
Home
🥇
Getting started
Create your first application
Authenticate with Postman
Send a message with your application
Trigger action from command
⚙
Application settings
📖
API Reference
🧱
Blocks
Internal Documentation
🥇
Get started
🎨
Twake Ecosystem Guidelines
📚
Our stack
🧱
Backend and APIs
🖥
Web, desktop and mobile
🎭
Translation
Powered By
GitBook
Trigger action from command
Trigger action from command
Introduction:
This guide will introduce you to trigger action from your application using command
Prerequisites:
You have already created a Twake application.
Your application is installed and saved in your company.
Steps:
1. Let your application listen to command
Go in your app developer's setting:
Click on your username in the top left corner
Go to workspace settings
Go to integrations
Click on the three-dot next to your application
Open developper setting
Click on display
You will find and editable object containing a twake object
Add a new property commands in this object like this:
"commands" : [{"command": string, "descritpion": string }]
The first property of commands is command that let you define a name for your command, by default the command name is the name of your application.
The second property of command is description that let you describe the way to use the command you want to define.
2. Use your command in a channel
In the message editor write /command
A popup displaying the description on how to use the command related to your application should open.
Previous
Send a message with your application
Next - Developers API
Application settings
Last modified
2mo ago
Copy link
Contents
Introduction:
Prerequisites:
Steps:
1. Let your application listen to command
2. Use your command in a channel