foreach
Process an array from the webhook response, building a formatted string from each element.
Parameters
config
Configuration object with the following keys:
config.input_key
Key in the API response containing the array.
config.output_key
Variable name for the built string (reference as ${output_key} in output).
config.max
Maximum number of items to process.
config.append
Template string to append for each item. Use ${this.field} to reference
fields on the current array element.
Returns
DataMap — Self for method chaining. Throws an Error if no webhook has been
added yet.