{ "kind": "open-flow-workflow", "version": 1, "name": "Salesmate Company Creator", "content": { "modelVersion": 14, "document": { "bindings": {}, "graph": { "nodes": { "n_635ba54481d4b101": { "name": "Enter company details", "kind": "start", "inputDefs": [ { "jsonSchema": { "type": "string", "maxLength": 255, "minLength": 1, "description": "Name of the company. Salesmate documents a maximum length of 255." }, "nullable": false, "handle": "name" }, { "jsonSchema": { "type": "integer", "exclusiveMinimum": 0, "description": "Salesmate user ID that owns this company." }, "nullable": false, "handle": "owner" } ] }, "n_bd004b8e9720aa89": { "inputs": { "name": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_635ba54481d4b101", "output": "name" } ] }, "owner": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_635ba54481d4b101", "output": "owner" } ] } }, "name": "Create Salesmate company", "kind": "task", "task": { "inputs": [ { "description": "Name of the company. Salesmate documents a maximum length of 255.", "jsonSchema": { "type": "string", "maxLength": 255, "minLength": 1, "description": "Name of the company. Salesmate documents a maximum length of 255." }, "nullable": false, "handle": "name" }, { "description": "Salesmate user ID that owns this company.", "jsonSchema": { "type": "integer", "exclusiveMinimum": 0, "description": "Salesmate user ID that owns this company." }, "nullable": true, "handle": "owner", "value": null }, { "description": "Website URL of the company.", "jsonSchema": { "type": "string", "maxLength": 255, "minLength": 1, "description": "Website URL of the company." }, "nullable": true, "handle": "website", "value": null }, { "description": "Primary phone number of the company.", "jsonSchema": { "type": "string", "maxLength": 255, "minLength": 1, "description": "Primary phone number of the company." }, "nullable": true, "handle": "phone", "value": null }, { "description": "Secondary phone number of the company.", "jsonSchema": { "type": "string", "maxLength": 255, "minLength": 1, "description": "Secondary phone number of the company." }, "nullable": true, "handle": "otherPhone", "value": null }, { "description": "Skype ID of the company.", "jsonSchema": { "type": "string", "maxLength": 255, "minLength": 1, "description": "Skype ID of the company." }, "nullable": true, "handle": "skypeId", "value": null }, { "description": "Facebook profile or handle for the company.", "jsonSchema": { "type": "string", "maxLength": 100, "minLength": 1, "description": "Facebook profile or handle for the company." }, "nullable": true, "handle": "facebookHandle", "value": null }, { "description": "LinkedIn profile link for the company.", "jsonSchema": { "type": "string", "maxLength": 100, "minLength": 1, "description": "LinkedIn profile link for the company." }, "nullable": true, "handle": "linkedInHandle", "value": null }, { "description": "Twitter profile or handle for the company.", "jsonSchema": { "type": "string", "maxLength": 100, "minLength": 1, "description": "Twitter profile or handle for the company." }, "nullable": true, "handle": "twitterHandle", "value": null }, { "description": "Google Plus profile or handle for the company.", "jsonSchema": { "type": "string", "maxLength": 100, "minLength": 1, "description": "Google Plus profile or handle for the company." }, "nullable": true, "handle": "googlePlusHandle", "value": null }, { "description": "Three-letter ISO currency code for the company, in uppercase.", "jsonSchema": { "type": "string", "minLength": 3, "maxLength": 3, "description": "Three-letter ISO currency code for the company, in uppercase." }, "nullable": true, "handle": "currency", "value": null }, { "description": "Line one of the billing address.", "jsonSchema": { "type": "string", "maxLength": 50, "minLength": 1, "description": "Line one of the billing address." }, "nullable": true, "handle": "billingAddressLine1", "value": null }, { "description": "Line two of the billing address.", "jsonSchema": { "type": "string", "maxLength": 50, "minLength": 1, "description": "Line two of the billing address." }, "nullable": true, "handle": "billingAddressLine2", "value": null }, { "description": "Billing city name.", "jsonSchema": { "type": "string", "maxLength": 50, "minLength": 1, "description": "Billing city name." }, "nullable": true, "handle": "billingCity", "value": null }, { "description": "Billing ZIP or postal code.", "jsonSchema": { "type": "string", "maxLength": 20, "minLength": 1, "description": "Billing ZIP or postal code." }, "nullable": true, "handle": "billingZipCode", "value": null }, { "description": "Billing state name.", "jsonSchema": { "type": "string", "maxLength": 30, "minLength": 1, "description": "Billing state name." }, "nullable": true, "handle": "billingState", "value": null }, { "description": "Billing country name.", "jsonSchema": { "type": "string", "maxLength": 20, "minLength": 1, "description": "Billing country name." }, "nullable": true, "handle": "billingCountry", "value": null }, { "description": "Description attached to the company.", "jsonSchema": { "type": "string", "maxLength": 2000, "minLength": 1, "description": "Description attached to the company." }, "nullable": true, "handle": "description", "value": null }, { "description": "Comma-separated tags associated with the company.", "jsonSchema": { "type": "string", "maxLength": 5000, "minLength": 1, "description": "Comma-separated tags associated with the company." }, "nullable": true, "handle": "tags", "value": null }, { "description": "Additional Salesmate company custom fields keyed by field API name.", "jsonSchema": { "type": "object", "properties": {}, "additionalProperties": true, "description": "Additional Salesmate company custom fields keyed by field API name." }, "nullable": true, "handle": "customFields", "value": null } ], "outputs": [ { "description": "The raw Salesmate response payload.", "jsonSchema": { "type": "object", "properties": {}, "additionalProperties": true, "description": "The raw Salesmate response payload." }, "nullable": false, "handle": "company" }, { "description": "The raw Salesmate response payload.", "jsonSchema": { "type": "object", "properties": {}, "additionalProperties": true, "description": "The raw Salesmate response payload." }, "nullable": false, "handle": "raw" } ], "name": "Create Salesmate company", "executor": { "kind": "connector", "action": "salesmate.create_company" } } }, "n_0c8e75f50c4aaeac": { "name": "Company API response", "kind": "outputs", "outputDefs": [ { "jsonSchema": { "type": "object", "properties": {}, "additionalProperties": true, "description": "The raw Salesmate response payload." }, "nullable": false, "handle": "response" } ], "outputMappings": { "response": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_bd004b8e9720aa89", "output": "raw" } ] } } } }, "edges": [ { "source": "n_635ba54481d4b101", "target": "n_bd004b8e9720aa89" }, { "source": "n_bd004b8e9720aa89", "target": "n_0c8e75f50c4aaeac" } ] } }, "modules": {} }, "presentation": { "designer": { "version": 1, "flow": { "direction": "vertical" } } } }