Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Learn how to set up an integration that will automatically upload all attachments you receive in a Cisco Webex Teams space to your Dropbox account in this step-by-step webMethods.io Integration workflow tutorial.
Select New Message as a trigger and complete the authorization – connect webMethods.io Integration with your Cisco Webex Teams account. After successful authentication, you should see a dropdown list with all spaces you are part of – select the one for which you want to set this trigger.
Set the Has File(s) option to true since we want only messages with attachments to trigger this workflow.
Click Save. You should see the test trigger window.
To test your trigger, you need to perform the trigger action – send a file in your Cisco Webex Teams space:
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.
Before continuing with downloading the attachment and uploading it to Dropbox, we will perform a check on whether a folder with the sender’s name exists in the Dropbox account. If not webMethods.io Integration will create the folder first and then upload the file.
Click on the small settings icon on the Dropbox connector, select Search File and Folder Metadata as an action, and complete the authorization – connect webMethods.io Integration with your Dropbox account.
Click Next.
Now you can proceed with the action configuration – set the Folder Path field to search through all the folders, use the Incoming data panel and drag and drop the personName string from the trigger output to the Search String field:
Click Next, Test and then Done.
Let’s set up the first case – if no folder with the sender’s name exists. 7.1. Search for the Dropbox connector and add it to the canvas with the drag and drop feature. This automatically connects with the Switch action. Now hover over the case 1 arrow and click on the gear icon – this will open the condition window:
Now let’s set up the default case – a folder with the sender’s name already exists. 8.1. Search for the Cisco Webex Teams connector and add it to the canvas with the drag and drop feature. Connect it with the Switch action. Now hover over the case 2 arrow and click on the gear icon – this will open the condition window:
Save your workflow and run it using the play button in the right upper corner and review the result. If you have configured the workflow correctly, the attachment will be uploaded to your Dropbox folder shortly:
Now every time you receive a message with attachments in your Webex Teams space, they will be automatically uploaded to your Dropbox account. Please note that this may take some time.
From here you can monitor the execution status and view error details if needed: