{ "kind": "open-flow-workflow", "version": 1, "name": "Chargebee Customer Creator", "content": { "modelVersion": 14, "document": { "bindings": {}, "graph": { "nodes": { "n_dc9541c85c99a353": { "name": "Start customer creation", "kind": "start", "inputDefs": [] }, "n_922ac5b3cead0883": { "inputs": { "firstName": { "kind": "value", "value": "YOUR_FIRST_NAME" }, "lastName": { "kind": "value", "value": "YOUR_LAST_NAME" } }, "name": "Create Chargebee customer", "kind": "task", "task": { "inputs": [ { "description": "The Chargebee customer identifier.", "jsonSchema": { "type": "string", "maxLength": 50, "minLength": 1, "description": "The Chargebee customer identifier." }, "nullable": true, "handle": "id", "value": null }, { "description": "The customer email address.", "jsonSchema": { "type": "string", "format": "email", "description": "The customer email address." }, "nullable": true, "handle": "email", "value": null }, { "description": "The customer first name.", "jsonSchema": { "type": "string", "maxLength": 150, "minLength": 1, "description": "The customer first name." }, "nullable": true, "handle": "firstName", "value": null }, { "description": "The customer last name.", "jsonSchema": { "type": "string", "maxLength": 150, "minLength": 1, "description": "The customer last name." }, "nullable": true, "handle": "lastName", "value": null }, { "description": "The customer phone number.", "jsonSchema": { "type": "string", "maxLength": 50, "minLength": 1, "description": "The customer phone number." }, "nullable": true, "handle": "phone", "value": null }, { "description": "The customer company name.", "jsonSchema": { "type": "string", "maxLength": 250, "minLength": 1, "description": "The customer company name." }, "nullable": true, "handle": "company", "value": null }, { "description": "The customer VAT or tax registration number.", "jsonSchema": { "type": "string", "maxLength": 20, "minLength": 1, "description": "The customer VAT or tax registration number." }, "nullable": true, "handle": "vatNumber", "value": null }, { "description": "Whether Chargebee should auto-collect customer invoices.", "jsonSchema": { "type": "string", "enum": [ "on", "off" ], "description": "Whether Chargebee should auto-collect customer invoices." }, "nullable": true, "handle": "autoCollection", "value": null }, { "description": "The number of net term days for the customer.", "jsonSchema": { "type": "integer", "description": "The number of net term days for the customer." }, "nullable": true, "handle": "netTermDays", "value": null }, { "description": "Customer metadata forwarded to Chargebee as meta_data fields.", "jsonSchema": { "type": "object", "additionalProperties": { "type": [ "string", "number", "boolean" ], "description": "A scalar metadata value." }, "description": "Customer metadata forwarded to Chargebee as meta_data fields." }, "nullable": true, "handle": "metadata", "value": null } ], "outputs": [ { "description": "A normalized Chargebee customer.", "jsonSchema": { "type": "object", "properties": { "id": { "type": "string", "maxLength": 50, "minLength": 1, "description": "The Chargebee customer identifier." }, "email": { "type": [ "string", "null" ], "format": "email", "description": "The customer email address when returned by Chargebee." }, "firstName": { "type": [ "string", "null" ], "description": "The customer first name when returned by Chargebee." }, "lastName": { "type": [ "string", "null" ], "description": "The customer last name when returned by Chargebee." }, "company": { "type": [ "string", "null" ], "description": "The customer company name when returned by Chargebee." }, "deleted": { "type": [ "boolean", "null" ], "description": "Whether Chargebee marks the customer as deleted." }, "raw": { "type": "object", "properties": {}, "additionalProperties": true, "description": "The raw customer object returned by Chargebee." } }, "required": [ "id", "email", "firstName", "lastName", "company", "deleted", "raw" ], "additionalProperties": false, "description": "A normalized Chargebee customer." }, "nullable": false, "handle": "customer" } ], "name": "Create Chargebee customer", "executor": { "kind": "connector", "action": "chargebee.create_customer" } } }, "n_08cdea9de0cbd3cb": { "name": "Created customer", "kind": "outputs", "outputDefs": [ { "jsonSchema": { "type": "object", "properties": { "id": { "type": "string", "maxLength": 50, "minLength": 1, "description": "The Chargebee customer identifier." }, "email": { "type": [ "string", "null" ], "format": "email", "description": "The customer email address when returned by Chargebee." }, "firstName": { "type": [ "string", "null" ], "description": "The customer first name when returned by Chargebee." }, "lastName": { "type": [ "string", "null" ], "description": "The customer last name when returned by Chargebee." }, "company": { "type": [ "string", "null" ], "description": "The customer company name when returned by Chargebee." }, "deleted": { "type": [ "boolean", "null" ], "description": "Whether Chargebee marks the customer as deleted." }, "raw": { "type": "object", "properties": {}, "additionalProperties": true, "description": "The raw customer object returned by Chargebee." } }, "required": [ "id", "email", "firstName", "lastName", "company", "deleted", "raw" ], "additionalProperties": false, "description": "A normalized Chargebee customer." }, "nullable": false, "handle": "customer" } ], "outputMappings": { "customer": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_922ac5b3cead0883", "output": "customer" } ] } } } }, "edges": [ { "source": "n_dc9541c85c99a353", "target": "n_922ac5b3cead0883" }, { "source": "n_922ac5b3cead0883", "target": "n_08cdea9de0cbd3cb" } ] } }, "modules": {} }, "presentation": { "designer": { "version": 1, "flow": { "direction": "vertical" } } } }