Watch our latest video available on Youtube.

Controlled distribution of data flow

Cover Image for Controlled distribution of data flow
This scenario represents the way how to control the distribution of data flows. Instead of the numbers generated by the Increment function module, you can use the IDs of the records.
written by Greg Vonf
Greg Vonf

Software used in this automated workflow example

Integromat
Make

Summary

This scenario controls the distribution of data flows by using the IDs of records instead of the numbers generated by the Increment function module.

Detailed explanations

Step by step instructions

  1. Create a new scenario.

  2. Add the following modules to your scenario:

  • HTTP Request - to receive the data from the webhook.
  • JSON Parse - to parse the data received from the webhook.
  • Module Bundler - to bundle the records.
  • Increment - to generate the IDs of the records.
  • Filter - to filter the records.
  • Split - to split the records.
  • Connector - to connect the scenario to the destination where you want to save the data.
  1. Connect all of the modules according to the following scheme:

HTTP Request -> JSON Parse -> Module Bundler -> Increment -> Filter -> Split -> Connector

  1. Configure the HTTP Request module. Enter the URL of the webhook in the URL field. In the Method field, select the POST option.

  2. Configure the JSON Parse module. In the JSON field, enter the following:

{
	"records": "{{$json.records}}"
}
  1. Configure the Module Bundler module. In the Number of items in a batch field, enter the number of records that you want to bundle.

  2. Configure the Increment module. In the Number field, enter the number by which you want to increment the IDs of the records.

  3. Configure the Filter module. In the Condition field, enter the following:

{{$bundle.0.id}} > {{$bundle.1.id}}
  1. Configure the Split module. In the Condition field, enter the following:
{{$bundle.0.id}} != {{$bundle.1.id}}
  1. Configure the Connector module. Enter the credentials of the destination where you want to save the data.

Business use case example

You have a webhook that sends data about the user's activity on your website. You want to save this data to your CRM system, but you want to control the distribution of the data flows. Instead of the numbers generated by the Increment function module, you can use the IDs of the records.

Try ready to use workflow template

Controlled distribution of data flow with Make.com (formerly Integromat)