{ "name": "verify-respond-to-webhook", "nodes": [ {"id": "n1", "name": "Webhook", "type": "post-trigger", "position": {"x": 0, "y": 0}, "config": {}}, {"id": "n2", "name": "Respond", "type": "respond-to-webhook", "position": {"x": 0, "y": 100}, "config": {"status": 201, "bodySource": "json", "body": "{\"created\": true, \"id\": \"abc\"}", "contentType": "application/json", "headers": {"X-Smartbotic-Test": "tier2"}}}, {"id": "n3", "name": "After", "type": "code", "position": {"x": 0, "y": 200}, "config": {"code": "return { ranAfterResponding: true };"}} ], "connections": [ {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "n2", "targetInput": "data"}, {"sourceNodeId": "n2", "sourceOutput": "main", "targetNodeId": "n3", "targetInput": "data"} ], "http": { "method": "POST", "path": "/webhook/{workflowId}", "body": {"hello": "world"}, "expectStatus": 201, "expectHeaders": {"Content-Type": "application/json", "X-Smartbotic-Test": "tier2"}, "expectBodyContains": ["\"created\":true", "\"id\":\"abc\""] } }