Router and scenarios with multiple modules
Every scenario can contain an unlimited number of modules. This gives you the possibility to create complex schemes. A router allows you to duplicate data or add new routes to a scenario. In each route, you can then handle a different group of bundles separately.
Example: Connecting Instagram to Dropbox and YouTube
The below scenario shows how to:
- download images from Instagram, resize them and upload them to a selected Dropbox folder
- and at the same time, download videos from Instagram and upload them to YouTube.
Instagram can return both images and videos. Adding a router will allow you to divide the scenario and add a new route so that each type of bundle can be processed separately.
Adding a router to a scenario
A router can be added to a scenario in one of the following ways:
- Click on the right handle of the module after which the router shall be inserted and from the options that appear choose "Router".
- Click the wrench icon below a line connecting the modules between which you want to add a router and from the panel that appear select "Add a router".
- Click the left handle of a separate module and drag it towards a module which is on both sides connected to other modules. This will insert a router right after the connected module and connect the separate module to the scenario.
To select bundles that shall pass to a specific route of a scenario, define a filter. For more information how to use filters, please refer to the Help Filtering.