Controlled distribution of data flow

Greg Vonf @ Business Automated
2 min readJul 8, 2022

--

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.

Controlled distribution of data flowalt text

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

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.

Example of use case:

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 out this ready to use workflow template:

Controlled distribution of data flow

Find more templates on our website:

Business workflow templates

Business Automated is an independent automation consultancy. You can visit us at www.business-automated.com if you would like to request custom automation for your business. Visit our YouTube Channel for more automation ideas to accelerate your business. If you like our work buy us a coffee or follow one of our affiliate links and try out Make (formerly Integromat).

--

--

Greg Vonf @ Business Automated

Greg is the founder of Business Automated, an agency helping small businesses streamline and simplify their processes. For more visit www.business-automated.com