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 when specific criteria are met. When creating the bot, you will add blocks for the REST API Call and for deleting the tickets. 

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

Table of Contents
stylenone

Create a new bot.

How to create a bot to delete specific SyncroMSP tickets from SyncroMSP and MSPbots

Prerequisites

...

...

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

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

  5. Click
    1. Hover over the ellipsis

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

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

  8. When
    1. When the Create a new bot
  9.  window
    1. window appears,
  10. click on
    1. select Start From Blank > Trigger. 
  11. Image Removed
    1. Fill the fields in the
  12. following fields
    1. Create a new bot window
  13. Image Removed
    1. create botImage Added
      • 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
  14.  to open the pop-up window
      • and fill out the required fields.
  15. Image Removed
      • image more edit botImage Added
  16. Then
    1. When done, click the Save button.
  17. Clicking Save
    1. This action opens the
  18. tab
    1. screen with the details and settings for your new bot. 
  19. Image Removed

Configure the trigger. 

...

    1. On the screen with the bot details, click the Design tab to open the Trigger window. 
      image with the bot Design linkImage Added 
    2. Do the following in the Trigger window:  
      image of the bot trigger windowImage Added 
      1. Under the section I want the bot to trigger when, identify the bot
  1. Click Design to enter the Trigger pop-up window.Definie the
      1. trigger by selecting Widget and
  2. PSA -
      1. SyncroMSP / SyncroMSP Ticket Status is to be deleted. from the dropdown menus. 
        image_bot triggerImage Added
      2. Next,
  3. go to the meet following criteria section and define the criteria for triggering the bot
      1. define the trigger criteria in the meets the following criteria section. Hover over theplus 
  4. (plus) 
      1. icon and
  5. click 
      1. select +Add Group or +Add Condition. 
        image_bot trigger criteriaImage Added
        If you want to preview the data, click the
  6.  Image Removed 
      1. Data Inspector
  7.  icon
      1. icon. 
  8. Go
      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. 
  9. 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 Added

  1. Click Finish button.
    1. Click on the Trigger block, then click on
  2. the Image Removed under
    1. the
  3. block
    1. plus icon, and
  4. finally
    1. select Add a Block.
  5. Image RemovedClick on the generated
    1. Select the new blank block.

  6. Image Removed
    1. Enter REST API Call
  7.  into
    1. in the search bar, and
  8. then
    1. click
  9. on
    1. the action REST API Call to add the block.
  10. Image Removed

Add a Delete MSPBots Tickets block. 

...

GIF_add delete tickets blockImage Added

    1. Click on the REST API Call
  1.  block
    1. block,
  2. then
    1.  then click on
  3. the Image Removed under
    1. the
  4. block
    1. plus icon, and
  5. finally
    1. select Add a Block.
  6. Image RemovedClick on the generated
    1. Select the new blank block.
  7. Image Removed
    1. Enter Delete MSPbots Tickets
  8. into
    1. in the search bar, and
  9. then
    1. click
  10. on
    1. the action Delete MSPbots Tickets to add the block. 

Create the Alert block.  

...

GIF_add alert blockImage Added

    1. Click on the Delete MSPbots Tickets block,
  1. then
    1.  then click on
  2. the Image Removed under
    1. the
  3. block
    1. plus icon, and
  4. finally
    1. select Add a Block.
  5. Image RemovedClick on the generated
    1. Select the new blank block.

  6. Image Removed
    1. Enter
  7. Enter
    1. Alert
  8. into
    1. in the search bar, and
  9. then
    1. click
  10. on
    1. the action Alert to add the block. 
  11. Image Removed

Review the trigger. 

...

    1. Click the
  1. Image Removed
    1. ellipsis iconImage Addedin the upper-right corner of the Triggerblock
  2. ,
    1. and
  3. then click Edit to make your settings
    1. select Edit.
  4. Image Removed
    1. image edit bot triggerImage Added
  5. Check
    1. Verify if the
  6. trigger is set correctly.
    Image Removed
    1. details in the Trigger settings are correct. 
      image_trigger settingsImage Added 
    2. If the details are 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")