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!


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

You can create bots that will remove SyncroMSP tickets in MSPbots when specific criteria are met. When creating the bot, you will add blocks for the REST API Call and for deleting the Syncro tickets in MSPbots. 

You need a successful Syncro MSP integration with MSPbots before performing the steps below. Refer to the article SyncroMSP Integration Setup for help connecting SyncroMSP to MSPBots.

This article discusses the following steps for designing the bot that will delete SyncroMSP tickets: 

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. 

    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-widget
  3. When the Create a new bot window appears, select Start From Blank > Trigger
  4. Fill in the following fields. 
    create 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. Click More Edit and fill out the required fields.
    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. 
     
  2. Do the following in the Trigger window:  
     
    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. 
    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

      If you want to preview the data, click the Data Inspector icon. 


    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. 
    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. 

  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. 

  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.  

  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 iconin the upper-right corner of the Trigger block and select Edit.
  2. Verify if the details in the Trigger window are correct. 
  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.

Click Next to proceed to the Delete MSPbots Tickets window. 

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.

Click Finish.

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

  • No labels