{ "kind": "open-flow-workflow", "version": 1, "name": "Look Up a Company with UpLead", "content": { "modelVersion": 14, "document": { "bindings": {}, "graph": { "nodes": { "n_5d08e93a0cb10a05": { "name": "Enter a company name", "kind": "start", "inputDefs": [ { "jsonSchema": { "type": "string", "minLength": 1 }, "nullable": false, "handle": "company" } ] }, "n_a35616226f05d551": { "inputs": { "url": { "kind": "value", "value": "https://api.uplead.com/v2/company-search" }, "query.company": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_5d08e93a0cb10a05", "output": "company" } ] }, "auth.token": { "kind": "unset" } }, "name": "Look up the company", "kind": "task", "task": { "inputs": [ { "jsonSchema": { "type": "string" }, "nullable": false, "handle": "url" }, { "jsonSchema": { "anyOf": [ { "type": [ "string", "number", "boolean" ] }, { "type": "array", "items": { "type": [ "string", "number", "boolean" ] } } ] }, "nullable": true, "handle": "query.company" }, { "jsonSchema": { "type": "string" }, "nullable": false, "handle": "auth.token" } ], "outputs": [ { "jsonSchema": {}, "nullable": true, "handle": "body" }, { "jsonSchema": { "type": "integer" }, "nullable": false, "handle": "statusCode" }, { "jsonSchema": { "type": "object", "additionalProperties": { "type": "string" } }, "nullable": false, "handle": "headers" } ], "name": "Look up the company", "executor": { "method": "GET", "query": { "mode": "fields", "names": [ "company" ] }, "headers": { "mode": "fields", "names": [] }, "bodyFormat": "none", "authentication": { "type": "apiKey", "name": "Authorization", "in": "header" }, "responseFormat": "json", "statusPolicy": "success", "kind": "http-request" } } }, "n_9d269c32ae473dc4": { "name": "Company result", "kind": "outputs", "outputDefs": [ { "jsonSchema": {}, "nullable": true, "handle": "response" } ], "outputMappings": { "response": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_a35616226f05d551", "output": "body" } ] } } } }, "edges": [ { "source": "n_5d08e93a0cb10a05", "target": "n_a35616226f05d551" }, { "source": "n_a35616226f05d551", "target": "n_9d269c32ae473dc4" } ] } }, "modules": {} }, "presentation": { "designer": { "version": 1, "flow": { "direction": "vertical" } } } }