{ "name": "verify-respond-to-webhook-loop", "nodes": [ {"id": "n1", "name": "Webhook", "type": "post-trigger", "position": {"x": 0, "y": 0}, "config": {}}, {"id": "items", "name": "Items", "type": "code", "position": {"x": 0, "y": 100}, "config": {"code": "return { items: ['alpha', 'beta', 'gamma'] };"}}, {"id": "loop", "name": "Loop", "type": "loop", "position": {"x": 0, "y": 200}, "config": {"inputField": "data.result.items"}}, {"id": "respond", "name": "Respond", "type": "respond-to-webhook", "position": {"x": 0, "y": 300}, "config": {"status": 200, "bodySource": "input", "bodyField": "item", "contentType": "text/plain"}} ], "connections": [ {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "items", "targetInput": "data"}, {"sourceNodeId": "items", "sourceOutput": "main", "targetNodeId": "loop", "targetInput": "data"}, {"sourceNodeId": "loop", "sourceOutput": "loop", "targetNodeId": "respond", "targetInput": "data"} ], "http": { "method": "POST", "path": "/webhook/{workflowId}", "body": {"hello": "world"}, "expectStatus": 200, "expectBodyContains": ["gamma"] } }