{ "kind": "open-flow-workflow", "version": 1, "name": "Mautic Contact Reader", "content": { "modelVersion": 14, "document": { "bindings": {}, "graph": { "nodes": { "n_4bfc104ce7ab9c38": { "name": "Read Mautic contacts", "kind": "start", "inputDefs": [] }, "n_aef7fb1e72803d1a": { "inputs": { "start": { "kind": "value", "value": 0 }, "limit": { "kind": "value", "value": 30 } }, "name": "Read first 30 Mautic contacts", "kind": "task", "task": { "inputs": [ { "description": "A Mautic search expression or text filter applied to the collection.", "jsonSchema": { "type": "string", "minLength": 1, "description": "A Mautic search expression or text filter applied to the collection." }, "nullable": true, "handle": "search", "value": null }, { "description": "The zero-based starting row for the returned collection.", "jsonSchema": { "type": "integer", "minimum": 0, "description": "The zero-based starting row for the returned collection." }, "nullable": true, "handle": "start", "value": null }, { "description": "The maximum number of records to return.", "jsonSchema": { "type": "integer", "exclusiveMinimum": 0, "description": "The maximum number of records to return." }, "nullable": true, "handle": "limit", "value": null }, { "description": "The Mautic field used to order results, such as date_added or lastname.", "jsonSchema": { "type": "string", "minLength": 1, "description": "The Mautic field used to order results, such as date_added or lastname." }, "nullable": true, "handle": "orderBy", "value": null }, { "description": "The result ordering direction.", "jsonSchema": { "type": "string", "enum": [ "asc", "desc" ], "description": "The result ordering direction." }, "nullable": true, "handle": "orderByDir", "value": null }, { "description": "Whether to return only published records.", "jsonSchema": { "type": "boolean", "description": "Whether to return only published records." }, "nullable": true, "handle": "publishedOnly", "value": null } ], "outputs": [ { "description": "Contacts returned by Mautic.", "jsonSchema": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "exclusiveMinimum": 0, "description": "The numeric Mautic contact ID." }, "isPublished": { "type": "boolean", "description": "Whether the contact is published." }, "points": { "type": "integer", "description": "The contact's current points total." }, "dateAdded": { "type": "string", "description": "The date and time when the contact was created." }, "dateModified": { "type": [ "string", "null" ], "description": "The date and time when the contact was last modified." }, "fields": { "type": "object", "properties": {}, "additionalProperties": true, "description": "Contact fields grouped and returned by Mautic." }, "tags": { "type": "array", "items": { "type": "object", "properties": {}, "additionalProperties": true, "description": "A Mautic tag." }, "description": "Tags associated with the contact." } }, "additionalProperties": true, "description": "Mautic contact data." }, "description": "Contacts returned by Mautic." }, "nullable": false, "handle": "contacts" }, { "description": "The total number of matching contacts reported by Mautic.", "jsonSchema": { "type": "integer", "minimum": 0, "description": "The total number of matching contacts reported by Mautic." }, "nullable": false, "handle": "total" } ], "name": "Read first 30 Mautic contacts", "executor": { "kind": "connector", "action": "mautic.list_contacts" } } }, "n_787e46dad5381f6b": { "name": "Mautic contacts and count", "kind": "outputs", "outputDefs": [ { "jsonSchema": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "exclusiveMinimum": 0, "description": "The numeric Mautic contact ID." }, "isPublished": { "type": "boolean", "description": "Whether the contact is published." }, "points": { "type": "integer", "description": "The contact's current points total." }, "dateAdded": { "type": "string", "description": "The date and time when the contact was created." }, "dateModified": { "type": [ "string", "null" ], "description": "The date and time when the contact was last modified." }, "fields": { "type": "object", "properties": {}, "additionalProperties": true, "description": "Contact fields grouped and returned by Mautic." }, "tags": { "type": "array", "items": { "type": "object", "properties": {}, "additionalProperties": true, "description": "A Mautic tag." }, "description": "Tags associated with the contact." } }, "additionalProperties": true, "description": "Mautic contact data." }, "description": "Contacts returned by Mautic." }, "nullable": false, "handle": "contacts" }, { "jsonSchema": { "type": "integer", "minimum": 0, "description": "The total number of matching contacts reported by Mautic." }, "nullable": false, "handle": "total" } ], "outputMappings": { "contacts": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_aef7fb1e72803d1a", "output": "contacts" } ] }, "total": { "kind": "sources", "sources": [ { "kind": "node", "nodeId": "n_aef7fb1e72803d1a", "output": "total" } ] } } } }, "edges": [ { "source": "n_4bfc104ce7ab9c38", "target": "n_aef7fb1e72803d1a" }, { "source": "n_aef7fb1e72803d1a", "target": "n_787e46dad5381f6b" } ] } }, "modules": {} }, "presentation": { "designer": { "version": 1, "flow": { "direction": "vertical" } } } }