Welcome to the Make community!
Yes, that is possible. You’ll need a minimum of one module:
Output:
Give it a go and let us know if you have any issues!
Module Export
You can copy and paste this module export into your scenario. This will paste the modules shown in my screenshots above.
-
Copy the JSON code below by clicking the copy button when you mouseover the top-right of the code block
-
Enter your scenario editor. Press ESC to close any dialogs. Press CTRLV (paste keyboard shortcut for Windows) to paste directly in the canvas.
-
Click on each imported module and save it for validation. You may be prompted to remap some variables and connections.
View Module Export Code
JSON
{
"subflows": [
{
"flow": [
{
"id": 86,
"module": "json:ParseJSON",
"version": 1,
"parameters": {
"type": ""
},
"mapper": {
"json": "[\n {\n \"name\": \"Offerteaanvraag | Guardey\",\n \"site\": \"654385bc2a9744da05684b9e\",\n \"data\": {\n \"Bedrijfsnaam\": \"Workflow heroes\",\n \"Voornaam\": \"Marc\",\n \"Achternaam\": \"van workflowheroes\",\n \"Email\": \"marc@workflowheroes.nl\",\n \"Telefoon\": \"0626271596\",\n \"ISO 9001\": \"false\",\n \"ISO 27001\": \"true\",\n \"NEN 7510\": \"false\",\n \"ISAE 3402\": \"true\",\n \"SOC 2\": \"false\",\n \"Andere norm\": \"\",\n \"Guardey 3\": \"true\",\n \"Fysieke Training 3\": \"true\",\n \"Aantal Gebruikers\": \"200000\",\n \"Onboarding voor admins\": \"true\",\n \"LMS Adviesrapport\": \"true\",\n \"Maatwerktraining\": \"true\",\n \"Pagina\": \"https://www.kamcertificeringen.nl/guardey\",\n \"Dienst\": \"Security Awareness Game\"\n },\n \"d\": \"2024-06-07T10:17:40.773Z\",\n \"_id\": \"6662de449c5f94951440bee3\",\n \"formId\": \"6548e1ecb20121e66f0ddf67\"\n }\n]"
},
"metadata": {
"designer": {
"x": -98,
"y": -1561
},
"restore": {
"parameters": {
"type": {
"label": "Choose a data structure"
}
}
},
"parameters": [
{
"name": "type",
"type": "udt",
"label": "Data structure"
}
],
"expect": [
{
"name": "json",
"type": "text",
"label": "JSON string",
"required": true
}
]
}
},
{
"id": 88,
"module": "util:SetVariable2",
"version": 1,
"parameters": {},
"mapper": {
"name": "array",
"scope": "roundtrip",
"value": "{{slice(deduplicate(add(emptyarray; null; if(86.data.`ISO 9001` = \"true\"; \"ISO 9001\"; null); if(86.data.`ISO 27001` = \"true\"; \"ISO 27001\"; null); if(86.data.`NEN 7510` = \"true\"; \"NEN 7510\"; null); if(86.data.`ISAE 3402` = \"true\"; \"ISAE 3402\"; null); if(86.data.`SOC 2` = \"true\"; \"SOC 2\"; null))); 1)}}"
},
"metadata": {
"designer": {
"x": 80,
"y": -1560
},
"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": "array",
"label": "array",
"type": "any"
}
]
}
}
]
}
],
"metadata": {
"version": 1
}
}
samliew – request private consultation
Join the Make Fans Discord server to chat with other makers!