{
  "kind": "open-flow-workflow",
  "version": 1,
  "name": "Send an email with a Connector",
  "content": {
    "modelVersion": 14,
    "document": {
      "bindings": {},
      "graph": {
        "nodes": {
          "start": {
            "name": "Start",
            "kind": "start",
            "inputDefs": []
          },
          "send": {
            "inputs": {
              "to": {
                "kind": "value",
                "value": "customer@example.com"
              },
              "subject": {
                "kind": "value",
                "value": "Your support request"
              },
              "body": {
                "kind": "value",
                "value": "Your replacement is ready to ship."
              }
            },
            "name": "Send a customer update",
            "kind": "task",
            "task": {
              "inputs": [
                {
                  "jsonSchema": {
                    "type": "string"
                  },
                  "nullable": false,
                  "handle": "to"
                },
                {
                  "jsonSchema": {
                    "type": "string"
                  },
                  "nullable": false,
                  "handle": "subject"
                },
                {
                  "jsonSchema": {
                    "type": "string"
                  },
                  "nullable": false,
                  "handle": "body"
                }
              ],
              "outputs": [
                {
                  "jsonSchema": {
                    "type": "string"
                  },
                  "nullable": false,
                  "handle": "messageId"
                }
              ],
              "name": "Send a customer update",
              "executor": {
                "kind": "connector",
                "action": "gmail.send_email"
              }
            }
          }
        },
        "edges": [
          {
            "source": "start",
            "target": "send"
          }
        ]
      }
    },
    "modules": {}
  },
  "presentation": {
    "designer": {
      "version": 1,
      "flow": {
        "nodes": {
          "start": {
            "x": 0,
            "y": 0
          },
          "send": {
            "x": 340,
            "y": 0
          }
        }
      }
    }
  }
}
