Efficient Bulk Data Handling Using "!index"
Last updated
Last updated
To create multiple records from a JSON array in a single request, simply use the "!index" pattern in your response mapping. This allows you to easily map and create individual records for each item in the array!
Let us go with an example.
Let’s say you're processing multiple customer orders received from an e-commerce channel. Each order contains details such as OrderId, customer name, and the items purchased. You need to store OrderId in a system, and the "index" pattern can help map and store each order efficiently.
Below screenshots will help you how to provide the "!index" and store the data.
Before passing the "!index"
After passing the "!index"