Versions Compared

Key

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

You can create bots that will remove SyncroMSP and MSPbots 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

Note

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 has the following steps for designing the bot that will to delete SyncroMSP tickets: 

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
  1. As an alternative, you
    1. Tip

      You can also start creating a bot from a widget on your dashboard.

  2. Click
    1. Hover over the ellipsis

  3. button and select 
    1. icon on the widget and select Create Bot

  4. create bot-widgetImage Removed
    1. image_edit bot from the widgetImage Added

    2. When the Create a new bot window appears, select Start From Blank > Trigger
    3. Fill the fields in the
  5. following fields
    1. Create a new bot window
      create botImage Modified
      • Enter a name in the Bot Name field.
      • Identify the Role that will have access to the bot. You can select multiple roles.
      • Add a clear Description of the bot. (Recommended)
      • Click More Edit and fill out the required fields.
  6. Image Removed
      • image more edit botImage Added
    1. 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. 
  1. Image Removed
    1. image with the bot Design linkImage Added 
    2. Do the following in the Trigger window:  
  2. Image Removed
    1. image of the bot trigger windowImage Added 
      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. 
  3. Image Removed
      1. image_bot triggerImage Added
      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
  4. Image Removed
      1. image_bot trigger criteriaImage Added
        If you want to preview the data, click the Data Inspector icon. 
  5. Image Removed
      1. image_bot data inspectorImage Added

      2. 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. 
  6. Image Removed
      1. image_bot scheduleImage Added
      2. When done, click the Finish button. You will be back to the screen with the bot's details.  

Add a REST API Call block.

...

 
GIF_add rest api call blockImage 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. 

...

GIF_add delete tickets blockImage Added

    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

...

Alert block.

...

 

...

GIF_add alert blockImage 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. Enter
  1. Enter
    1. 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.
  1. Image Removed
    1. image edit bot triggerImage Added
    2. Verify if the details in the Trigger
  2. window
    1. settings are correct. 
  3. Image Removed
    1. image_trigger settingsImage Added 
    2. If the details are
  4. confirmed
    1. correct. click Next to proceed with configuring the REST API settings.  

Configure the REST API Call settings. 

...

    1. Enter the following information in
  1. Click Next to proceed to
    1. 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 Removed
    1. :  
      • URL - Enter your SyncroMSP URL. Example: https://yourdomain.syncromsp.com/(TicketId}. 
      • Integration - Select Syncro.
      • Method - Select delete
      • Headers - No need to add data. 
      • Params - No need to add data. 
        image_rest api settingsImage Added
    2. Click Next to proceed to the Delete MSPbots Tickets window. 

  6. Image Removed

    1. Click Next
  7. to proceed to
    1. in the Delete MSPbots Ticketswindow to open the Alert
  8. configuration window. Follow the prompts on the page to configure the Alert block according to your preferences.Please refer to:
    1. settings.
      Image_delete mspbots ticketImage Added

Configure the Alert settings. 

...

To set up the bot alert, follow Step 4 in the article How to Create a

...

Bot.

...

 

Save your Settings

...

.

...

Click Save in the upper-right corner of the bot settings window to save your settings.

...


image_save bot settingsImage Added

Related Topics 

...

Content by Label
showLabelsfalse
showSpacefalse
excludeCurrenttrue
cqllabel in ("delete","tickets")