Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log in to the MSPbots app using your Office 365 account. 
  2. Navigate to Bots on the left menu then click the New Bot button on the Bots screen.

    You can also start creating a bot from a widget on your dashboard. Click the ellipsis button and select 
    Create Bot.
    create bot-widget
  3. When the Create a new bot window appears, click on Start From Blank > Message Command.
  4. Fill in the required fields for creating a bot. 
    1. Enter a name in the Bot Name field.
    2. Identify the Role that will have access to the bot.
    3. Add a clear Description of the bot. (Recommended)
    4. Then click the Continute button to open the tab with the details and settings for your new bot.
  5. Click Design to enter the Message Command pop-up window.
    Info

    Using the in command as an example, please refer to the other types of message command bots at: How to Configure the Message Command Bot Block.


    • Message Tool - If you want to trigger the bot by sending commands in Teams, please select teams. And if you want to use Slack, please select slack.

    • Command - Select the command you want MSPbots to recognize, or enter a custom command. For example, if you want to trigger the attendance bot using the check-in command instead of the in command, you can enter check-in here.
      Tip
      • Please type commands in lowercase.
      • Currently, custom commands are only supported in Teams and not yet available in Slack.
      • In Slack, only the nt command and the help command are currently supported.

  6. Click Finish button.
  7. Click on the Message Command block, then click on the  under the block, and finally select Add a Block.
  8. Click on the generated blank block, and enter Attendance-in into the search bar, and then click onAttendance-in to add the block.
  9. Click on the Attendance-in block, then click on the  under the block, and finally select Add a Block.
  10. Click on the generated blank block and enter Alert into the search bar, and then click on Alert to add the block.
  11. Click the in the upper-right corner of the Message Command block, and then click Edit to make your settings.
  12. Click Next to configure the Attendance-in block.
  13. Please customize MSPbots' responses for each of the following scenarios in the Attendance-in pop-up window.
    • 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
  14. Click Next to proceed to the Alert configuration page. Follow the prompts on the page to configure the Alert block according to your preferences.

  15. Click Finish.
  16. Click Save in the upper right corner to save your settings.
  17. As shown in the figure below, when "in" is entered in MSPbots, it will be recognized and responded with the corresponding answer.

    Anchor
    commandslist
    commandslist
    Teams Command Template Bots 


    OrderTemplate BotsMessage CommandCorresponding BlockNeed for Alert BlockDescription
    1TeamsCommand helphiCommand-HelpYesBot that recognizes "hi" command to return answers related to help information.
    2TeamsCommand helphelloCommand-HelpYesBot that recognizes "hello" command to return answers related to help information.
    3TeamsCommand helphelpCommand-helpYesBot that recognizes "help" command to return answers related to help information.
    4TeamsCommand ininAttendance-inYesBot that recognizes "in" command for attendance check-in.
    5

    TeamsCommand out

    out

    Attendance-outYesBot that recognizes "out" command for attendance get off work.
    6TeamsCommand breakbreakAttendance-breakYesBot that recognizes "break" command for attendance interrupt work.
    7TeamsCommand lunchlunchAttendance-lunchYesBot that recognizes "lunch" command for attendance  lunchtime.
    8TeamsCommand onsiteonsiteAttendance-onsiteYesBot that recognizes "onsite" command for attendance check-in.
    9TeamsCommand backbackAttendance-backYesBot that recognizes "back" command for attendance back to work.
    10TeamsCommand ptoptoAttendance-ptoYesBot that recognizes "pto" command to handle related leave operations.
    11TeamsCommand_wfhwfhAttendance-wfhYesBot that recognizes "wfh" command for attendance check-in.
    12Tech Stats Reviewerstats\qa Utilization-statsYesBot that reports the total working hours, utilization rate, overlapping time entries, ongoing work orders, and pending tasks to the user before the end of each workday.
    13TeamsCommand ntntNT command message formattingNoWhen entering the "nt" command, the bot returns data in a custom format.
    14TeamsCommand rejectrejectTeams Command-rejectNoBot that recognizes "reject" command to skip the current ticket, which needs to be used in conjunction with the "nt"command.
    15TeamsCommand unknownunknownTeams Command-ChatGPTYesBot that returns answers from chatGPT. Please connect to the OpenAI integration before using this bot.

Table of Contents