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 to automatically upload all files received as email attachments in Gmail to your Dropbox account in this step-by-step webMethods.io Integration workflow tutorial.
Select New attachment as a trigger and complete the authorization – connect webMethods.io Integration with your Gmail account (check the following Tutorial - Using Google services with webMethods.io Integration).
Click Save. You should see the test trigger window.
To test your trigger, you need to perform the trigger action – send an email to your Gmail email address and attach 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.
Click on the small settings icon on the Gmail connector, select Download Attachment as action and complete the authorization – connect webMethods.io Integration with your Google account.
Click Next.
Now you can proceed with the action configuration – use the Incoming data panel and drag and drop the threadId string from the trigger output to the Message ID field:
Click Next, Test and then Done.
Now you can proceed with the action configuration – in the Source File Path field, drag and drop the file_path string of the current value of the loop. In the Destination Folder Path field, choose the folder in your Dropbox account where all the attachments will be saved.
Click Next and then Done.
Now every time you receive an email with attachments, they will be automatically uploaded to your Dropbox account. Please note that this may take some time.
From here you can monitor the executions status and view error details if needed: