Long-Running Flow Monitor Template - Implementation

  • Updated

 

OVERVIEW

If a flow runs longer than the duration set in the settings, its name will be posted to the designated Slack channel so that a user can check those flows and ensure they aren't stuck

Installing the Template from Marketplace

  • Login to Celigo Integrator, head to the Marketplace and search for Long-Running Flow Monitor and Install. Once the template is installed, the template tile will be available in the Home tab. Click on the template or continue setup to configure the connection.

Connections & Settings

Celigo Connection:


Click on Configure.

  • Select the Region.

  • The token can be retrieved under resource > API Token > Create New tokens

  • Click Save and Authorize.

Once the NetSuite connection is configured, the next step is configuring the Slack Connection. For more information on creating the Celigo connection, click here

Slack Connection:

  • In your Slack workspace, create an app and obtain the Token IDs. Follow the steps below to create an app
Step 1: Browse Slack API and click on the SLACK API

Step 2: Click on your apps

Step 3: Click on Create new app



Step 4: A dialogue box appears click on the option shown below 

Step 5:Give the app name and select the workspace where the app should be created

Step 6:Navigate to OAuth and permissions
Select the Use OAuth token as below



Step 7 : In the Slack channel, invite the created app in slack channel as shown below
Step 8 : Refer to this article to create the Slack connection on Celigo integrator.io using the token from Step 6 above.

 

Integration Settings

Once the template has been installed, navigate to the settings to configure the settings.

  • Target Max Flow Duration - Set the number of minutes the flow should not exceed

    

  • Slack Channel ID - Get the Channel ID  from Slack. This is the Slack Channel where the notifications will be posted.  Refer the screenshot below to get the Slack Channel ID
    Copy the above Slack Channel ID and use it in the flow settings


  • Message to be posted - Define the message that will accompany the flow name in the Slack notification.
  •  

IO Mappings

These mappings come pre-configured in the template

  • The channel is mapped from the "Slack Channel ID" field in the settings
  • For the text field, a handlebar is used to join both the flow name and the message