diff --git a/seeds/team-experiments/graphs/bgl/insta/onboard-for-social.json b/seeds/team-experiments/graphs/bgl/insta/onboard-for-social.json index 8be34ee4..789d58a9 100644 --- a/seeds/team-experiments/graphs/bgl/insta/onboard-for-social.json +++ b/seeds/team-experiments/graphs/bgl/insta/onboard-for-social.json @@ -8,6 +8,12 @@ "to": "output-0a357b6f", "out": "*", "in": "" + }, + { + "from": "worker-ba979ccb", + "to": "repeater-7e200641", + "out": "context", + "in": "context" } ], "nodes": [ @@ -16,8 +22,8 @@ "type": "repeater", "metadata": { "visual": { - "x": 32.999999999999986, - "y": -498 + "x": 234, + "y": -509 }, "title": "Chat Bot", "logLevel": "debug" @@ -38,6 +44,20 @@ "y": -465 } } + }, + { + "id": "worker-ba979ccb", + "type": "worker", + "configuration": { + "context": [], + "instruction": "You are a greeter. Please greet the user with kindness and warmth." + }, + "metadata": { + "visual": { + "x": -33, + "y": -475 + } + } } ], "graphs": { @@ -64,8 +84,8 @@ }, "metadata": { "visual": { - "x": 568, - "y": -595 + "x": 673, + "y": -542 } } }, @@ -74,8 +94,8 @@ "type": "human", "metadata": { "visual": { - "x": 129, - "y": -580 + "x": 78, + "y": -703 } } }, @@ -84,8 +104,8 @@ "type": "worker", "metadata": { "visual": { - "x": 335, - "y": -577 + "x": 223, + "y": -477 } }, "configuration": { @@ -97,8 +117,8 @@ "type": "input", "metadata": { "visual": { - "x": -73, - "y": -578 + "x": -93, + "y": -535 } }, "configuration": { @@ -114,6 +134,23 @@ "type": "object" } } + }, + { + "id": "runJavascript-04637cff", + "type": "runJavascript", + "metadata": { + "visual": { + "x": 419, + "y": -732 + }, + "title": "Exit Checker", + "logLevel": "debug" + }, + "configuration": { + "name": "run", + "raw": "on", + "code": "function run({context}) { return { context } }" + } } ], "edges": [ @@ -125,7 +162,7 @@ }, { "from": "worker-3fec00f6", - "to": "output", + "to": "runJavascript-04637cff", "out": "context", "in": "context" }, @@ -134,6 +171,12 @@ "to": "human-e8cf008d", "out": "context", "in": "context" + }, + { + "from": "runJavascript-04637cff", + "to": "output", + "out": "context", + "in": "context" } ], "url": "idb://default/blank.json#58849527-9663-4146-9531-91c1f0c986ab"