Integrations
Webhook Looping for Arrays and Line Items
A webhook can contain several attachments, order lines, or records. FastHook can run a Workflow Action sequentially for each item in the array.
How the integration works
- An Action can loop over an array from the Trigger or an earlier Step.
- Mappings can use loop.item, loop.index, and loop.count.
- Set a maximum between 1 and 1,000 items before processing the batch.
- The output preserves the input order and includes each item with its Action result.
Setup
- Receive a test webhook containing the array you want to process.
- Add the provider Action that should run for each item.
- Enable Loop over an array, choose the input array, and set the maximum item count.
- Map fields from loop.item into the Action and inspect the run results before activation.
Production notes
- An empty array completes without calling the provider.
- A non-array input or a batch above the configured limit fails before processing.
- Design side effects to tolerate sender retries and deliberate reruns.