get-trigger-query-passthrough.json 650 B

1234567891011121314151617
  1. {
  2. "name": "get-trigger-query-passthrough",
  3. "nodes": [
  4. {"id": "n1", "name": "Webhook", "type": "get-trigger", "position": {"x": 0, "y": 0}, "config": {}},
  5. {"id": "n2", "name": "Respond", "type": "respond-to-webhook", "position": {"x": 0, "y": 100},
  6. "config": {"status": 200, "bodySource": "input", "bodyField": "data.query"}}
  7. ],
  8. "connections": [
  9. {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "n2", "targetInput": "data"}
  10. ],
  11. "http": {
  12. "method": "GET",
  13. "path": "/webhook/{workflowId}?probe=query-from-test",
  14. "expectStatus": 200,
  15. "expectBodyContains": ["\"probe\":\"query-from-test\""]
  16. }
  17. }