{ "kind": "open-flow-workflow", "version": 1, "name": "Submit a Person Email Search with Icypeas", "content": { "modelVersion": 14, "document": { "bindings": {}, "graph": { "nodes": { "n_18c23a6e0ea9f8ac": { "name": "Start the search", "kind": "start", "inputDefs": [] }, "n_ebe8e65c47ba2159": { "inputs": { "firstname": { "kind": "value", "value": "YOUR_FIRST_NAME" }, "lastname": { "kind": "value", "value": "YOUR_LAST_NAME" }, "domainOrCompany": { "kind": "value", "value": "YOUR_COMPANY_DOMAIN_OR_NAME" } }, "name": "Submit the email search", "kind": "task", "task": { "inputs": [ { "description": "The person's first name. Required when lastname is omitted.", "jsonSchema": { "type": "string", "minLength": 1, "description": "The person's first name. Required when lastname is omitted." }, "nullable": true, "handle": "firstname", "value": null }, { "description": "The person's last name. Required when firstname is omitted.", "jsonSchema": { "type": "string", "minLength": 1, "description": "The person's last name. Required when firstname is omitted." }, "nullable": true, "handle": "lastname", "value": null }, { "description": "The person's company domain or company name.", "jsonSchema": { "type": "string", "minLength": 1, "description": "The person's company domain or company name." }, "nullable": false, "handle": "domainOrCompany" }, { "description": "Optional custom tracking data attached to one Icypeas single search.", "jsonSchema": { "type": "object", "properties": { "webhookUrl": { "type": "string", "format": "uri", "description": "A webhook URL that Icypeas should call when this search finishes." }, "externalId": { "type": "string", "minLength": 1, "description": "A custom ID that Icypeas stores with this search item." } }, "additionalProperties": false, "description": "Optional custom tracking data attached to one Icypeas single search." }, "nullable": true, "handle": "custom", "value": null } ], "outputs": [ { "description": "Whether Icypeas accepted the request.", "jsonSchema": { "type": "boolean", "description": "Whether Icypeas accepted the request." }, "nullable": false, "handle": "success" }, { "description": "The created Icypeas search item ID.", "jsonSchema": { "type": [ "string", "null" ], "description": "The created Icypeas search item ID." }, "nullable": true, "handle": "searchId" }, { "description": "The Icypeas search item processing status, such as NONE, IN_PROGRESS, FOUND, or DEBITED.", "jsonSchema": { "type": [ "string", "null" ], "description": "The Icypeas search item processing status, such as NONE, IN_PROGRESS, FOUND, or DEBITED." }, "nullable": true, "handle": "status" }, { "description": "An Icypeas search item result.", "jsonSchema": { "type": [ "object", "null" ], "properties": { "_id": { "type": "string", "description": "The Icypeas search item ID." }, "status": { "type": "string", "description": "The Icypeas search item processing status, such as NONE, IN_PROGRESS, FOUND, or DEBITED." }, "name": { "type": "string", "description": "The search item name returned by Icypeas." }, "file": { "type": "string", "description": "The bulk file ID associated with the item, when present." }, "order": { "type": "integer", "description": "The item order inside a bulk search, when present." }, "results": { "type": "object", "properties": {}, "additionalProperties": true, "description": "A raw object returned by Icypeas." }, "userData": { "type": "object", "properties": {}, "additionalProperties": true, "description": "A raw object returned by Icypeas." }, "system": { "type": "object", "properties": {}, "additionalProperties": true, "description": "A raw object returned by Icypeas." } }, "additionalProperties": true, "description": "An Icypeas search item result." }, "nullable": true, "handle": "item" }, { "description": "Validation errors returned by Icypeas.", "jsonSchema": { "type": "array", "items": { "type": "object", "properties": { "expected": { "description": "The expected value or type for the invalid field." }, "actual": { "description": "The actual value that Icypeas received for the invalid field." }, "type": { "type": "string", "description": "The Icypeas validation error type." }, "field": { "type": "string", "description": "The field that caused the validation error." }, "message": { "type": "string", "description": "The machine-readable validation error message." } }, "additionalProperties": true, "description": "A validation error returned by Icypeas." }, "description": "Validation errors returned by Icypeas." }, "nullable": true, "handle": "validationErrors" }, { "description": "A raw object returned by Icypeas.", "jsonSchema": { "type": "object", "properties": {}, "additionalProperties": true, "description": "A raw object returned by Icypeas." }, "nullable": false, "handle": "raw" } ], "name": "Submit the email search", "executor": { "kind": "connector", "action": "icypeas.submit_email_search" } } }, "n_82ada4a3b17cebe3": { "name": "Search submission", "kind": "outputs", "outputDefs": [ { "jsonSchema": { "type": "boolean", "description": "Whether Icypeas accepted the request." }, "nullable": false, "handle": "success" }, { "jsonSchema": { "type": [ "string", "null" ], "description": "The created Icypeas search item ID." }, "nullable": true, "handle": "searchId" }, { "jsonSchema": { "type": [ "string", "null" ], "description": "The Icypeas search item processing status, such as NONE, IN_PROGRESS, FOUND, or DEBITED." }, "nullable": true, "handle": "status" }, { "jsonSchema": { "type": "object", "properties": {}, "additionalProperties": true, "description": "A raw object returned by Icypeas." }, "nullable": false, "handle": "response" } ], "outputMappings": { "success": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_ebe8e65c47ba2159", "output": "success" } ] }, "searchId": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_ebe8e65c47ba2159", "output": "searchId" } ] }, "status": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_ebe8e65c47ba2159", "output": "status" } ] }, "response": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_ebe8e65c47ba2159", "output": "raw" } ] } } } }, "edges": [ { "source": "n_18c23a6e0ea9f8ac", "target": "n_ebe8e65c47ba2159" }, { "source": "n_ebe8e65c47ba2159", "target": "n_82ada4a3b17cebe3" } ] } }, "modules": {} }, "presentation": { "designer": { "version": 1, "flow": { "direction": "vertical" } } } }