Integromat
  • Back to website
Articles in this section
  • Replacing Legacy Modules with New Modules
  • Upgrading Gmail and Email App Versions Using Integromat DevTool
  • App lifecycle
  • Replacing Google Sheets legacy Modules with New Modules
  • How to get Text Parser to produce an output value.
  • Converger
  • Types of modules
  • Iterator
  • Aggregator
  • Module settings
See more
  1. Integromat Support
  2. Using Integromat
  3. Modules

Router

Integromat Support Team Integromat Support Team Updated January 11, 2021 12:47

The Router module allows you to branch your flow into several routes and process the data within each route differently. Once a Router receives a bundle, it forwards it to each connected route in the order the routes were attached to the Router.

To verify the order of the routes, you can click the Auto-align icon, which will arrange the routes according to the order from top to bottom.
To change the order, just remove the Router module and re-connect the routes in the desired order.
Routes are processed sequentially, not in parallel. A bundle is not sent to the next route until it has been completely processed by the previous route.

Template

See our scenario template for the Controlled distribution of data flow.

Adding a Router to a scenario

A Router can be added to a scenario in one of the following ways:

  1. If you wish to connect the Router after a module, click on the module's right "ear" and choose Flow Control > Router from the list of modules.

  2. If you wish to insert the Router between two modules, click on the wrench icon below the route connecting the two modules (or right-click the route) and choose "Add a router" from the menu.
  3. A Router can also be inserted automatically in the case when you try to connect module A to module B to which another module is already connected. Just drag the left "ear" of the module A and drop it on to module B.

Filters

You can place a filter on a route after the Router to filter bundles as on any other route: just click on the route, add conditions and click on the "OK" button to save the filter setup:

The fallback route

The filter setup on a route after a Router contains a special option: The fallback route:

When enabled, this route is used in the case when a bundle cannot continue on from the Router via any other route because the filters on the other routes filtered it out. The Fallback route is distinguished with a different arrow sign inside the Router module:

If/Else

A typical use case of the fallback route is to continue the flow with route A if the condition is met and with route B if it is not. This can be achieved with the following steps:

  1. Insert a Router in your scenario.
  2. Connect both routes (A and B) to the Router.
  3. Click on the route A and specify a condition:
  4. Click on the route Band and enable the The fallback route option:

Example: Connecting Instagram to Dropbox and YouTube

The below scenario shows how to:

  1. Download images from Instagram, resize them and upload them to a Dropbox folder
  2. 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, at the same time.

Converger

Converger is the counterpart of the Router module. It enables you to merge several routes into one:

 

Was this article helpful?
52 out of 69 found this helpful
Menu
  • Features
  • Apps & Services
  • Templates
  • Pricing
  • What's new
  • Use cases
Information
  • Terms,  Privacy
  • FAQ
  • Help & Tutorials
  • Community
  • Affiliate Program
  • Blog
Developers
  • Developer Platform
Company
  • About the company
  • Join our team
  • Contact
Follow us
© 2020 Integromat by Celonis. All rights reserved. Integromat® is a registered trademark.
  • English