Versions Compared

Key

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

...

Table of Contents
stylenone

Create a new bot.

  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. 
    Image Modified
    As an alternative, you can also start creating a bot from a widget on your dashboard. Click the ellipsis button and select Create Bot
    create bot-widgetImage Modified
  3. When the Create a new bot window appears, select Start From Blank > Trigger
  4. Fill in the following fields. 
    create botImage Modified
    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. Click More Edit and fill out the required fields.
      Image Modified
    5. When done, click the Save button. This action opens the screen with the details and settings for your new bot. 

Configure the trigger.

  1. On the screen with the bot details, click the Design tab to open the Trigger window. 
    Image Modified 
  2. Do the following in the Trigger window:  
    Image Modified 
    1. Under the section I want the bot to trigger when, identify the bot trigger by selecting Widget and SyncroMSP / SyncroMSP Ticket Status is to be deleted. from the dropdown menus. 
      Image Modified
    2. Next, define the trigger criteria in the meets the following criteria section. Hover over the plus icon and select +Add Group or +Add Condition
      Image Modified
      If you want to preview the data, click the Data Inspector icon. 
      Image Modified

    3. Then go to the I want the bot to run based on this schedule section and set the time and frequency for running the bot. 
      Image Modified
    4. When done, click the Finish button. You will be back to the screen with the bot's details.  

Add a REST API Call block. 

Image Modified

  1. Click on the Trigger block, then click on the plus icon, and select Add a Block.
  2. Select the new blank block.
  3. Enter REST API Call in the search bar, and click the action REST API Call to add the block.

Add a Delete MSPBots Tickets block. 

Image Modified

  1. Click on the REST API Call block, then click on the plus icon, and select Add a Block.
  2. Select the new blank block.
  3. Enter Delete MSPbots Tickets in the search bar, and click the action Delete MSPbots Tickets to add the block. 

Create the bot alert.  

Image Modified

  1. Click on the Delete MSPbots Tickets block, then click on the plus icon, and select Add a Block.
  2. Select the new blank block.
  3. Enter Alert in the search bar, and click the action Alert to add the block.

Review the trigger. 

  1. Click the ellipsis iconImage Modifiedin the upper-right corner of the Triggerblock and select Edit.
    Image Modified
  2. Verify if the details in the Trigger window are correct. 
    Image Modified
  3. If the details are confirmed correct. click Next to proceed with configuring the REST API settings.  

Configure the REST API Call.

  1. Click Next to proceed to the REST API Call configuration window. 
  2. For url,  please enter "your SyncroMSP HTTP url/{TicketId}".
  3. For integration. select Syncro.
  4. For method,select delete
  5. For hesrders and params, please keep No Data.
    Image Modified

Click Next to proceed to the Delete MSPbots Tickets window. 
Image Modified

Click Next to proceed to the Alert configuration window. Follow the prompts on the page to configure the Alert block according to your preferences.Please refer to: How to Create a Bot#4.Definethebotalertscript.
Image Modified

Click Finish.

Click Save in the upper right corner to save your settings.
Image Modified