{
  "kind": "open-flow-workflow",
  "version": 1,
  "name": "Call a published workflow",
  "content": {
    "modelVersion": 14,
    "document": {
      "bindings": {},
      "graph": {
        "nodes": {
          "start": {
            "name": "Start",
            "kind": "start",
            "inputDefs": []
          },
          "call": {
            "inputs": {
              "name": {
                "kind": "value",
                "value": "Ada"
              }
            },
            "name": "Greeting workflow",
            "kind": "task",
            "task": {
              "inputs": [
                {
                  "jsonSchema": {
                    "type": "string"
                  },
                  "nullable": false,
                  "handle": "name"
                }
              ],
              "outputs": [
                {
                  "jsonSchema": {
                    "type": "string"
                  },
                  "nullable": false,
                  "handle": "message"
                }
              ],
              "name": "Greeting workflow",
              "executor": {
                "kind": "workflow",
                "flowId": "example-greeting-flow",
                "revisionId": "example-published-revision"
              }
            }
          },
          "outputs": {
            "name": "Workflow result",
            "kind": "outputs",
            "outputDefs": [
              {
                "jsonSchema": {
                  "type": "string"
                },
                "nullable": false,
                "handle": "message"
              }
            ],
            "outputMappings": {
              "message": {
                "kind": "sources",
                "sources": [
                  {
                    "kind": "node",
                    "nodeId": "call",
                    "output": "message"
                  }
                ]
              }
            }
          }
        },
        "edges": [
          {
            "source": "start",
            "target": "call"
          },
          {
            "source": "call",
            "target": "outputs"
          }
        ]
      }
    },
    "modules": {}
  },
  "presentation": {
    "designer": {
      "version": 1,
      "flow": {
        "nodes": {
          "start": {
            "x": 0,
            "y": 0
          },
          "call": {
            "x": 340,
            "y": 0
          },
          "outputs": {
            "x": 680,
            "y": 0
          }
        }
      }
    }
  }
}
