N O T I C E
MSPbots WIKI is moving to a new home at support.mspbots.ai to give you the best experience in browsing our Knowledge Base resources and addressing your concerns. Click here
for more info!
Page History
The rThe Message Command bot block recognizes preset commands that, when sent to MS Teams or Slack, return specific information on demand. If you have specific business needs that are not currently addressed by our preset commands, you can customize commands in this bot block.
...
- Log in to the MSPbots app using your Office 365 account.
- Navigate to Bots on the left menu then click the New Bot button on the Bots screen.
- When the Create a new bot window opens, select Start From Blank > Message Command.
- When the next Create a new bot window appears, fill in the required fields.
- Enter a name in the Bot Name field.
- Identify the Role that will have access to the bot.
- Add a clear Description of the bot. (Recommended)
- Then click Continue to open the Message Command pop-up window.
- In theMessage Command pop-up window, select a Message Tool. If you will use MS Teams to trigger your bot, select Teams, or select Slack if you wish to use Slack instead.
- Then go to the Commands menu, select the command you want MSPbots to recognize, and click Finish.
For more information on the commands available commands for MS Teams, read the section on Teams Command Template Bots.
To use your preferred command, enter your custom command then click Finish. For example, if you want to trigger the attendance bot using the check in command instead of the in command, enter check in.Tip When adding new commands, type commands in lowe case. in lowercase. Example: Type check in instead of CHECK IN.
Note The feature to add custom commands is only supported in MS Teams for now and is not yet available in Slack. Only the nt command and help commands are currently recognized by Slack.
- Click on the Message Command block, then click
- Next, add an Attendance-in block by clicking the generated blank block, typing Attendance-in in the search bar, and selecting Attendance-in.
- Click the Attendance-in block, then click
- Next, add an Alert block by clicking the generated blank block, typing Alert in the search bar, and selecting Alert.
- Next, start configuring the settings. Go to the Message Command block, click
- Verify if the selections for Message Tool and command are the same as your selections in Steps 4 and 5. Click Next once confirmed.
- When the Attendance-in window opens, customize MSPbots' responses for each of the following scenarios:
- Clock in - Success
- Clock in time is outside working hours -or- Clock in time is incorrect
- Clock in update - Success
- Wrong command
- Clock in is done by an invalid account
- When done, click Next to proceed to the Alert configuration window.
- Follow the prompts on the Alert window and configure the Alert block according to your preferences.
- Click Finish.
- Click Save in the upper right corner of your bot's window.
- Verify your settings. Go to MS Teams and type check in. The command should be recognized and return a response based on the configurations you made.
...
Overview
Content Tools