mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-09-11 06:48:43 -06:00
Added Various Example Flows
This commit is contained in:
106
Workflows/Examples/API Requests/Value Parser.json
Normal file
106
Workflows/Examples/API Requests/Value Parser.json
Normal file
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"tab_name": "Value Parser",
|
||||
"nodes": [
|
||||
{
|
||||
"data": {
|
||||
"body": "",
|
||||
"content": "Fetch JSON from HTTP or remote API endpoint, with CORS proxy option.",
|
||||
"intervalSec": "10",
|
||||
"label": "API Request",
|
||||
"result": "{\n \"status\": \"ok\"\n}",
|
||||
"url": "http://localhost:5000/health",
|
||||
"useProxy": "true"
|
||||
},
|
||||
"dragHandle": ".borealis-node-header",
|
||||
"dragging": false,
|
||||
"height": 124,
|
||||
"id": "node-1754799747658",
|
||||
"position": {
|
||||
"x": 27.333333333333314,
|
||||
"y": 28
|
||||
},
|
||||
"positionAbsolute": {
|
||||
"x": 27.333333333333314,
|
||||
"y": 28
|
||||
},
|
||||
"selected": false,
|
||||
"type": "API_Request",
|
||||
"width": 160
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"content": "Display prettified multi-line JSON from upstream node.",
|
||||
"jsonData": {
|
||||
"status": "ok"
|
||||
},
|
||||
"label": "Display JSON Data"
|
||||
},
|
||||
"dragHandle": ".borealis-node-header",
|
||||
"dragging": false,
|
||||
"height": 150,
|
||||
"id": "node-1754799750393",
|
||||
"position": {
|
||||
"x": 245.33333333333326,
|
||||
"y": 28
|
||||
},
|
||||
"positionAbsolute": {
|
||||
"x": 245.33333333333326,
|
||||
"y": 28
|
||||
},
|
||||
"selected": false,
|
||||
"type": "Node_JSON_Pretty_Display",
|
||||
"width": 260
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"content": "Provide a dot-separated key path (e.g. 'name.en'); outputs the extracted string or 'Key Not Found'.",
|
||||
"keyName": "status",
|
||||
"label": "JSON Value Extractor",
|
||||
"result": "ok"
|
||||
},
|
||||
"dragHandle": ".borealis-node-header",
|
||||
"dragging": false,
|
||||
"height": 145,
|
||||
"id": "node-1754799751513",
|
||||
"position": {
|
||||
"x": 559.3333333333333,
|
||||
"y": 28
|
||||
},
|
||||
"positionAbsolute": {
|
||||
"x": 559.3333333333333,
|
||||
"y": 28
|
||||
},
|
||||
"selected": false,
|
||||
"type": "JSON_Value_Extractor",
|
||||
"width": 160
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"animated": true,
|
||||
"id": "reactflow__edge-node-1754799747658-node-1754799750393",
|
||||
"source": "node-1754799747658",
|
||||
"sourceHandle": null,
|
||||
"style": {
|
||||
"stroke": "#58a6ff",
|
||||
"strokeDasharray": "6 3"
|
||||
},
|
||||
"target": "node-1754799750393",
|
||||
"targetHandle": null,
|
||||
"type": "bezier"
|
||||
},
|
||||
{
|
||||
"animated": true,
|
||||
"id": "reactflow__edge-node-1754799750393-node-1754799751513",
|
||||
"source": "node-1754799750393",
|
||||
"sourceHandle": null,
|
||||
"style": {
|
||||
"stroke": "#58a6ff",
|
||||
"strokeDasharray": "6 3"
|
||||
},
|
||||
"target": "node-1754799751513",
|
||||
"targetHandle": null,
|
||||
"type": "bezier"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user