Versions Compared

Key

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

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. 

Note

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

...

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

...

SyncroMSP tickets: 

Table of Contents
stylenone

  1. Create a new bot.

    1. Log in to the MSPbots
     app
    1.  app using your Office 365 account.
     
    1. Navigate
    to Bots 
    1. to Bots on the left menu then click the New Bot button on the Bots screen. 
    Image Removed
    You
    1. Image Added
      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
    When
    1. When the Create a new bot
     window
    1. window appears,
    click on
    1. select Start From Blank > Trigger.

    Image Removed
    1.  
    2. Fill in the following fields. 
    Image Removed
    1. create botImage Added
      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
       to open the pop-up window
      1. and fill out the required fields.
        Image Modified
      Then
      1. When done, click the Save button.
      Clicking Save
      1. This action opens the
      tab
      1. screen with the details and settings for your new bot. 
      Image Removed
  2. Configure the trigger.

    1. On the screen with the bot details, click the Design tab to open the Trigger window. 
      Image Added 
    2. Do the following in the Trigger window:  
      Image Added 
      1. Under the section I want the bot to trigger when, identify the bot
    Click Design to enter the Trigger pop-up window.
    1. Definie the
      1. trigger by selecting Widget and
      PSA -
      1. SyncroMSP / SyncroMSP Ticket Status is to be deleted. from the dropdown menus. 
        Image Added
      2. Next,
      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 the
       (plus)
      1. plus icon and
      click 
      1. select +Add Group or +Add Condition. 
        Image Added
        If you want to preview the data, click the
       Image Removed 
      1. Data Inspector
       icon
      1. icon. 
      Go
      1. Image 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. 
      Image Removed
  3. Click Finish button.
      1. Image Added
      2. When done, click the Finish button. You will be back to the screen with the bot's details.  
  4. Add a REST API Call block. 

    Image Added
    1. Click on the Trigger block, then click on
    the Image Removed under
    1. the
    block
    1. plus icon, and
    finally
    1. select Add a Block.
    Image RemovedClick on the generated
    1. Select the new blank block.
    Image Removed
    1. Enter REST API Call
     into
    1. in the search bar, and
    then
    1. click
    on
    1. the action REST API Call to add the block.
    Image Removed
  5. Add a Delete MSPBots Tickets block. 

    Image Added

    1. Click on the REST API Call
     block
    1. block,
    then
    1.  then click on
    the Image Removed under
    1. the
    block
    1. plus icon, and
    finally
    1. select Add a Block.
    Image RemovedClick on the generated
    1. Select the new blank block.

    Image Removed
    1. Enter Delete MSPbots Tickets
    into
    1. in the search bar, and
    then
    1. click
    on
    1. the action Delete MSPbots Tickets to add the block
  6. Create the bot alert.  

    Image RemovedImage Added
    1. Click on the Delete MSPbots Tickets block,
    then
    1.  then click on
    the Image Removed under
    1. the
    block
    1. plus icon, and
    finally
    1. select Add a Block.
    Image RemovedClick on the generated
    1. Select the new blank block.
    Image Removed
    1. Enter Alert
    into
    1. in the search bar, and
    then
    1. click
    on
    1. the action Alert to add the block.
    Image Removed
  7. Review the trigger. 
    1. Click the
    Image Removed
    1. ellipsis iconImage Addedin the upper-right corner of the Triggerblock
    ,
    1. and
    then click Edit to make your settings
    1. select Edit.
    Image Removed
    1. Image Added
    Check
    1. Verify if
    the trigger is set correctly.
    Image Removed
    1. the details in the Trigger window are correct. 
      Image Added
    2. If the details are confirmed correct. click Next to proceed with configuring the REST API settings.  
  8. 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
  9. Click Next to proceed to the Delete MSPbots Tickets window. 
  10. 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.
  11. Click Finish.
  12. Click Save in the upper right corner to save your settings.