Create a new scenario.
Add the following modules to your scenario:
HTTP Request -> JSON Parse -> Module Bundler -> Increment -> Filter -> Split -> Connector
Configure the HTTP Request module. Enter the URL of the webhook in the URL field. In the Method field, select the POST option.
Configure the JSON Parse module. In the JSON field, enter the following:
{
"records": "{{$json.records}}"
}
Configure the Module Bundler module. In the Number of items in a batch field, enter the number of records that you want to bundle.
Configure the Increment module. In the Number field, enter the number by which you want to increment the IDs of the records.
Configure the Filter module. In the Condition field, enter the following:
{{$bundle.0.id}} > {{$bundle.1.id}}
{{$bundle.0.id}} != {{$bundle.1.id}}
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.