{ "kind": "open-flow-workflow", "version": 1, "name": "Create an Intercom User by Email", "content": { "modelVersion": 14, "document": { "bindings": {}, "graph": { "nodes": { "n_abd9c7fbf967e326": { "name": "Enter the email", "kind": "start", "inputDefs": [ { "jsonSchema": { "type": "string", "format": "email", "description": "Primary email address for the Intercom contact." }, "nullable": false, "handle": "email" } ] }, "n_7d4ce6e0ed0d29bd": { "inputs": { "role": { "kind": "value", "value": "user" }, "email": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_abd9c7fbf967e326", "output": "email" } ] } }, "name": "Create the Intercom user", "kind": "task", "task": { "inputs": [ { "description": "Intercom contact role.", "jsonSchema": { "type": "string", "enum": [ "user", "lead" ], "description": "Intercom contact role." }, "nullable": true, "handle": "role", "value": null }, { "description": "External identifier stored on the Intercom contact.", "jsonSchema": { "type": "string", "minLength": 1, "description": "External identifier stored on the Intercom contact." }, "nullable": true, "handle": "externalId", "value": null }, { "description": "Primary email address for the Intercom contact.", "jsonSchema": { "type": "string", "format": "email", "description": "Primary email address for the Intercom contact." }, "nullable": true, "handle": "email", "value": null }, { "description": "Phone number for the Intercom contact.", "jsonSchema": { "type": [ "string", "null" ], "minLength": 1, "description": "Phone number for the Intercom contact." }, "nullable": true, "handle": "phone", "value": null }, { "description": "Display name for the Intercom contact.", "jsonSchema": { "type": [ "string", "null" ], "minLength": 1, "description": "Display name for the Intercom contact." }, "nullable": true, "handle": "name", "value": null }, { "description": "Avatar image URL for the Intercom contact.", "jsonSchema": { "type": [ "string", "null" ], "format": "uri", "description": "Avatar image URL for the Intercom contact." }, "nullable": true, "handle": "avatar", "value": null }, { "description": "UNIX timestamp when the contact signed up.", "jsonSchema": { "type": [ "integer", "null" ], "minimum": 0, "description": "UNIX timestamp when the contact signed up." }, "nullable": true, "handle": "signedUpAt", "value": null }, { "description": "UNIX timestamp when the contact was last seen.", "jsonSchema": { "type": [ "integer", "null" ], "minimum": 0, "description": "UNIX timestamp when the contact was last seen." }, "nullable": true, "handle": "lastSeenAt", "value": null }, { "description": "Intercom admin identifier.", "jsonSchema": { "anyOf": [ { "anyOf": [ { "type": "string", "minLength": 1, "description": "Intercom string admin identifier." }, { "type": "integer", "minimum": 0, "description": "Intercom numeric admin identifier." } ], "description": "Intercom admin identifier." }, { "type": "null" } ], "description": "Intercom admin identifier." }, "nullable": true, "handle": "ownerId", "value": null }, { "description": "Whether the contact is unsubscribed from emails.", "jsonSchema": { "type": [ "boolean", "null" ], "description": "Whether the contact is unsubscribed from emails." }, "nullable": true, "handle": "unsubscribedFromEmails", "value": null }, { "description": "Intercom key-value object.", "jsonSchema": { "type": [ "object", "null" ], "additionalProperties": { "description": "Intercom field value." }, "description": "Intercom key-value object." }, "nullable": true, "handle": "customAttributes", "value": null } ], "outputs": [ { "description": "Created or updated Intercom contact.", "jsonSchema": { "type": "object", "properties": {}, "additionalProperties": true, "description": "Created or updated Intercom contact." }, "nullable": false, "handle": "contact" } ], "name": "Create the Intercom user", "executor": { "kind": "connector", "action": "intercom.create_contact" } } }, "n_c312edd9d7f0be2c": { "name": "Created contact", "kind": "outputs", "outputDefs": [ { "jsonSchema": { "type": "object", "properties": {}, "additionalProperties": true, "description": "Created or updated Intercom contact." }, "nullable": false, "handle": "contact" } ], "outputMappings": { "contact": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_7d4ce6e0ed0d29bd", "output": "contact" } ] } } } }, "edges": [ { "source": "n_abd9c7fbf967e326", "target": "n_7d4ce6e0ed0d29bd" }, { "source": "n_7d4ce6e0ed0d29bd", "target": "n_c312edd9d7f0be2c" } ] } }, "modules": {} }, "presentation": { "designer": { "version": 1, "flow": { "direction": "vertical" } } } }