Yes, that is possible. You’ll need a minimum of three modules:
View Module Export Code
JSON
{
"subflows": [
{
"flow": [
{
"id": 62,
"module": "util:ComposeTransformer",
"version": 1,
"parameters": {},
"mapper": {
"value": "[\n {\n \"Tipo de boleto\": \"Oro ($4000)\",\n \"Nombre\": \"Carmina\",\n \"Apellido\": \"Hello\",\n \"Email\": \"hola@hello.com\",\n \"Teléfono\": \"+52564498\",\n \"Nombre de marca\": \"Hello ma\",\n \"Pais de origen\": \"México\",\n \"Instagram\": \"@Hello\",\n \"¿Es tu primer evento?\": \"Si\",\n \"Como te enteraste del evento\": \"BSuper\",\n \"Tipo de comida\": \"Regular\",\n \"Tipo de mesa\": \"Espacio unicamente\",\n \"Necesitas mantel\": \"\",\n \"¿Tienes cupón de descuento?\": \"\",\n \"Monto a pagar: $247\": \"\",\n \"Monto a pagar: $0\": \"\",\n \"Monto a pagar: $187\": \"\",\n \"Monto a pagar: $177\": \"\",\n \"Monto a pagar: $157\": \"\",\n \"Monto a pagar: $227\": \"\",\n \"Monto a pagar: $150\": \"\",\n \"Monto a pagar: $225\": \"\",\n \"Monto a pagar: $275\": \"\",\n \"Monto a pagar: $500\": \"\",\n \"Monto a pagar: $2500\": \"\",\n \"Monto a pagar: $4000\": \"\",\n \"Monto a pagar: $6000\": \"\",\n \"Datos de tarjeta de crédito ($247)\": \"\",\n \"Datos de tarjeta de crédito ($177)\": \"\",\n \"Datos de tarjeta de crédito ($187)\": \"\",\n \"Datos de tarjeta de crédito ($157)\": \"\",\n \"Datos de tarjeta de crédito ($227)\": \"\",\n \"Datos de tarjeta de crédito ($150)\": \"\",\n \"Datos de tarjeta de crédito ($225)\": \"\",\n \"Datos de tarjeta de crédito ($275)\": \"\",\n \"Datos de tarjeta de crédito ($500)\": \"\",\n \"Datos de tarjeta de crédito ($2500)\": \"\",\n \"Datos de tarjeta de crédito ($4000)\": \"pi_3PMEhNAAw3EQaeeA1X9eK1qB\",\n \"Datos de tarjeta de crédito ($6000)\": \"\",\n \"No Label field_c7c22bd\": \"on\",\n \"No Label field_ba8bf0b\": \"on\",\n \"form_id\": \"bd5f57f\",\n \"form_name\": \"New Form\"\n }\n]"
},
"metadata": {
"designer": {
"x": -724,
"y": -1776
},
"restore": {},
"expect": [
{
"name": "value",
"type": "text",
"label": "Text"
}
]
}
},
{
"id": 63,
"module": "regexp:Parser",
"version": 1,
"parameters": {
"pattern": "\"(?<key>[^\"]+)\":\\s+\"\",",
"global": true,
"sensitive": false,
"multiline": false,
"singleline": false,
"continueWhenNoRes": false,
"ignoreInfiniteLoopsWhenGlobal": false
},
"mapper": {
"text": "{{62.value}}"
},
"metadata": {
"designer": {
"x": -483,
"y": -1777
},
"restore": {},
"parameters": [
{
"name": "pattern",
"type": "text",
"label": "Pattern",
"required": true
},
{
"name": "global",
"type": "boolean",
"label": "Global match",
"required": true
},
{
"name": "sensitive",
"type": "boolean",
"label": "Case sensitive",
"required": true
},
{
"name": "multiline",
"type": "boolean",
"label": "Multiline",
"required": true
},
{
"name": "singleline",
"type": "boolean",
"label": "Singleline",
"required": true
},
{
"name": "continueWhenNoRes",
"type": "boolean",
"label": "Continue the execution of the route even if the module finds no matches",
"required": true
},
{
"name": "ignoreInfiniteLoopsWhenGlobal",
"type": "boolean",
"label": "Ignore errors when there is an infinite search loop",
"required": true
}
],
"expect": [
{
"name": "text",
"type": "text",
"label": "Text"
}
],
"interface": [
{
"type": "text",
"name": "key",
"label": "key"
},
{
"type": "uinteger",
"name": "i",
"label": "i"
},
{
"type": "any",
"name": "__IMTMATCH__",
"label": "Fallback Match"
}
]
}
},
{
"id": 64,
"module": "builtin:BasicAggregator",
"version": 1,
"parameters": {
"feeder": 63
},
"mapper": {
"key": "{{63.key}}"
},
"metadata": {
"designer": {
"x": -236,
"y": -1778
},
"restore": {
"extra": {
"feeder": {
"label": "Text parser - Match pattern [63]"
},
"target": {
"label": "Custom"
}
}
}
}
},
{
"id": 65,
"module": "util:SetVariable2",
"version": 1,
"parameters": {},
"mapper": {
"name": "keys",
"scope": "roundtrip",
"value": "{{map(64.array; \"key\")}}"
},
"metadata": {
"designer": {
"x": 7,
"y": -1779
},
"restore": {
"expect": {
"scope": {
"label": "One cycle"
}
}
},
"expect": [
{
"name": "name",
"type": "text",
"label": "Variable name",
"required": true
},
{
"name": "scope",
"type": "select",
"label": "Variable lifetime",
"required": true,
"validate": {
"enum": [
"roundtrip",
"execution"
]
}
},
{
"name": "value",
"type": "any",
"label": "Variable value"
}
],
"interface": [
{
"name": "keys",
"label": "keys",
"type": "any"
}
]
}
}
]
}
],
"metadata": {
"version": 1
}
}