glific-frontend icon indicating copy to clipboard operation
glific-frontend copied to clipboard

Create new node in floweditor and decide on specs

Open mdshamoon opened this issue 2 years ago • 0 comments

Task

Create a new node in floweditor that will select a google sheet and the row and save it in a variable

image

Initial json specs for node:

{
            "uuid": "c509ea9d-218a-4a6f-b694-d77298d147bf",
            "exits": [
                {
                    "uuid": "8b127469-6775-4029-ac08-d34492da3775",
                    "destination_uuid": "d69d3797-b636-4cc9-a9eb-e587e3c37234"
                },
                {
                    "uuid": "02a71c2f-5575-4157-bd05-479a28a7a24a",
                    "destination_uuid": null
                }
            ],
            "router": {
                "type": "switch",
                "categories": [
                    {
                        "name": "Success",
                        "uuid": "12b75c3e-81b2-4260-a9d4-0b8cc9f64fbf",
                        "exit_uuid": "8b127469-6775-4029-ac08-d34492da3775"
                    },
                    {
                        "name": "Failure",
                        "uuid": "9ef9dc91-1117-4ccf-aaff-2bb7f08e2a76",
                        "exit_uuid": "02a71c2f-5575-4157-bd05-479a28a7a24a"
                    }
                ],
                "default_category_uuid": "9ef9dc91-1117-4ccf-aaff-2bb7f08e2a76"
            },
            "actions": [
                {
                    "id": "1",
                    "name": "Default sheet",
                    "type": "call_sheet",
                    "row": "@contact.phone",
                    "result_name": "{sheet name}"
                }
            ]
        },

mdshamoon avatar Oct 12 '22 09:10 mdshamoon