Set up automatic Slack/Cisco Webex Teams notifications for new Egnyte files with webMethods.io Integration

Overview

Learn how easy it is to build an integration between your Egnyte file server and your preferred communication channel with webMethods.io Integration and to keep everyone well informed about the latest file updates.

Prerequisite:

  1. webMethods.io Integration tenant – sign up here for a free trial if you’re new (use the advanced sign up form for more options).
  2. Egnyte account
  3. Slack account/Cisco Webex Teams account

Steps

  1. Login to your webMethods.io Integration tenant, create a new project or choose an existing one.
  2. Go ahead and get started by creating a blank workflow. If you need a refresher on how to get to this point, this guide can be a great introduction.
  3. To set up a trigger action, click on the small setting icon on the Start step and choose the Egnyte trigger.

As we want the workflow to be triggered when a new file is added, select New file as a trigger and complete the authorization – connect webMethods.io Integration with your Egnyte account - you need to provide your Egnyte domain name and choose a folder path.

Click Save. You should see the test trigger window.

To test your trigger, you need to perform the trigger action. Open your Egnyte file server and add a file:

Go back to the webMethods.io Integration workflow and click Test. You should see the output data from the trigger which webMethods.io Integration will use to configure and test the rest of the workflow. Click Done.

  1. You can now proceed with setting up the notification step – choose the app that best works for you, for example:

4.1. Search for the Slack connector and add it to the canvas with the drag and drop feature. This automatically connects with the Egnyte trigger.

chrome_SCKOAbwmEE

chrome_RqKpKFeFAb

Click on the small settings icon on the Slack connector, select Post Message to Channel as action and complete the authorization – connect webMethods.io Integration with your Slack account.

Click Next.

Now you can proceed with the action configuration – choose the Slack channel type and then type the channel ID where you want to post a message. Type the message body – use the Incoming data panel to include file information received from the trigger output, for example:

New file created in Egnyte: {{$trigger.name}}
Path: {{$trigger.path}} 
Date: {{$trigger.last_modified}}

4.2. If you prefer Cisco Webex Teams application, search for the Cisco Webex Teams connector, and add it to the canvas with the drag and drop feature. This automatically connects with the Egnyte new file trigger.

chrome_PkQxzORxut

chrome_T2u6sYWSiZ

Click on the small settings icon on the Cisco Webex Teams connector, select Post new message as action and complete the authorization – connect webMethods.io Integration with your Cisco Webex Teams account.

Moving on with the action configuration – choose the Space ID where you want to post the message. Type the message body – again you can use the Incoming data panel to include file information received from the trigger output.

Click Next and then Done.

  1. Finish the workflow by connecting the Slack connector to the Stop step

or the Cisco Webex Teams connector:

Don’t forget to save your workflow.

You can now test your workflow using the play button in the right upper corner and review the result. If you have configured the workflow correctly, you should see the newly posted message in your Slack channel or your Cisco Webex Teams space:

Now you’ve learned how to track Egnyte file updates with a webMethods.io Integration workflow. Go and try it yourself!

  1. At the bottom-left corner of the screen you can find the Execution history of the workflow:

From here you can monitor the execution status and view error details if needed:

Please note that workflow execution logs must be enabled from the workflow execution settings:

chrome_A3Qr403vVw

1 Like