Automate file transfers between Dropbox and Egnyte with webMethods.io Integration

Overview

With the help of this step-by-step guide, you’ll create a self-running workflow that automatically uploads new Dropbox files to your designated Egnyte location using webMethods.io Integration.

Prerequisite:

Steps to follow

  1. Login to your webMethods.io Integration tenant, create a new project or choose an existing one and create a blank workflow. If you need a refresher on how to get to this point, this guide can be a great introduction.
  2. Click on the small setting icon on the Start step and choose the Dropbox trigger.

Select New file as a trigger and complete the authorization – connect webMethods.io Integration with your Dropbox account and choose the folder path. Here, you can also set a polling interval from the dropdown menu - this time interval determines how often you want this trigger to check for new files.

Click Save. You should see the test trigger window.

To test your trigger, you need to perform the trigger action. Open your Dropbox cloud and add a new file to the folder:

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

  1. Before uploading the new Dropbox file to Egnyte, we need to download it. Search for the Dropbox connector and add it to the canvas with the drag and drop feature. This automatically connects with the trigger.

Dropbox connector

Add Dropbox connector

Click on the small settings icon on the Dropbox connector, select Download file as action, and complete the authorization – connect webMethods.io Integration with your Dropbox account.

Click Next.

Now you can proceed with the action configuration – use the Incoming data panel and drag and drop the file path string from the trigger output to the Source file path field:

Click Next, Test and then Done.

  1. Now we will upload the file to Egnyte - search for the Egnyte connector and add it to the canvas with the drag and drop feature. This automatically connects with the previous step.

Egnyte connector

Click on the small settings icon on the Egnyte connector, select Upload file as action, and complete the authorization – connect webMethods.io Integration with your Egnyte account. You need to provide your Egnyte domain name.

Click Next.

Now you can proceed with the action configuration – use the Incoming data panel and drag and drop the filepath string from the trigger output to the Source file path field and the filename string to the Destination File Name field:

Click Next, Test and then Done.

  1. Connect the Egnyte connector to the Stop step. Don’t forget to save your workflow.

You are now ready to test your workflow – click on the play button in the right upper corner and review the result. If you have configured the workflow correctly, you should see the newly added file to your Egnyte folder:

Please note that this may take some time.

And that’s it – how easy is to connect your file servers.

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

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

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

Workflow settings button

Related articles

For more webMethods.io Integration workflow examples involving Egnyte and Dropbox, refer to the following articles:

2 Likes

Nice post @marielavd

The Dropbox trigger is a polling one, it checks for new files every 5 / 10 or 15 minutes. In the last wM.io Integration version we can now configure the polling interval.

2 Likes

Hi Stephane,

That’s great news. Thank you for bringing it up. I will update the article accordingly. :slight_smile: