Help

Types of modules

Integromat has 4 types of modules and differ mainly in regards to what data they process: actions, triggers, aggregators and iterators. The two latter ones are intended for advanced scenarios.

Action

An action is the most common, most general type of module.

  • Every action can return one or more bundles which are then passed on to the next module for processing
  • Actions can be placed at the beginning, middle or end of a scenario
  • Scenarios can contain an unlimited number of actions

Examples of actions

  • The Dropbox action Upload a file sends a file to a selected Dropbox folder and returns its identifier
  • The Image action Resize receives an image, resizes it to specified dimensions, and passes the resized image on to the next action
  • The Google Analytics action Create a report gets information about web traffic and passes it on for further processing

Trigger

A trigger is a module that returns bundles that were newly added or updated (depending on the settings) since the last run of the scenario. Integromat distinguishes between two types of triggers: scheduled and instant triggers (webhooks).

Scheduled triggers ask a given service periodically whether there are new bundles to be processed or not. In the case of webhooks (kb://webhooks.html), the service notifies Integromat as soon as there are new bundles available. You can schedule a scenario containing webhooks to run immediately by selecting the Immediately option from the Schedule setting panel.

  • Every trigger can return one or more bundles which are then passed on to the next module for processing
  • Triggers can be placed only at the beginning of a scenario
  • Each scenario can contain only one trigger

Examples of triggers

  • The Dropbox trigger Watch files returns files that were newly added since the last time the scenario was run
  • The Twitter trigger Watch Tweets returns new Tweets posted by the user since the last time the scenario was run
  • The Tumblr trigger Watch posts returns new posts added to a selected blog since the last time the scenario was run
  • The Paypal trigger (webhook) New notification returns new payment notifications. If you schedule a related scenario to run Immediately, it will be executed immediately after receiving the notification

Aggregator

An Aggregator is a type of module that compiles multiple bundles into one single bundle.

  • Every aggregator returns only one bundle which is then passed on to the next module for further processing
  • Aggregators can be placed only in the middle of a scenario
  • Scenarios can contain an unlimited number of aggregators

Examples of aggregators

  • The Archive aggregator Create an archive compresses received files into a zip archive
  • The CSV aggregator Aggregate to CSV merges multiple strings from a csv file into a single row
  • The Tools aggregator Compose a string combines several strings together into one single string

Iterator

An iterator is a type of module that splits arrays into multiple separate bundles.

  • Every iterator returns one or more bundles which are then passed on to the next module for processing
  • Iterators can be placed only in the middle of a scenario
  • Scenarios can contain an unlimited number of iterators

Example of iterators

  • The Email iterator Retrieve attachments breaks an array of attachments into separate bundles
Rate this article: