{
    "name": "Demo - Slack AI Assistant (Invoices, Onboarding, Staff Support)",
    "flow": [
        {
            "id": 5,
            "module": "gateway:CustomWebHook",
            "version": 1,
            "parameters": {
                "hook": 1020725,
                "maxResults": 1
            },
            "mapper": {},
            "metadata": {
                "designer": {
                    "x": 0,
                    "y": 450
                },
                "restore": {
                    "parameters": {
                        "hook": {
                            "data": {
                                "editable": "true"
                            },
                            "label": "Demo - Slack AI Assistant"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "hook",
                        "type": "hook:gateway-webhook",
                        "label": "Webhook",
                        "required": true
                    },
                    {
                        "name": "maxResults",
                        "type": "number",
                        "label": "Maximum number of results"
                    }
                ]
            }
        },
        {
            "id": 26,
            "module": "util:SetVariable2",
            "version": 1,
            "parameters": {},
            "mapper": {
                "name": "Slack API OAuth Token",
                "scope": "roundtrip",
                "value": "xoxb-..."
            },
            "metadata": {
                "designer": {
                    "x": 300,
                    "y": 450,
                    "name": "SET OAUTH TOKEN"
                },
                "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": "Slack API OAuth Token",
                        "label": "Slack API OAuth Token",
                        "type": "any"
                    }
                ]
            }
        },
        {
            "id": 6,
            "module": "builtin:BasicRouter",
            "version": 1,
            "mapper": null,
            "metadata": {
                "designer": {
                    "x": 600,
                    "y": 450
                }
            },
            "routes": [
                {
                    "flow": [
                        {
                            "id": 7,
                            "module": "gateway:WebhookRespond",
                            "version": 1,
                            "parameters": {},
                            "filter": {
                                "name": "",
                                "conditions": [
                                    [
                                        {
                                            "a": "{{5.command}}",
                                            "b": "/invoice",
                                            "o": "text:equal"
                                        }
                                    ]
                                ]
                            },
                            "mapper": {
                                "body": "Invoice Processing...",
                                "status": "200",
                                "headers": []
                            },
                            "metadata": {
                                "designer": {
                                    "x": 900,
                                    "y": 150
                                },
                                "restore": {
                                    "expect": {
                                        "headers": {
                                            "mode": "chose"
                                        }
                                    }
                                },
                                "expect": [
                                    {
                                        "name": "status",
                                        "type": "uinteger",
                                        "label": "Status",
                                        "required": true,
                                        "validate": {
                                            "min": 100
                                        }
                                    },
                                    {
                                        "name": "body",
                                        "type": "any",
                                        "label": "Body"
                                    },
                                    {
                                        "name": "headers",
                                        "spec": [
                                            {
                                                "name": "key",
                                                "type": "text",
                                                "label": "Key",
                                                "required": true,
                                                "validate": {
                                                    "max": 256
                                                }
                                            },
                                            {
                                                "name": "value",
                                                "type": "text",
                                                "label": "Value",
                                                "required": true,
                                                "validate": {
                                                    "max": 4096
                                                }
                                            }
                                        ],
                                        "type": "array",
                                        "label": "Custom headers",
                                        "validate": {
                                            "maxItems": 16
                                        }
                                    }
                                ]
                            }
                        },
                        {
                            "id": 11,
                            "module": "openai-gpt-3:CreateCompletion",
                            "version": 1,
                            "parameters": {
                                "__IMTCONN__": 2356104
                            },
                            "mapper": {
                                "model": "gpt-4o-mini",
                                "top_p": "1",
                                "select": "chat",
                                "messages": [
                                    {
                                        "role": "system",
                                        "content": "You are a JSON formatter. You take the input text and format it into the following JSON:\n\n{\n\"name\":\"\",\n\"email\":\"\",\n\"amount\":\"\",\n\"service info\":\"\"\n}"
                                    },
                                    {
                                        "role": "user",
                                        "content": "Create an invoice for Rahul Jindal (email@rjmedihub.com). This should be £2000 for Digital Marketing and AI Automation Services."
                                    },
                                    {
                                        "role": "assistant",
                                        "content": "{\n\"name\":\"Rahul Jindal\",\n\"email\":\"email@rjmediahub.com\",\n\"amount\":\"2000\",\n\"service info\":\"Digital Marketing & AI Automation Services\"\n}"
                                    },
                                    {
                                        "role": "user",
                                        "content": "{{5.text}}"
                                    }
                                ],
                                "max_tokens": "0",
                                "temperature": "0.1",
                                "n_completions": "1",
                                "response_format": "json_object",
                                "parseJSONResponse": true
                            },
                            "metadata": {
                                "designer": {
                                    "x": 1200,
                                    "y": 150,
                                    "name": "Invoice JSON Formatter"
                                },
                                "restore": {
                                    "expect": {
                                        "stop": {
                                            "mode": "chose"
                                        },
                                        "model": {
                                            "mode": "chose",
                                            "label": "gpt-4o-mini (system)"
                                        },
                                        "select": {
                                            "label": "Create a Chat Completion (GPT Models)"
                                        },
                                        "messages": {
                                            "mode": "chose",
                                            "items": [
                                                {
                                                    "role": {
                                                        "mode": "chose",
                                                        "label": "System"
                                                    }
                                                },
                                                {
                                                    "role": {
                                                        "mode": "chose",
                                                        "label": "User"
                                                    }
                                                },
                                                {
                                                    "role": {
                                                        "mode": "chose",
                                                        "label": "Assistant"
                                                    }
                                                },
                                                {
                                                    "role": {
                                                        "mode": "chose",
                                                        "label": "User"
                                                    }
                                                }
                                            ]
                                        },
                                        "logit_bias": {
                                            "mode": "chose"
                                        },
                                        "response_format": {
                                            "mode": "chose",
                                            "label": "JSON Object"
                                        },
                                        "parseJSONResponse": {
                                            "mode": "chose"
                                        },
                                        "additionalParameters": {
                                            "mode": "chose"
                                        }
                                    },
                                    "parameters": {
                                        "__IMTCONN__": {
                                            "data": {
                                                "scoped": "true",
                                                "connection": "openai-gpt-3"
                                            },
                                            "label": "RJ Media"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "__IMTCONN__",
                                        "type": "account:openai-gpt-3",
                                        "label": "Connection",
                                        "required": true
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "select",
                                        "type": "select",
                                        "label": "Select Method",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "chat",
                                                "prompt"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "max_tokens",
                                        "type": "number",
                                        "label": "Max Tokens",
                                        "required": true
                                    },
                                    {
                                        "name": "temperature",
                                        "type": "number",
                                        "label": "Temperature",
                                        "validate": {
                                            "max": 2,
                                            "min": 0
                                        }
                                    },
                                    {
                                        "name": "top_p",
                                        "type": "number",
                                        "label": "Top P",
                                        "validate": {
                                            "max": 1,
                                            "min": 0
                                        }
                                    },
                                    {
                                        "name": "n_completions",
                                        "type": "number",
                                        "label": "Number"
                                    },
                                    {
                                        "name": "frequency_penalty",
                                        "type": "number",
                                        "label": "Frequency Penalty",
                                        "validate": {
                                            "max": 2,
                                            "min": -2
                                        }
                                    },
                                    {
                                        "name": "presence_penalty",
                                        "type": "number",
                                        "label": "Presence Penalty",
                                        "validate": {
                                            "max": 2,
                                            "min": -2
                                        }
                                    },
                                    {
                                        "name": "logit_bias",
                                        "spec": {
                                            "name": "value",
                                            "spec": [
                                                {
                                                    "name": "token",
                                                    "type": "text",
                                                    "label": "Token ID",
                                                    "required": true
                                                },
                                                {
                                                    "name": "probability",
                                                    "type": "number",
                                                    "label": "Probability",
                                                    "required": true,
                                                    "validate": {
                                                        "max": 100,
                                                        "min": -100
                                                    }
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Token Probability"
                                        },
                                        "type": "array",
                                        "label": "Token Probability"
                                    },
                                    {
                                        "name": "response_format",
                                        "type": "select",
                                        "label": "Response Format",
                                        "validate": {
                                            "enum": [
                                                "text",
                                                "json_object"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "seed",
                                        "type": "integer",
                                        "label": "Seed"
                                    },
                                    {
                                        "name": "stop",
                                        "spec": {
                                            "name": "value",
                                            "type": "text",
                                            "label": "Stop Sequence"
                                        },
                                        "type": "array",
                                        "label": "Stop Sequences",
                                        "validate": {
                                            "maxItems": 4
                                        }
                                    },
                                    {
                                        "name": "additionalParameters",
                                        "spec": {
                                            "name": "value",
                                            "spec": [
                                                {
                                                    "name": "key",
                                                    "type": "text",
                                                    "label": "Parameter Name",
                                                    "required": true
                                                },
                                                {
                                                    "name": "type",
                                                    "type": "select",
                                                    "label": "Input Type",
                                                    "options": [
                                                        {
                                                            "label": "Text",
                                                            "value": "text",
                                                            "nested": [
                                                                {
                                                                    "name": "value",
                                                                    "type": "text",
                                                                    "label": "Parameter Value"
                                                                }
                                                            ],
                                                            "default": true
                                                        },
                                                        {
                                                            "label": "Number",
                                                            "value": "number",
                                                            "nested": [
                                                                {
                                                                    "name": "value",
                                                                    "type": "number",
                                                                    "label": "Parameter Value"
                                                                }
                                                            ]
                                                        },
                                                        {
                                                            "label": "Boolean",
                                                            "value": "boolean",
                                                            "nested": [
                                                                {
                                                                    "name": "value",
                                                                    "type": "boolean",
                                                                    "label": "Parameter Value"
                                                                }
                                                            ]
                                                        },
                                                        {
                                                            "label": "Date",
                                                            "value": "date",
                                                            "nested": [
                                                                {
                                                                    "name": "value",
                                                                    "type": "date",
                                                                    "label": "Parameter Value"
                                                                }
                                                            ]
                                                        },
                                                        {
                                                            "label": "Any",
                                                            "value": "any",
                                                            "nested": [
                                                                {
                                                                    "name": "value",
                                                                    "type": "any",
                                                                    "label": "Parameter Value"
                                                                }
                                                            ]
                                                        }
                                                    ]
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Input Parameter"
                                        },
                                        "type": "array",
                                        "label": "Other Input Parameters"
                                    },
                                    {
                                        "name": "model",
                                        "type": "select",
                                        "label": "Model",
                                        "required": true
                                    },
                                    {
                                        "name": "messages",
                                        "spec": {
                                            "name": "value",
                                            "spec": [
                                                {
                                                    "name": "role",
                                                    "type": "select",
                                                    "label": "Role",
                                                    "options": [
                                                        {
                                                            "label": "System",
                                                            "value": "system"
                                                        },
                                                        {
                                                            "label": "User",
                                                            "value": "user"
                                                        },
                                                        {
                                                            "label": "Assistant",
                                                            "value": "assistant"
                                                        }
                                                    ],
                                                    "required": true
                                                },
                                                {
                                                    "name": "content",
                                                    "type": "text",
                                                    "label": "Message Content"
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Message"
                                        },
                                        "type": "array",
                                        "label": "Messages",
                                        "required": true
                                    },
                                    {
                                        "name": "parseJSONResponse",
                                        "type": "boolean",
                                        "label": "Parse JSON Response",
                                        "required": true
                                    }
                                ],
                                "advanced": true
                            }
                        },
                        {
                            "id": 12,
                            "module": "stripe:searchCustomers",
                            "version": 1,
                            "parameters": {
                                "__IMTCONN__": 3140364
                            },
                            "mapper": {
                                "email": "{{11.result.email}}",
                                "limit": "1",
                                "expand": [],
                                "filter": []
                            },
                            "metadata": {
                                "designer": {
                                    "x": 1500,
                                    "y": 150,
                                    "name": "Find Customer"
                                },
                                "restore": {
                                    "parameters": {
                                        "__IMTCONN__": {
                                            "data": {
                                                "scoped": "true",
                                                "connection": "stripe"
                                            },
                                            "label": "RJ Media Stripe"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "__IMTCONN__",
                                        "type": "account:stripe,stripe2",
                                        "label": "Connection",
                                        "required": true
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "email",
                                        "type": "email",
                                        "label": "Email"
                                    },
                                    {
                                        "name": "filter",
                                        "type": "filter",
                                        "label": "Filter",
                                        "options": {
                                            "logic": "and",
                                            "store": [
                                                {
                                                    "label": "[Date] Created",
                                                    "value": "created"
                                                }
                                            ],
                                            "operators": [
                                                {
                                                    "label": "Date",
                                                    "options": [
                                                        {
                                                            "label": "Later than",
                                                            "value": "date::gt"
                                                        },
                                                        {
                                                            "label": "Earlier than",
                                                            "value": "date::lt"
                                                        },
                                                        {
                                                            "label": "Later than or equal to",
                                                            "value": "date::gte"
                                                        },
                                                        {
                                                            "label": "Earlier than or equal to",
                                                            "value": "date::lte"
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "name": "expand",
                                        "type": "select",
                                        "label": "Expand",
                                        "multiple": true,
                                        "validate": {
                                            "enum": [
                                                "data.default_source",
                                                "data.invoice_credit_balance",
                                                "data.subscriptions",
                                                "data.sources",
                                                "data.tax",
                                                "data.tax_ids"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "limit",
                                        "type": "uinteger",
                                        "label": "Limit"
                                    }
                                ]
                            }
                        },
                        {
                            "id": 8,
                            "module": "builtin:BasicRouter",
                            "version": 1,
                            "mapper": null,
                            "metadata": {
                                "designer": {
                                    "x": 1800,
                                    "y": 150
                                }
                            },
                            "routes": [
                                {
                                    "flow": [
                                        {
                                            "id": 13,
                                            "module": "stripe:createCustomer",
                                            "version": 1,
                                            "parameters": {
                                                "__IMTCONN__": 3140364
                                            },
                                            "filter": {
                                                "name": "Customer Does Not Exist",
                                                "conditions": [
                                                    [
                                                        {
                                                            "a": "{{12.`__IMTLENGTH__`}}",
                                                            "b": "0",
                                                            "o": "number:equal"
                                                        }
                                                    ]
                                                ]
                                            },
                                            "mapper": {
                                                "name": "{{11.result.name}}",
                                                "email": "{{11.result.email}}",
                                                "phone": "",
                                                "coupon": "",
                                                "source": "",
                                                "address": {
                                                    "city": "",
                                                    "line1": "",
                                                    "line2": "",
                                                    "state": "",
                                                    "country": "",
                                                    "postal_code": ""
                                                },
                                                "balance": "",
                                                "metadata": [],
                                                "shipping": {
                                                    "name": "",
                                                    "phone": "",
                                                    "address": {
                                                        "city": "",
                                                        "line1": "",
                                                        "line2": "",
                                                        "state": "",
                                                        "country": "",
                                                        "postal_code": ""
                                                    }
                                                },
                                                "tax_exempt": "",
                                                "description": "",
                                                "tax_id_data": [],
                                                "invoice_prefix": "",
                                                "payment_method": "",
                                                "promotion_code": "",
                                                "invoice_settings": {
                                                    "footer": "",
                                                    "custom_fields": [],
                                                    "default_payment_method": ""
                                                },
                                                "preferred_locales": [],
                                                "next_invoice_sequence": ""
                                            },
                                            "metadata": {
                                                "designer": {
                                                    "x": 2100,
                                                    "y": 0,
                                                    "name": "Create Customer"
                                                },
                                                "restore": {
                                                    "expect": {
                                                        "coupon": {
                                                            "mode": "edit"
                                                        },
                                                        "metadata": {
                                                            "mode": "chose"
                                                        },
                                                        "tax_exempt": {
                                                            "label": "Empty"
                                                        },
                                                        "promotion_code": {
                                                            "mode": "edit"
                                                        },
                                                        "invoice_settings": {
                                                            "nested": {
                                                                "custom_fields": {
                                                                    "mode": "chose"
                                                                }
                                                            }
                                                        }
                                                    },
                                                    "parameters": {
                                                        "__IMTCONN__": {
                                                            "data": {
                                                                "scoped": "true",
                                                                "connection": "stripe"
                                                            },
                                                            "label": "RJ Media Stripe"
                                                        }
                                                    }
                                                },
                                                "parameters": [
                                                    {
                                                        "name": "__IMTCONN__",
                                                        "type": "account:stripe,stripe2",
                                                        "label": "Connection",
                                                        "required": true
                                                    }
                                                ],
                                                "expect": [
                                                    {
                                                        "name": "description",
                                                        "type": "text",
                                                        "label": "Description"
                                                    },
                                                    {
                                                        "name": "email",
                                                        "type": "email",
                                                        "label": "Email"
                                                    },
                                                    {
                                                        "name": "name",
                                                        "type": "text",
                                                        "label": "Name"
                                                    },
                                                    {
                                                        "name": "phone",
                                                        "type": "text",
                                                        "label": "Phone"
                                                    },
                                                    {
                                                        "name": "address",
                                                        "spec": [
                                                            {
                                                                "name": "line1",
                                                                "type": "text",
                                                                "label": "Line 1"
                                                            },
                                                            {
                                                                "name": "line2",
                                                                "type": "text",
                                                                "label": "Line 2"
                                                            },
                                                            {
                                                                "name": "city",
                                                                "type": "text",
                                                                "label": "City"
                                                            },
                                                            {
                                                                "name": "country",
                                                                "type": "text",
                                                                "label": "Country"
                                                            },
                                                            {
                                                                "name": "postal_code",
                                                                "type": "text",
                                                                "label": "Postal code"
                                                            },
                                                            {
                                                                "name": "state",
                                                                "type": "text",
                                                                "label": "State"
                                                            }
                                                        ],
                                                        "type": "collection",
                                                        "label": "Address"
                                                    },
                                                    {
                                                        "name": "shipping",
                                                        "spec": [
                                                            {
                                                                "name": "address",
                                                                "spec": [
                                                                    {
                                                                        "name": "line1",
                                                                        "type": "text",
                                                                        "label": "Line 1"
                                                                    },
                                                                    {
                                                                        "name": "line2",
                                                                        "type": "text",
                                                                        "label": "Line 2"
                                                                    },
                                                                    {
                                                                        "name": "city",
                                                                        "type": "text",
                                                                        "label": "City"
                                                                    },
                                                                    {
                                                                        "name": "country",
                                                                        "type": "text",
                                                                        "label": "Country"
                                                                    },
                                                                    {
                                                                        "name": "postal_code",
                                                                        "type": "text",
                                                                        "label": "Postal code"
                                                                    },
                                                                    {
                                                                        "name": "state",
                                                                        "type": "text",
                                                                        "label": "State"
                                                                    }
                                                                ],
                                                                "type": "collection",
                                                                "label": "Address"
                                                            },
                                                            {
                                                                "name": "name",
                                                                "type": "text",
                                                                "label": "Name"
                                                            },
                                                            {
                                                                "name": "phone",
                                                                "type": "text",
                                                                "label": "Phone"
                                                            }
                                                        ],
                                                        "type": "collection",
                                                        "label": "Shipping"
                                                    },
                                                    {
                                                        "name": "payment_method",
                                                        "type": "text",
                                                        "label": "Payment Method ID"
                                                    },
                                                    {
                                                        "name": "metadata",
                                                        "spec": [
                                                            {
                                                                "name": "key",
                                                                "type": "text",
                                                                "label": "Key",
                                                                "required": true,
                                                                "validate": {
                                                                    "max": 40
                                                                }
                                                            },
                                                            {
                                                                "name": "value",
                                                                "type": "text",
                                                                "label": "Value",
                                                                "required": true,
                                                                "validate": {
                                                                    "max": 500
                                                                }
                                                            }
                                                        ],
                                                        "type": "array",
                                                        "label": "Metadata",
                                                        "validate": {
                                                            "maxItems": 50
                                                        }
                                                    },
                                                    {
                                                        "name": "balance",
                                                        "type": "integer",
                                                        "label": "Balance"
                                                    },
                                                    {
                                                        "mode": "edit",
                                                        "name": "coupon",
                                                        "type": "select",
                                                        "label": "Coupon ID"
                                                    },
                                                    {
                                                        "name": "invoice_prefix",
                                                        "type": "text",
                                                        "label": "Invoice Prefix",
                                                        "validate": {
                                                            "max": 12,
                                                            "min": 3
                                                        }
                                                    },
                                                    {
                                                        "name": "invoice_settings",
                                                        "spec": [
                                                            {
                                                                "name": "custom_fields",
                                                                "spec": [
                                                                    {
                                                                        "name": "name",
                                                                        "type": "text",
                                                                        "label": "Name",
                                                                        "required": true,
                                                                        "validate": {
                                                                            "max": 30
                                                                        }
                                                                    },
                                                                    {
                                                                        "name": "value",
                                                                        "type": "text",
                                                                        "label": "Value",
                                                                        "required": true,
                                                                        "validate": {
                                                                            "max": 30
                                                                        }
                                                                    }
                                                                ],
                                                                "type": "array",
                                                                "label": "Custom Fields"
                                                            },
                                                            {
                                                                "name": "default_payment_method",
                                                                "type": "text",
                                                                "label": "Default Payment Method ID"
                                                            },
                                                            {
                                                                "name": "footer",
                                                                "type": "text",
                                                                "label": "Footer"
                                                            }
                                                        ],
                                                        "type": "collection",
                                                        "label": "Invoice Settings"
                                                    },
                                                    {
                                                        "name": "next_invoice_sequence",
                                                        "type": "uinteger",
                                                        "label": "Next Invoice Sequence"
                                                    },
                                                    {
                                                        "name": "preferred_locales",
                                                        "spec": {
                                                            "name": "value",
                                                            "type": "select",
                                                            "label": "Locale",
                                                            "options": [
                                                                {
                                                                    "label": "Arabic",
                                                                    "value": "ar"
                                                                },
                                                                {
                                                                    "label": "Bulgarian (Bulgaria)",
                                                                    "value": "bg"
                                                                },
                                                                {
                                                                    "label": "Czech (Czech Republic)",
                                                                    "value": "cs"
                                                                },
                                                                {
                                                                    "label": "Danish",
                                                                    "value": "da"
                                                                },
                                                                {
                                                                    "label": "German (Germany)",
                                                                    "value": "de"
                                                                },
                                                                {
                                                                    "label": "Greek (Greece)",
                                                                    "value": "el"
                                                                },
                                                                {
                                                                    "label": "English",
                                                                    "value": "en"
                                                                },
                                                                {
                                                                    "label": "English (United Kingdom)",
                                                                    "value": "en-GB"
                                                                },
                                                                {
                                                                    "label": "Spanish (Spain)",
                                                                    "value": "es"
                                                                },
                                                                {
                                                                    "label": "Spanish (Latin America)",
                                                                    "value": "es-419"
                                                                },
                                                                {
                                                                    "label": "Estonian (Estonia)",
                                                                    "value": "et"
                                                                },
                                                                {
                                                                    "label": "Finnish (Finland)",
                                                                    "value": "fi"
                                                                },
                                                                {
                                                                    "label": "French (France)",
                                                                    "value": "fr"
                                                                },
                                                                {
                                                                    "label": "French (Canada)",
                                                                    "value": "fr-CA"
                                                                },
                                                                {
                                                                    "label": "Hebrew (Israel)",
                                                                    "value": "he"
                                                                },
                                                                {
                                                                    "label": "Hungarian (Hungary)",
                                                                    "value": "hu"
                                                                },
                                                                {
                                                                    "label": "Indonesian (Indonesia)",
                                                                    "value": "id"
                                                                },
                                                                {
                                                                    "label": "Italian (Italy)",
                                                                    "value": "it"
                                                                },
                                                                {
                                                                    "label": "Japanese",
                                                                    "value": "ja"
                                                                },
                                                                {
                                                                    "label": "Lithuanian (Lithuania)",
                                                                    "value": "lt"
                                                                },
                                                                {
                                                                    "label": "Latvian (Latvia)",
                                                                    "value": "lv"
                                                                },
                                                                {
                                                                    "label": "Malay (Malaysia)",
                                                                    "value": "ms"
                                                                },
                                                                {
                                                                    "label": "Maltese (Malta)",
                                                                    "value": "mt"
                                                                },
                                                                {
                                                                    "label": "Norwegian Bokmål",
                                                                    "value": "nb"
                                                                },
                                                                {
                                                                    "label": "Dutch (Netherlands)",
                                                                    "value": "nl"
                                                                },
                                                                {
                                                                    "label": "Polish (Poland)",
                                                                    "value": "pl"
                                                                },
                                                                {
                                                                    "label": "Portuguese (Brazil)",
                                                                    "value": "pt-BR"
                                                                },
                                                                {
                                                                    "label": "Portuguese (Brazil)",
                                                                    "value": "pt"
                                                                },
                                                                {
                                                                    "label": "Romanian (Romania)",
                                                                    "value": "ro"
                                                                },
                                                                {
                                                                    "label": "Russian (Russia)",
                                                                    "value": "ru"
                                                                },
                                                                {
                                                                    "label": "Slovak (Slovakia)",
                                                                    "value": "sk"
                                                                },
                                                                {
                                                                    "label": "Slovenian (Slovenia)",
                                                                    "value": "sl"
                                                                },
                                                                {
                                                                    "label": "Swedish (Sweden)",
                                                                    "value": "sv"
                                                                },
                                                                {
                                                                    "label": "Turkish (Turkey)",
                                                                    "value": "tr"
                                                                },
                                                                {
                                                                    "label": "Chinese Simplified (China)",
                                                                    "value": "zh"
                                                                },
                                                                {
                                                                    "label": "Chinese Traditional (Hong Kong)",
                                                                    "value": "zh-HK"
                                                                },
                                                                {
                                                                    "label": "Chinese Traditional (Taiwan)",
                                                                    "value": "zh-TW"
                                                                }
                                                            ],
                                                            "required": true
                                                        },
                                                        "type": "array",
                                                        "label": "Preferred Locales"
                                                    },
                                                    {
                                                        "mode": "edit",
                                                        "name": "promotion_code",
                                                        "type": "select",
                                                        "label": "Promotion Code ID"
                                                    },
                                                    {
                                                        "name": "source",
                                                        "type": "text",
                                                        "label": "Source ID"
                                                    },
                                                    {
                                                        "name": "tax_exempt",
                                                        "type": "select",
                                                        "label": "Tax Exempt",
                                                        "validate": {
                                                            "enum": [
                                                                "none",
                                                                "exempt",
                                                                "reverse"
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "name": "tax_id_data",
                                                        "spec": [
                                                            {
                                                                "name": "type",
                                                                "type": "select",
                                                                "label": "Type",
                                                                "dynamic": true,
                                                                "options": [
                                                                    {
                                                                        "label": "AE - TRN",
                                                                        "value": "ae_trn"
                                                                    },
                                                                    {
                                                                        "label": "AU - ABN",
                                                                        "value": "au_abn"
                                                                    },
                                                                    {
                                                                        "label": "AU - ARN",
                                                                        "value": "au_arn"
                                                                    },
                                                                    {
                                                                        "label": "BR - CNPJ",
                                                                        "value": "br_cnpj"
                                                                    },
                                                                    {
                                                                        "label": "BR - CPF",
                                                                        "value": "br_cpf"
                                                                    },
                                                                    {
                                                                        "label": "CA - BN",
                                                                        "value": "ca_bn"
                                                                    },
                                                                    {
                                                                        "label": "CA - GST/HST",
                                                                        "value": "ca_gst_hst"
                                                                    },
                                                                    {
                                                                        "label": "CA - PST (British Columbia)",
                                                                        "value": "ca_pst_bc"
                                                                    },
                                                                    {
                                                                        "label": "CA - PST (Manitoba)",
                                                                        "value": "ca_pst_mb"
                                                                    },
                                                                    {
                                                                        "label": "CA - PST (Saskatchewan)",
                                                                        "value": "ca_pst_sk"
                                                                    },
                                                                    {
                                                                        "label": "CA - QST",
                                                                        "value": "ca_qst"
                                                                    },
                                                                    {
                                                                        "label": "CH - VAT",
                                                                        "value": "ch_vat"
                                                                    },
                                                                    {
                                                                        "label": "CL - TIN",
                                                                        "value": "cl_tin"
                                                                    },
                                                                    {
                                                                        "label": "ES - CIF",
                                                                        "value": "es_cif"
                                                                    },
                                                                    {
                                                                        "label": "EU - VAT",
                                                                        "value": "eu_vat"
                                                                    },
                                                                    {
                                                                        "label": "UK - VAT",
                                                                        "value": "gb_vat"
                                                                    },
                                                                    {
                                                                        "label": "GE - VAT",
                                                                        "value": "ge_vat"
                                                                    },
                                                                    {
                                                                        "label": "HK - BR",
                                                                        "value": "hk_br"
                                                                    },
                                                                    {
                                                                        "label": "ID - NPWP",
                                                                        "value": "id_npwp"
                                                                    },
                                                                    {
                                                                        "label": "IL - VAT",
                                                                        "value": "il_vat"
                                                                    },
                                                                    {
                                                                        "label": "IN - GST",
                                                                        "value": "in_gst"
                                                                    },
                                                                    {
                                                                        "label": "JP - CN",
                                                                        "value": "jp_cn"
                                                                    },
                                                                    {
                                                                        "label": "JP - RN",
                                                                        "value": "jp_rn"
                                                                    },
                                                                    {
                                                                        "label": "KR - BRN",
                                                                        "value": "kr_brn"
                                                                    },
                                                                    {
                                                                        "label": "LI - UID",
                                                                        "value": "li_uid"
                                                                    },
                                                                    {
                                                                        "label": "MX - RFC",
                                                                        "value": "mx_rfc"
                                                                    },
                                                                    {
                                                                        "label": "MY - FRP",
                                                                        "value": "my_frp"
                                                                    },
                                                                    {
                                                                        "label": "MY - ITN",
                                                                        "value": "my_itn"
                                                                    },
                                                                    {
                                                                        "label": "MY - SST",
                                                                        "value": "my_sst"
                                                                    },
                                                                    {
                                                                        "label": "NO - VAT",
                                                                        "value": "no_vat"
                                                                    },
                                                                    {
                                                                        "label": "NZ - GST",
                                                                        "value": "nz_gst"
                                                                    },
                                                                    {
                                                                        "label": "RU - INN",
                                                                        "value": "ru_inn"
                                                                    },
                                                                    {
                                                                        "label": "RU - KPP",
                                                                        "value": "ru_kpp"
                                                                    },
                                                                    {
                                                                        "label": "SA - VAT",
                                                                        "value": "sa_vat"
                                                                    },
                                                                    {
                                                                        "label": "SG - GST",
                                                                        "value": "sg_gst"
                                                                    },
                                                                    {
                                                                        "label": "SG - UEN",
                                                                        "value": "sg_uen"
                                                                    },
                                                                    {
                                                                        "label": "TH - VAT",
                                                                        "value": "th_vat"
                                                                    },
                                                                    {
                                                                        "label": "TW - VAT",
                                                                        "value": "tw_vat"
                                                                    },
                                                                    {
                                                                        "label": "UA - VAT",
                                                                        "value": "ua_vat"
                                                                    },
                                                                    {
                                                                        "label": "US - EIN",
                                                                        "value": "us_ein"
                                                                    },
                                                                    {
                                                                        "label": "ZA - VAT",
                                                                        "value": "za_vat"
                                                                    }
                                                                ],
                                                                "required": true
                                                            },
                                                            {
                                                                "name": "value",
                                                                "type": "text",
                                                                "label": "Tax ID",
                                                                "required": true
                                                            }
                                                        ],
                                                        "type": "array",
                                                        "label": "TAX ID Data"
                                                    }
                                                ]
                                            }
                                        },
                                        {
                                            "id": 19,
                                            "module": "util:SetVariable2",
                                            "version": 1,
                                            "parameters": {},
                                            "mapper": {
                                                "name": "Customer ID",
                                                "scope": "roundtrip",
                                                "value": "{{13.id}}"
                                            },
                                            "metadata": {
                                                "designer": {
                                                    "x": 2400,
                                                    "y": 0,
                                                    "name": "Store Customer ID"
                                                },
                                                "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": "Customer ID",
                                                        "type": "any",
                                                        "label": "Customer ID"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                {
                                    "flow": [
                                        {
                                            "id": 18,
                                            "module": "util:GetVariable2",
                                            "version": 1,
                                            "parameters": {},
                                            "mapper": {
                                                "name": "Customer ID"
                                            },
                                            "metadata": {
                                                "designer": {
                                                    "x": 2100,
                                                    "y": 300,
                                                    "name": "Get Customer ID"
                                                },
                                                "restore": {},
                                                "expect": [
                                                    {
                                                        "name": "name",
                                                        "type": "text",
                                                        "label": "Variable name",
                                                        "required": true
                                                    }
                                                ],
                                                "interface": [
                                                    {
                                                        "name": "Customer ID",
                                                        "type": "any",
                                                        "label": "Customer ID"
                                                    }
                                                ]
                                            }
                                        },
                                        {
                                            "id": 16,
                                            "module": "stripe:createInvoiceItem",
                                            "version": 1,
                                            "parameters": {
                                                "__IMTCONN__": 3140364
                                            },
                                            "mapper": {
                                                "amount": "{{11.result.amount * 100}}",
                                                "period": {
                                                    "end": "",
                                                    "start": ""
                                                },
                                                "invoice": "",
                                                "currency": "gbp",
                                                "customer": "{{18.`Customer ID`}}{{12.id}}",
                                                "metadata": [],
                                                "tax_rates": [],
                                                "description": "{{11.result.`service info`}}",
                                                "input_amount": "total",
                                                "subscription": ""
                                            },
                                            "metadata": {
                                                "designer": {
                                                    "x": 2400,
                                                    "y": 300,
                                                    "name": "Create Invoice Item"
                                                },
                                                "restore": {
                                                    "expect": {
                                                        "input_amount": {
                                                            "label": "By a Total Amount"
                                                        }
                                                    },
                                                    "parameters": {
                                                        "__IMTCONN__": {
                                                            "data": {
                                                                "scoped": "true",
                                                                "connection": "stripe"
                                                            },
                                                            "label": "RJ Media Stripe"
                                                        }
                                                    }
                                                },
                                                "parameters": [
                                                    {
                                                        "name": "__IMTCONN__",
                                                        "type": "account:stripe,stripe2",
                                                        "label": "Connection",
                                                        "required": true
                                                    }
                                                ],
                                                "expect": [
                                                    {
                                                        "name": "customer",
                                                        "type": "text",
                                                        "label": "Customer ID",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "input_amount",
                                                        "type": "select",
                                                        "label": "Input an Amount",
                                                        "required": true,
                                                        "validate": {
                                                            "enum": [
                                                                "total",
                                                                "unit_amount",
                                                                "price"
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "name": "description",
                                                        "type": "text",
                                                        "label": "Description"
                                                    },
                                                    {
                                                        "name": "period",
                                                        "spec": [
                                                            {
                                                                "name": "start",
                                                                "type": "date",
                                                                "label": "Start"
                                                            },
                                                            {
                                                                "name": "end",
                                                                "type": "date",
                                                                "label": "End"
                                                            }
                                                        ],
                                                        "type": "collection",
                                                        "label": "Period"
                                                    },
                                                    {
                                                        "name": "metadata",
                                                        "spec": [
                                                            {
                                                                "name": "key",
                                                                "type": "text",
                                                                "label": "Key",
                                                                "required": true
                                                            },
                                                            {
                                                                "name": "value",
                                                                "type": "text",
                                                                "label": "Value"
                                                            }
                                                        ],
                                                        "type": "array",
                                                        "label": "Metadata"
                                                    },
                                                    {
                                                        "name": "discountable",
                                                        "type": "boolean",
                                                        "label": "Discountable"
                                                    },
                                                    {
                                                        "name": "invoice",
                                                        "type": "text",
                                                        "label": "Invoice ID"
                                                    },
                                                    {
                                                        "name": "subscription",
                                                        "type": "text",
                                                        "label": "Subscription ID"
                                                    },
                                                    {
                                                        "name": "tax_rates",
                                                        "spec": {
                                                            "name": "value",
                                                            "type": "select",
                                                            "label": "Tax Rate",
                                                            "dynamic": true,
                                                            "options": [],
                                                            "required": true
                                                        },
                                                        "type": "array",
                                                        "label": "Tax Rates"
                                                    },
                                                    {
                                                        "name": "amount",
                                                        "type": "integer",
                                                        "label": "Amount",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "currency",
                                                        "type": "text",
                                                        "label": "Currency"
                                                    }
                                                ]
                                            }
                                        },
                                        {
                                            "id": 14,
                                            "module": "stripe:createInvoice",
                                            "version": 1,
                                            "parameters": {
                                                "__IMTCONN__": 3140364
                                            },
                                            "mapper": {
                                                "footer": "",
                                                "customer": "{{18.`Customer ID`}}{{16.customer}}",
                                                "due_date": "",
                                                "metadata": [],
                                                "discounts": [],
                                                "description": "",
                                                "auto_advance": false,
                                                "subscription": "",
                                                "custom_fields": [],
                                                "transfer_data": {
                                                    "amount": ""
                                                },
                                                "days_until_due": "7",
                                                "default_source": "",
                                                "collection_method": "send_invoice",
                                                "default_tax_rates": [],
                                                "statement_descriptor": "",
                                                "application_fee_amount": "",
                                                "default_payment_method": "",
                                                "pending_invoice_items_behavior": "include"
                                            },
                                            "metadata": {
                                                "designer": {
                                                    "x": 2700,
                                                    "y": 300,
                                                    "name": "Create Invoice"
                                                },
                                                "restore": {
                                                    "expect": {
                                                        "transfer_data": {
                                                            "nested": {
                                                                "destination": {
                                                                    "mode": "chose"
                                                                }
                                                            }
                                                        },
                                                        "collection_method": {
                                                            "label": "Send Invoice"
                                                        },
                                                        "pending_invoice_items_behavior": {
                                                            "label": "Include"
                                                        }
                                                    },
                                                    "parameters": {
                                                        "__IMTCONN__": {
                                                            "data": {
                                                                "scoped": "true",
                                                                "connection": "stripe"
                                                            },
                                                            "label": "RJ Media Stripe"
                                                        }
                                                    }
                                                },
                                                "parameters": [
                                                    {
                                                        "name": "__IMTCONN__",
                                                        "type": "account:stripe,stripe2",
                                                        "label": "Connection",
                                                        "required": true
                                                    }
                                                ],
                                                "expect": [
                                                    {
                                                        "name": "customer",
                                                        "type": "text",
                                                        "label": "Customer ID",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "auto_advance",
                                                        "type": "boolean",
                                                        "label": "Auto Advance",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "collection_method",
                                                        "type": "select",
                                                        "label": "Collection Method",
                                                        "required": true,
                                                        "validate": {
                                                            "enum": [
                                                                "charge_automatically",
                                                                "send_invoice"
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "name": "description",
                                                        "type": "text",
                                                        "label": "Description"
                                                    },
                                                    {
                                                        "name": "subscription",
                                                        "type": "text",
                                                        "label": "Subscription ID"
                                                    },
                                                    {
                                                        "name": "pending_invoice_items_behavior",
                                                        "type": "select",
                                                        "label": "Pending Invoice Items Behavior",
                                                        "validate": {
                                                            "enum": [
                                                                "exclude",
                                                                "include"
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "name": "metadata",
                                                        "spec": [
                                                            {
                                                                "name": "key",
                                                                "type": "text",
                                                                "label": "Key",
                                                                "required": true
                                                            },
                                                            {
                                                                "name": "value",
                                                                "type": "text",
                                                                "label": "Value"
                                                            }
                                                        ],
                                                        "type": "array",
                                                        "label": "Metadata"
                                                    },
                                                    {
                                                        "name": "application_fee_amount",
                                                        "type": "uinteger",
                                                        "label": "Application Fee Amount"
                                                    },
                                                    {
                                                        "name": "custom_fields",
                                                        "spec": [
                                                            {
                                                                "name": "name",
                                                                "type": "text",
                                                                "label": "Name",
                                                                "required": true
                                                            },
                                                            {
                                                                "name": "value",
                                                                "type": "text",
                                                                "label": "Value"
                                                            }
                                                        ],
                                                        "type": "array",
                                                        "label": "Custom Fields",
                                                        "validate": {
                                                            "maxItems": 4
                                                        }
                                                    },
                                                    {
                                                        "name": "default_payment_method",
                                                        "type": "text",
                                                        "label": "Default Payment Method ID"
                                                    },
                                                    {
                                                        "name": "default_source",
                                                        "type": "text",
                                                        "label": "Default Payment Source ID"
                                                    },
                                                    {
                                                        "name": "default_tax_rates",
                                                        "spec": {
                                                            "name": "value",
                                                            "type": "select",
                                                            "label": "ID",
                                                            "dynamic": true,
                                                            "options": []
                                                        },
                                                        "type": "array",
                                                        "label": "Default Tax Rates ID"
                                                    },
                                                    {
                                                        "name": "discounts",
                                                        "spec": [
                                                            {
                                                                "name": "coupon",
                                                                "type": "select",
                                                                "label": "Coupon ID",
                                                                "dynamic": true,
                                                                "options": []
                                                            },
                                                            {
                                                                "name": "discount",
                                                                "type": "text",
                                                                "label": "Discount ID"
                                                            }
                                                        ],
                                                        "type": "array",
                                                        "label": "Discounts"
                                                    },
                                                    {
                                                        "name": "footer",
                                                        "type": "text",
                                                        "label": "Footer"
                                                    },
                                                    {
                                                        "name": "statement_descriptor",
                                                        "type": "text",
                                                        "label": "Statement Descriptor"
                                                    },
                                                    {
                                                        "name": "transfer_data",
                                                        "spec": [
                                                            {
                                                                "name": "destination",
                                                                "type": "select",
                                                                "label": "Destination"
                                                            },
                                                            {
                                                                "name": "amount",
                                                                "type": "uinteger",
                                                                "label": "Amount"
                                                            }
                                                        ],
                                                        "type": "collection",
                                                        "label": "Transfer Data"
                                                    },
                                                    {
                                                        "name": "days_until_due",
                                                        "type": "uinteger",
                                                        "label": "Days Until Due"
                                                    },
                                                    {
                                                        "name": "due_date",
                                                        "type": "date",
                                                        "label": "Due Date"
                                                    }
                                                ]
                                            }
                                        },
                                        {
                                            "id": 15,
                                            "module": "stripe:finalizeInvoice",
                                            "version": 1,
                                            "parameters": {
                                                "__IMTCONN__": 3140364
                                            },
                                            "mapper": {
                                                "invoice": "{{14.id}}"
                                            },
                                            "metadata": {
                                                "designer": {
                                                    "x": 3000,
                                                    "y": 300,
                                                    "name": "Finalise Invoice"
                                                },
                                                "restore": {
                                                    "parameters": {
                                                        "__IMTCONN__": {
                                                            "data": {
                                                                "scoped": "true",
                                                                "connection": "stripe"
                                                            },
                                                            "label": "RJ Media Stripe"
                                                        }
                                                    }
                                                },
                                                "parameters": [
                                                    {
                                                        "name": "__IMTCONN__",
                                                        "type": "account:stripe,stripe2",
                                                        "label": "Connection",
                                                        "required": true
                                                    }
                                                ],
                                                "expect": [
                                                    {
                                                        "name": "invoice",
                                                        "type": "text",
                                                        "label": "Invoice ID",
                                                        "required": true
                                                    }
                                                ]
                                            }
                                        },
                                        {
                                            "id": 21,
                                            "module": "stripe:makeAnApiCall",
                                            "version": 1,
                                            "parameters": {
                                                "__IMTCONN__": 3140364
                                            },
                                            "mapper": {
                                                "qs": [],
                                                "url": "/v1/invoices/{{15.id}}/send",
                                                "body": "",
                                                "method": "POST",
                                                "headers": [
                                                    {
                                                        "key": "Content-Type",
                                                        "value": "application/x-www-form-urlencoded"
                                                    }
                                                ]
                                            },
                                            "metadata": {
                                                "designer": {
                                                    "x": 3300,
                                                    "y": 300,
                                                    "name": "Send Invoice via Email"
                                                },
                                                "restore": {
                                                    "expect": {
                                                        "method": {
                                                            "label": "POST"
                                                        },
                                                        "headers": {
                                                            "items": [
                                                                null
                                                            ]
                                                        }
                                                    },
                                                    "parameters": {
                                                        "__IMTCONN__": {
                                                            "data": {
                                                                "scoped": "true",
                                                                "connection": "stripe"
                                                            },
                                                            "label": "RJ Media Stripe"
                                                        }
                                                    }
                                                },
                                                "parameters": [
                                                    {
                                                        "name": "__IMTCONN__",
                                                        "type": "account:stripe,stripe2",
                                                        "label": "Connection",
                                                        "required": true
                                                    }
                                                ],
                                                "expect": [
                                                    {
                                                        "name": "url",
                                                        "type": "text",
                                                        "label": "URL",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "method",
                                                        "type": "select",
                                                        "label": "Method",
                                                        "required": true,
                                                        "validate": {
                                                            "enum": [
                                                                "GET",
                                                                "POST",
                                                                "PUT",
                                                                "PATCH",
                                                                "DELETE"
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "name": "headers",
                                                        "spec": [
                                                            {
                                                                "name": "key",
                                                                "type": "text",
                                                                "label": "Key"
                                                            },
                                                            {
                                                                "name": "value",
                                                                "type": "text",
                                                                "label": "Value"
                                                            }
                                                        ],
                                                        "type": "array",
                                                        "label": "Headers"
                                                    },
                                                    {
                                                        "name": "qs",
                                                        "spec": [
                                                            {
                                                                "name": "key",
                                                                "type": "text",
                                                                "label": "Key"
                                                            },
                                                            {
                                                                "name": "value",
                                                                "type": "text",
                                                                "label": "Value"
                                                            }
                                                        ],
                                                        "type": "array",
                                                        "label": "Query String"
                                                    },
                                                    {
                                                        "name": "body",
                                                        "type": "any",
                                                        "label": "Body"
                                                    }
                                                ]
                                            }
                                        },
                                        {
                                            "id": 22,
                                            "module": "http:ActionSendData",
                                            "version": 3,
                                            "parameters": {
                                                "handleErrors": true,
                                                "useNewZLibDeCompress": true
                                            },
                                            "mapper": {
                                                "ca": "",
                                                "qs": [],
                                                "url": "https://slack.com/api/chat.postMessage",
                                                "data": "{\n\"channel\":\"{{5.channel_id}}\",\n\"text\":\"Invoice Sent to {{11.result.email}} for £{{11.result.amount}} for {{11.result.`service info`}}.\"\n}",
                                                "gzip": true,
                                                "method": "post",
                                                "headers": [
                                                    {
                                                        "name": "Authorization",
                                                        "value": "Bearer {{26.`Slack API OAuth Token`}}"
                                                    },
                                                    {
                                                        "name": "Content-type",
                                                        "value": "application/json"
                                                    }
                                                ],
                                                "timeout": "",
                                                "useMtls": false,
                                                "authPass": "",
                                                "authUser": "",
                                                "bodyType": "raw",
                                                "contentType": "application/json",
                                                "serializeUrl": false,
                                                "shareCookies": false,
                                                "parseResponse": false,
                                                "followRedirect": true,
                                                "useQuerystring": false,
                                                "followAllRedirects": false,
                                                "rejectUnauthorized": true
                                            },
                                            "metadata": {
                                                "designer": {
                                                    "x": 3600,
                                                    "y": 300,
                                                    "name": "Slack Confirmation"
                                                },
                                                "restore": {
                                                    "expect": {
                                                        "qs": {
                                                            "mode": "chose"
                                                        },
                                                        "method": {
                                                            "mode": "chose",
                                                            "label": "POST"
                                                        },
                                                        "headers": {
                                                            "mode": "chose",
                                                            "items": [
                                                                null,
                                                                null
                                                            ]
                                                        },
                                                        "bodyType": {
                                                            "label": "Raw"
                                                        },
                                                        "contentType": {
                                                            "label": "JSON (application/json)"
                                                        }
                                                    }
                                                },
                                                "parameters": [
                                                    {
                                                        "name": "handleErrors",
                                                        "type": "boolean",
                                                        "label": "Evaluate all states as errors (except for 2xx and 3xx )",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "useNewZLibDeCompress",
                                                        "type": "hidden"
                                                    }
                                                ],
                                                "expect": [
                                                    {
                                                        "name": "url",
                                                        "type": "url",
                                                        "label": "URL",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "serializeUrl",
                                                        "type": "boolean",
                                                        "label": "Serialize URL",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "method",
                                                        "type": "select",
                                                        "label": "Method",
                                                        "required": true,
                                                        "validate": {
                                                            "enum": [
                                                                "get",
                                                                "head",
                                                                "post",
                                                                "put",
                                                                "patch",
                                                                "delete",
                                                                "options"
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "name": "headers",
                                                        "spec": [
                                                            {
                                                                "name": "name",
                                                                "type": "text",
                                                                "label": "Name",
                                                                "required": true
                                                            },
                                                            {
                                                                "name": "value",
                                                                "type": "text",
                                                                "label": "Value"
                                                            }
                                                        ],
                                                        "type": "array",
                                                        "label": "Headers"
                                                    },
                                                    {
                                                        "name": "qs",
                                                        "spec": [
                                                            {
                                                                "name": "name",
                                                                "type": "text",
                                                                "label": "Name",
                                                                "required": true
                                                            },
                                                            {
                                                                "name": "value",
                                                                "type": "text",
                                                                "label": "Value"
                                                            }
                                                        ],
                                                        "type": "array",
                                                        "label": "Query String"
                                                    },
                                                    {
                                                        "name": "bodyType",
                                                        "type": "select",
                                                        "label": "Body type",
                                                        "validate": {
                                                            "enum": [
                                                                "raw",
                                                                "x_www_form_urlencoded",
                                                                "multipart_form_data"
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "name": "parseResponse",
                                                        "type": "boolean",
                                                        "label": "Parse response",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "authUser",
                                                        "type": "text",
                                                        "label": "User name"
                                                    },
                                                    {
                                                        "name": "authPass",
                                                        "type": "password",
                                                        "label": "Password"
                                                    },
                                                    {
                                                        "name": "timeout",
                                                        "type": "uinteger",
                                                        "label": "Timeout",
                                                        "validate": {
                                                            "max": 300,
                                                            "min": 1
                                                        }
                                                    },
                                                    {
                                                        "name": "shareCookies",
                                                        "type": "boolean",
                                                        "label": "Share cookies with other HTTP modules",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "ca",
                                                        "type": "cert",
                                                        "label": "Self-signed certificate"
                                                    },
                                                    {
                                                        "name": "rejectUnauthorized",
                                                        "type": "boolean",
                                                        "label": "Reject connections that are using unverified (self-signed) certificates",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "followRedirect",
                                                        "type": "boolean",
                                                        "label": "Follow redirect",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "useQuerystring",
                                                        "type": "boolean",
                                                        "label": "Disable serialization of multiple same query string keys as arrays",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "gzip",
                                                        "type": "boolean",
                                                        "label": "Request compressed content",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "useMtls",
                                                        "type": "boolean",
                                                        "label": "Use Mutual TLS",
                                                        "required": true
                                                    },
                                                    {
                                                        "name": "contentType",
                                                        "type": "select",
                                                        "label": "Content type",
                                                        "validate": {
                                                            "enum": [
                                                                "text/plain",
                                                                "application/json",
                                                                "application/xml",
                                                                "text/xml",
                                                                "text/html",
                                                                "custom"
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "name": "data",
                                                        "type": "buffer",
                                                        "label": "Request content"
                                                    },
                                                    {
                                                        "name": "followAllRedirects",
                                                        "type": "boolean",
                                                        "label": "Follow all redirect",
                                                        "required": true
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                {
                    "flow": [
                        {
                            "id": 23,
                            "module": "gateway:WebhookRespond",
                            "version": 1,
                            "parameters": {},
                            "filter": {
                                "name": "",
                                "conditions": [
                                    [
                                        {
                                            "a": "{{5.command}}",
                                            "b": "/onboard",
                                            "o": "text:equal"
                                        }
                                    ]
                                ]
                            },
                            "mapper": {
                                "body": "Setting up new client...",
                                "status": "200",
                                "headers": []
                            },
                            "metadata": {
                                "designer": {
                                    "x": 900,
                                    "y": 600
                                },
                                "restore": {
                                    "expect": {
                                        "headers": {
                                            "mode": "chose"
                                        }
                                    }
                                },
                                "expect": [
                                    {
                                        "name": "status",
                                        "type": "uinteger",
                                        "label": "Status",
                                        "required": true,
                                        "validate": {
                                            "min": 100
                                        }
                                    },
                                    {
                                        "name": "body",
                                        "type": "any",
                                        "label": "Body"
                                    },
                                    {
                                        "name": "headers",
                                        "spec": [
                                            {
                                                "name": "key",
                                                "type": "text",
                                                "label": "Key",
                                                "required": true,
                                                "validate": {
                                                    "max": 256
                                                }
                                            },
                                            {
                                                "name": "value",
                                                "type": "text",
                                                "label": "Value",
                                                "required": true,
                                                "validate": {
                                                    "max": 4096
                                                }
                                            }
                                        ],
                                        "type": "array",
                                        "label": "Custom headers",
                                        "validate": {
                                            "maxItems": 16
                                        }
                                    }
                                ]
                            }
                        },
                        {
                            "id": 24,
                            "module": "openai-gpt-3:CreateCompletion",
                            "version": 1,
                            "parameters": {
                                "__IMTCONN__": 2356104
                            },
                            "mapper": {
                                "model": "gpt-4o-mini",
                                "top_p": "1",
                                "select": "chat",
                                "messages": [
                                    {
                                        "role": "system",
                                        "content": "You are a JSON formatter. You take the input text and format it into the following JSON:\n\n{\n\"name\":\"\",\n\"email\":\"\",\n\"company name\":\"\"\n}"
                                    },
                                    {
                                        "role": "user",
                                        "content": "Onboard Rahul Jindal (email@rjmediahub.com). Company name is RJ Fitness."
                                    },
                                    {
                                        "role": "assistant",
                                        "content": "{\n\"name\":\"Rahul Jindal\",\n\"email\":\"email@rjmediahub.com\",\n\"company name\":\"RJ Fitness\"\n}"
                                    },
                                    {
                                        "role": "user",
                                        "content": "{{5.text}}"
                                    }
                                ],
                                "max_tokens": "0",
                                "temperature": "0.1",
                                "n_completions": "1",
                                "response_format": "json_object",
                                "parseJSONResponse": true
                            },
                            "metadata": {
                                "designer": {
                                    "x": 1200,
                                    "y": 600,
                                    "name": "Onboarding JSON Formatter"
                                },
                                "restore": {
                                    "expect": {
                                        "stop": {
                                            "mode": "chose"
                                        },
                                        "model": {
                                            "mode": "chose",
                                            "label": "gpt-4o-mini (system)"
                                        },
                                        "select": {
                                            "label": "Create a Chat Completion (GPT Models)"
                                        },
                                        "messages": {
                                            "mode": "chose",
                                            "items": [
                                                {
                                                    "role": {
                                                        "mode": "chose",
                                                        "label": "System"
                                                    }
                                                },
                                                {
                                                    "role": {
                                                        "mode": "chose",
                                                        "label": "User"
                                                    }
                                                },
                                                {
                                                    "role": {
                                                        "mode": "chose",
                                                        "label": "Assistant"
                                                    }
                                                },
                                                {
                                                    "role": {
                                                        "mode": "chose",
                                                        "label": "User"
                                                    }
                                                }
                                            ]
                                        },
                                        "logit_bias": {
                                            "mode": "chose"
                                        },
                                        "response_format": {
                                            "mode": "chose",
                                            "label": "JSON Object"
                                        },
                                        "parseJSONResponse": {
                                            "mode": "chose"
                                        },
                                        "additionalParameters": {
                                            "mode": "chose"
                                        }
                                    },
                                    "parameters": {
                                        "__IMTCONN__": {
                                            "data": {
                                                "scoped": "true",
                                                "connection": "openai-gpt-3"
                                            },
                                            "label": "RJ Media"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "__IMTCONN__",
                                        "type": "account:openai-gpt-3",
                                        "label": "Connection",
                                        "required": true
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "select",
                                        "type": "select",
                                        "label": "Select Method",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "chat",
                                                "prompt"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "max_tokens",
                                        "type": "number",
                                        "label": "Max Tokens",
                                        "required": true
                                    },
                                    {
                                        "name": "temperature",
                                        "type": "number",
                                        "label": "Temperature",
                                        "validate": {
                                            "max": 2,
                                            "min": 0
                                        }
                                    },
                                    {
                                        "name": "top_p",
                                        "type": "number",
                                        "label": "Top P",
                                        "validate": {
                                            "max": 1,
                                            "min": 0
                                        }
                                    },
                                    {
                                        "name": "n_completions",
                                        "type": "number",
                                        "label": "Number"
                                    },
                                    {
                                        "name": "frequency_penalty",
                                        "type": "number",
                                        "label": "Frequency Penalty",
                                        "validate": {
                                            "max": 2,
                                            "min": -2
                                        }
                                    },
                                    {
                                        "name": "presence_penalty",
                                        "type": "number",
                                        "label": "Presence Penalty",
                                        "validate": {
                                            "max": 2,
                                            "min": -2
                                        }
                                    },
                                    {
                                        "name": "logit_bias",
                                        "spec": {
                                            "name": "value",
                                            "spec": [
                                                {
                                                    "name": "token",
                                                    "type": "text",
                                                    "label": "Token ID",
                                                    "required": true
                                                },
                                                {
                                                    "name": "probability",
                                                    "type": "number",
                                                    "label": "Probability",
                                                    "required": true,
                                                    "validate": {
                                                        "max": 100,
                                                        "min": -100
                                                    }
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Token Probability"
                                        },
                                        "type": "array",
                                        "label": "Token Probability"
                                    },
                                    {
                                        "name": "response_format",
                                        "type": "select",
                                        "label": "Response Format",
                                        "validate": {
                                            "enum": [
                                                "text",
                                                "json_object"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "seed",
                                        "type": "integer",
                                        "label": "Seed"
                                    },
                                    {
                                        "name": "stop",
                                        "spec": {
                                            "name": "value",
                                            "type": "text",
                                            "label": "Stop Sequence"
                                        },
                                        "type": "array",
                                        "label": "Stop Sequences",
                                        "validate": {
                                            "maxItems": 4
                                        }
                                    },
                                    {
                                        "name": "additionalParameters",
                                        "spec": {
                                            "name": "value",
                                            "spec": [
                                                {
                                                    "name": "key",
                                                    "type": "text",
                                                    "label": "Parameter Name",
                                                    "required": true
                                                },
                                                {
                                                    "name": "type",
                                                    "type": "select",
                                                    "label": "Input Type",
                                                    "options": [
                                                        {
                                                            "label": "Text",
                                                            "value": "text",
                                                            "nested": [
                                                                {
                                                                    "name": "value",
                                                                    "type": "text",
                                                                    "label": "Parameter Value"
                                                                }
                                                            ],
                                                            "default": true
                                                        },
                                                        {
                                                            "label": "Number",
                                                            "value": "number",
                                                            "nested": [
                                                                {
                                                                    "name": "value",
                                                                    "type": "number",
                                                                    "label": "Parameter Value"
                                                                }
                                                            ]
                                                        },
                                                        {
                                                            "label": "Boolean",
                                                            "value": "boolean",
                                                            "nested": [
                                                                {
                                                                    "name": "value",
                                                                    "type": "boolean",
                                                                    "label": "Parameter Value"
                                                                }
                                                            ]
                                                        },
                                                        {
                                                            "label": "Date",
                                                            "value": "date",
                                                            "nested": [
                                                                {
                                                                    "name": "value",
                                                                    "type": "date",
                                                                    "label": "Parameter Value"
                                                                }
                                                            ]
                                                        },
                                                        {
                                                            "label": "Any",
                                                            "value": "any",
                                                            "nested": [
                                                                {
                                                                    "name": "value",
                                                                    "type": "any",
                                                                    "label": "Parameter Value"
                                                                }
                                                            ]
                                                        }
                                                    ]
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Input Parameter"
                                        },
                                        "type": "array",
                                        "label": "Other Input Parameters"
                                    },
                                    {
                                        "name": "model",
                                        "type": "select",
                                        "label": "Model",
                                        "required": true
                                    },
                                    {
                                        "name": "messages",
                                        "spec": {
                                            "name": "value",
                                            "spec": [
                                                {
                                                    "name": "role",
                                                    "type": "select",
                                                    "label": "Role",
                                                    "options": [
                                                        {
                                                            "label": "System",
                                                            "value": "system"
                                                        },
                                                        {
                                                            "label": "User",
                                                            "value": "user"
                                                        },
                                                        {
                                                            "label": "Assistant",
                                                            "value": "assistant"
                                                        }
                                                    ],
                                                    "required": true
                                                },
                                                {
                                                    "name": "content",
                                                    "type": "text",
                                                    "label": "Message Content"
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Message"
                                        },
                                        "type": "array",
                                        "label": "Messages",
                                        "required": true
                                    },
                                    {
                                        "name": "parseJSONResponse",
                                        "type": "boolean",
                                        "label": "Parse JSON Response",
                                        "required": true
                                    }
                                ],
                                "advanced": true
                            }
                        },
                        {
                            "id": 51,
                            "module": "pandadoc:createADocuments",
                            "version": 1,
                            "parameters": {
                                "__IMTCONN__": 2697634
                            },
                            "mapper": {
                                "name": "{{24.result.`company name`}} - Digital Marketing & AI Agreement",
                                "send": true,
                                "fields": {},
                                "tokens": {
                                    "Client.Email": "{{24.result.email}}",
                                    "Business Name": "{{24.result.`company name`}}"
                                },
                                "message": "Please complete the contract and initial payment.",
                                "subject": "{{24.result.`company name`}} - Digital Marketing & AI Agreement",
                                "template": "oVK2v42y4Ffvc2h9Kx4zsR",
                                "folder_uuid": null
                            },
                            "metadata": {
                                "designer": {
                                    "x": 1500,
                                    "y": 600,
                                    "name": "Send Agreement"
                                },
                                "restore": {
                                    "expect": {
                                        "tags": {
                                            "mode": "chose"
                                        },
                                        "images": {
                                            "mode": "chose"
                                        },
                                        "metadata": {
                                            "mode": "chose"
                                        },
                                        "template": {
                                            "mode": "chose",
                                            "label": "Demo Template"
                                        },
                                        "recipients": {
                                            "mode": "chose"
                                        },
                                        "folder_uuid": {
                                            "mode": "chose"
                                        },
                                        "content_placeholders": {
                                            "mode": "chose"
                                        }
                                    },
                                    "parameters": {
                                        "__IMTCONN__": {
                                            "data": {
                                                "scoped": "true",
                                                "connection": "pandadoc"
                                            },
                                            "label": "RJ Media - PandaDoc (email@rjmediahub.com)"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "__IMTCONN__",
                                        "type": "account:pandadoc",
                                        "label": "Connection",
                                        "required": true
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "name",
                                        "type": "text",
                                        "label": "Document Name",
                                        "required": true
                                    },
                                    {
                                        "name": "template",
                                        "type": "select",
                                        "label": "Template ID",
                                        "required": true
                                    },
                                    {
                                        "name": "send",
                                        "type": "boolean",
                                        "label": "Send a document",
                                        "required": true
                                    },
                                    {
                                        "name": "folder_uuid",
                                        "type": "folder",
                                        "label": "Folder"
                                    },
                                    {
                                        "name": "tags",
                                        "spec": {
                                            "name": "value",
                                            "type": "text",
                                            "label": "Tag"
                                        },
                                        "type": "array",
                                        "label": "Tags"
                                    },
                                    {
                                        "name": "images",
                                        "spec": [
                                            {
                                                "name": "name",
                                                "type": "text",
                                                "label": "Image Block Name",
                                                "required": true
                                            },
                                            {
                                                "name": "urls",
                                                "type": "url",
                                                "label": "Image URL",
                                                "required": true
                                            }
                                        ],
                                        "type": "array",
                                        "label": "Images"
                                    },
                                    {
                                        "name": "metadata",
                                        "spec": [
                                            {
                                                "name": "key",
                                                "type": "text",
                                                "label": "Key",
                                                "required": true
                                            },
                                            {
                                                "name": "value",
                                                "type": "text",
                                                "label": "Value",
                                                "required": true
                                            }
                                        ],
                                        "type": "array",
                                        "label": "Document Metadata"
                                    },
                                    {
                                        "name": "content_placeholders",
                                        "spec": [
                                            {
                                                "name": "block_id",
                                                "type": "select",
                                                "label": "Block ID",
                                                "dynamic": true,
                                                "options": [],
                                                "required": true
                                            },
                                            {
                                                "name": "content_library_items",
                                                "spec": [
                                                    {
                                                        "name": "id",
                                                        "type": "select",
                                                        "label": "Content Library Item ID",
                                                        "dynamic": true,
                                                        "options": {
                                                            "store": []
                                                        },
                                                        "required": true
                                                    }
                                                ],
                                                "type": "array",
                                                "label": "Content Library Items",
                                                "required": true
                                            }
                                        ],
                                        "type": "array",
                                        "label": "Content Placeholders"
                                    },
                                    {
                                        "name": "tokens",
                                        "spec": [
                                            {
                                                "name": "Client.Email",
                                                "type": "email",
                                                "label": "Role: Client Email",
                                                "metadata": {
                                                    "role": "Client"
                                                }
                                            },
                                            {
                                                "name": "Business Name",
                                                "type": "text",
                                                "label": "Token: Business  Name "
                                            }
                                        ],
                                        "type": "collection",
                                        "label": "Tokens"
                                    },
                                    {
                                        "name": "fields",
                                        "spec": [
                                            {
                                                "name": "Date",
                                                "type": "text",
                                                "label": "Client Date"
                                            }
                                        ],
                                        "type": "collection",
                                        "label": "Fields"
                                    },
                                    {
                                        "name": "recipients",
                                        "spec": [
                                            {
                                                "name": "email",
                                                "type": "email",
                                                "label": "Email",
                                                "required": true
                                            },
                                            {
                                                "name": "first_name",
                                                "type": "text",
                                                "label": "First name"
                                            },
                                            {
                                                "name": "last_name",
                                                "type": "text",
                                                "label": "Last name"
                                            }
                                        ],
                                        "type": "array",
                                        "label": "CC Recipients"
                                    },
                                    {
                                        "name": "subject",
                                        "type": "text",
                                        "label": "Subject",
                                        "required": true
                                    },
                                    {
                                        "name": "message",
                                        "type": "text",
                                        "label": "Message",
                                        "required": true
                                    }
                                ]
                            }
                        },
                        {
                            "id": 27,
                            "module": "google-drive:createAFolder",
                            "version": 4,
                            "parameters": {
                                "__IMTCONN__": 2686222
                            },
                            "mapper": {
                                "name": "{{24.result.`company name`}}",
                                "role": "writer",
                                "type": "anyone",
                                "shared": true,
                                "folderId": "/1LiZ8YS8yB2ZPV2bgu7F2mPMx0s6jtyer",
                                "destination": "drive"
                            },
                            "metadata": {
                                "designer": {
                                    "x": 1800,
                                    "y": 600,
                                    "name": "Client Folder"
                                },
                                "restore": {
                                    "expect": {
                                        "role": {
                                            "mode": "chose",
                                            "label": "Writer"
                                        },
                                        "type": {
                                            "mode": "chose",
                                            "label": "Anyone"
                                        },
                                        "folderId": {
                                            "mode": "chose",
                                            "path": [
                                                "RJ Media - Clients"
                                            ]
                                        },
                                        "destination": {
                                            "label": "My Drive"
                                        }
                                    },
                                    "parameters": {
                                        "__IMTCONN__": {
                                            "data": {
                                                "scoped": "true",
                                                "connection": "google-restricted"
                                            },
                                            "label": "RJ Media (email@rjmediahub.com)"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "__IMTCONN__",
                                        "type": "account:google-restricted",
                                        "label": "Connection",
                                        "required": true
                                    }
                                ],
                                "expect": [
                                    {
                                        "type": "hidden"
                                    },
                                    {
                                        "name": "destination",
                                        "type": "select",
                                        "label": "New Drive Location",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "drive",
                                                "share",
                                                "team"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "folderId",
                                        "type": "folder",
                                        "label": "New Folder Location",
                                        "required": true
                                    },
                                    {
                                        "name": "name",
                                        "type": "text",
                                        "label": "New Folder's Name"
                                    },
                                    {
                                        "name": "shared",
                                        "type": "boolean",
                                        "label": "Share Folder",
                                        "required": true
                                    },
                                    {
                                        "name": "role",
                                        "type": "select",
                                        "label": "Role",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "owner",
                                                "writer",
                                                "commenter",
                                                "reader"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "type",
                                        "type": "select",
                                        "label": "Type",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "user",
                                                "group",
                                                "domain",
                                                "anyone"
                                            ]
                                        }
                                    }
                                ]
                            }
                        },
                        {
                            "id": 58,
                            "module": "google-drive:shareAFileFolder",
                            "version": 4,
                            "parameters": {
                                "__IMTCONN__": 2686222
                            },
                            "mapper": {
                                "role": "writer",
                                "type": "anyone",
                                "folder": "{{27.id}}",
                                "select": "folder",
                                "destination": "drive",
                                "allowFileDiscovery": false
                            },
                            "metadata": {
                                "designer": {
                                    "x": 2100,
                                    "y": 600,
                                    "name": "Get Folder URL"
                                },
                                "restore": {
                                    "expect": {
                                        "role": {
                                            "mode": "chose",
                                            "label": "Writer"
                                        },
                                        "type": {
                                            "mode": "chose",
                                            "label": "Anyone"
                                        },
                                        "folder": {
                                            "mode": "edit",
                                            "path": []
                                        },
                                        "select": {
                                            "label": "Folder"
                                        },
                                        "destination": {
                                            "label": "My Drive"
                                        },
                                        "allowFileDiscovery": {
                                            "mode": "chose"
                                        }
                                    },
                                    "parameters": {
                                        "__IMTCONN__": {
                                            "data": {
                                                "scoped": "true",
                                                "connection": "google-restricted"
                                            },
                                            "label": "RJ Media (email@rjmediahub.com)"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "__IMTCONN__",
                                        "type": "account:google-restricted",
                                        "label": "Connection",
                                        "required": true
                                    }
                                ],
                                "expect": [
                                    {
                                        "type": "hidden"
                                    },
                                    {
                                        "name": "destination",
                                        "type": "select",
                                        "label": "Choose a Drive",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "drive",
                                                "share",
                                                "team"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "select",
                                        "type": "select",
                                        "label": "Select",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "file",
                                                "folder"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "role",
                                        "type": "select",
                                        "label": "Role",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "owner",
                                                "writer",
                                                "commenter",
                                                "reader"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "type",
                                        "type": "select",
                                        "label": "Type",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "user",
                                                "group",
                                                "domain",
                                                "anyone"
                                            ]
                                        }
                                    },
                                    {
                                        "mode": "edit",
                                        "name": "folder",
                                        "type": "folder",
                                        "label": "Folder ID",
                                        "required": true
                                    },
                                    {
                                        "name": "allowFileDiscovery",
                                        "type": "boolean",
                                        "label": "Allow File Discovery",
                                        "required": true
                                    }
                                ],
                                "interface": [
                                    {
                                        "name": "fileId",
                                        "type": "text",
                                        "label": "File ID"
                                    },
                                    {
                                        "name": "kind",
                                        "type": "text",
                                        "label": "Kind"
                                    },
                                    {
                                        "name": "id",
                                        "type": "text",
                                        "label": "Permission ID"
                                    },
                                    {
                                        "name": "type",
                                        "type": "text",
                                        "label": "Type"
                                    },
                                    {
                                        "name": "shareLink",
                                        "type": "url",
                                        "label": "Share Link"
                                    },
                                    {
                                        "name": "emailAddress",
                                        "type": "text",
                                        "label": "Email Address"
                                    },
                                    {
                                        "name": "domain",
                                        "type": "text",
                                        "label": "Domain"
                                    },
                                    {
                                        "name": "role",
                                        "type": "text",
                                        "label": "Role"
                                    },
                                    {
                                        "name": "allowFileDiscovery",
                                        "type": "boolean",
                                        "label": "Allow File Discovery"
                                    },
                                    {
                                        "name": "displayName",
                                        "type": "text",
                                        "label": "Display Name"
                                    },
                                    {
                                        "name": "photoLink",
                                        "type": "text",
                                        "label": "Photo Link"
                                    },
                                    {
                                        "name": "expirationTime",
                                        "type": "date",
                                        "label": "Expiration Time"
                                    },
                                    {
                                        "name": "teamDrivePermissionDetails",
                                        "spec": {
                                            "spec": [
                                                {
                                                    "name": "teamDrivePermissionType",
                                                    "type": "text",
                                                    "label": "Team Drive Permission Type"
                                                },
                                                {
                                                    "name": "role",
                                                    "type": "text",
                                                    "label": "Role"
                                                },
                                                {
                                                    "name": "inheritedFrom",
                                                    "type": "text",
                                                    "label": "Inherited From"
                                                },
                                                {
                                                    "name": "inherited",
                                                    "type": "boolean",
                                                    "label": "Inherited"
                                                }
                                            ],
                                            "type": "collection"
                                        },
                                        "type": "array",
                                        "label": "Team Drive Permission Details"
                                    },
                                    {
                                        "name": "permissionDetails",
                                        "spec": {
                                            "spec": [
                                                {
                                                    "name": "permissionType",
                                                    "type": "text",
                                                    "label": "Permission Type"
                                                },
                                                {
                                                    "name": "role",
                                                    "type": "text",
                                                    "label": "Role"
                                                },
                                                {
                                                    "name": "inheritedFrom",
                                                    "type": "text",
                                                    "label": "Inherited From"
                                                },
                                                {
                                                    "name": "inherited",
                                                    "type": "boolean",
                                                    "label": "Inherited"
                                                }
                                            ],
                                            "type": "collection"
                                        },
                                        "type": "array",
                                        "label": "Permission Details"
                                    },
                                    {
                                        "name": "deleted",
                                        "type": "boolean",
                                        "label": "Deleted"
                                    },
                                    {
                                        "name": "pendingOwner",
                                        "type": "boolean",
                                        "label": "Pending Owner"
                                    }
                                ]
                            }
                        },
                        {
                            "id": 43,
                            "module": "slack:CreateChannel",
                            "version": 4,
                            "parameters": {
                                "__IMTCONN__": 2356016
                            },
                            "mapper": {
                                "name": "{{lower(replace(24.result.`company name`; space; \"-\"))}}",
                                "is_private": true
                            },
                            "metadata": {
                                "designer": {
                                    "x": 2400,
                                    "y": 600,
                                    "name": "Private Channel"
                                },
                                "restore": {
                                    "expect": {
                                        "is_private": {
                                            "mode": "chose"
                                        }
                                    },
                                    "parameters": {
                                        "__IMTCONN__": {
                                            "data": {
                                                "scoped": "true",
                                                "connection": "slack2"
                                            },
                                            "label": "RJ Media (email)"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "__IMTCONN__",
                                        "type": "account:slack2",
                                        "label": "Connection",
                                        "required": true
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "name",
                                        "type": "text",
                                        "label": "Name",
                                        "required": true
                                    },
                                    {
                                        "name": "is_private",
                                        "type": "boolean",
                                        "label": "Is private",
                                        "required": true
                                    }
                                ]
                            }
                        },
                        {
                            "id": 47,
                            "module": "slack:InviteUsers",
                            "version": 4,
                            "parameters": {
                                "__IMTCONN__": 2356016
                            },
                            "mapper": {
                                "type": "private",
                                "users": [
                                    "U07PSFSV3T9"
                                ],
                                "channel": "{{43.id}}"
                            },
                            "metadata": {
                                "designer": {
                                    "x": 2700,
                                    "y": 600
                                },
                                "restore": {
                                    "expect": {
                                        "type": {
                                            "label": "Private channel"
                                        },
                                        "users": {
                                            "mode": "chose",
                                            "label": [
                                                "rj_media"
                                            ]
                                        },
                                        "channel": {
                                            "mode": "edit"
                                        }
                                    },
                                    "parameters": {
                                        "__IMTCONN__": {
                                            "data": {
                                                "scoped": "true",
                                                "connection": "slack2"
                                            },
                                            "label": "RJ Media (email)"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "__IMTCONN__",
                                        "type": "account:slack2",
                                        "label": "Connection",
                                        "required": true
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "type",
                                        "type": "select",
                                        "label": "Channel type",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "public",
                                                "private"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "users",
                                        "type": "select",
                                        "label": "Users",
                                        "multiple": true,
                                        "required": true
                                    },
                                    {
                                        "name": "channel",
                                        "type": "select",
                                        "label": "Private channel",
                                        "required": true
                                    }
                                ]
                            }
                        },
                        {
                            "id": 56,
                            "module": "slack:CreateMessage",
                            "version": 4,
                            "parameters": {
                                "__IMTCONN__": 2356016
                            },
                            "mapper": {
                                "text": "Welcome {{24.result.name}}! This is your private Slack channel where you can send any questions you have.\n\nThis is your Google Drive folder and is where we will store any important files: {{58.shareLink}} ",
                                "parse": false,
                                "mrkdwn": true,
                                "channel": "{{43.id}}",
                                "channelWType": "manualy"
                            },
                            "metadata": {
                                "designer": {
                                    "x": 3000,
                                    "y": 600
                                },
                                "restore": {
                                    "expect": {
                                        "parse": {
                                            "mode": "chose"
                                        },
                                        "blocks": {
                                            "collapsed": true
                                        },
                                        "mrkdwn": {
                                            "mode": "chose"
                                        },
                                        "link_names": {
                                            "mode": "chose"
                                        },
                                        "channelWType": {
                                            "label": "Enter manually"
                                        },
                                        "unfurl_links": {
                                            "mode": "chose"
                                        },
                                        "unfurl_media": {
                                            "mode": "chose"
                                        },
                                        "reply_broadcast": {
                                            "mode": "chose"
                                        }
                                    },
                                    "parameters": {
                                        "__IMTCONN__": {
                                            "data": {
                                                "scoped": "true",
                                                "connection": "slack2"
                                            },
                                            "label": "RJ Media (email)"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "__IMTCONN__",
                                        "type": "account:slack2,slack3",
                                        "label": "Connection",
                                        "required": true
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "channelWType",
                                        "type": "select",
                                        "label": "Enter a channel ID or name",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "manualy",
                                                "list"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "text",
                                        "type": "text",
                                        "label": "Text"
                                    },
                                    {
                                        "name": "blocks",
                                        "type": "text",
                                        "label": "Blocks"
                                    },
                                    {
                                        "name": "thread_ts",
                                        "type": "text",
                                        "label": "Thread message ID (time stamp)"
                                    },
                                    {
                                        "name": "reply_broadcast",
                                        "type": "boolean",
                                        "label": "Reply broadcast"
                                    },
                                    {
                                        "name": "link_names",
                                        "type": "boolean",
                                        "label": "Link names"
                                    },
                                    {
                                        "name": "parse",
                                        "type": "boolean",
                                        "label": "Parse message text"
                                    },
                                    {
                                        "name": "mrkdwn",
                                        "type": "boolean",
                                        "label": "Use markdown"
                                    },
                                    {
                                        "name": "unfurl_links",
                                        "type": "boolean",
                                        "label": "Unfurl primarily text-based content"
                                    },
                                    {
                                        "name": "unfurl_media",
                                        "type": "boolean",
                                        "label": "Unfurl media content"
                                    },
                                    {
                                        "name": "icon_emoji",
                                        "type": "text",
                                        "label": "Icon emoji"
                                    },
                                    {
                                        "name": "icon_url",
                                        "type": "url",
                                        "label": "Icon url"
                                    },
                                    {
                                        "name": "username",
                                        "type": "text",
                                        "label": "User name"
                                    },
                                    {
                                        "name": "channel",
                                        "type": "text",
                                        "label": "Channel ID or name",
                                        "required": true
                                    }
                                ]
                            }
                        },
                        {
                            "id": 49,
                            "module": "http:ActionSendData",
                            "version": 3,
                            "parameters": {
                                "handleErrors": true,
                                "useNewZLibDeCompress": true
                            },
                            "mapper": {
                                "ca": "",
                                "qs": [],
                                "url": "https://slack.com/api/conversations.inviteShared",
                                "data": "{\n\"channel\":\"{{5.channel_id}}\",\n\"email\":\"{{24.result.email}}\"\n}",
                                "gzip": true,
                                "method": "post",
                                "headers": [
                                    {
                                        "name": "Authorization",
                                        "value": "Bearer {{26.`Slack API OAuth Token`}}"
                                    },
                                    {
                                        "name": "Content-type",
                                        "value": "application/json"
                                    }
                                ],
                                "timeout": "",
                                "useMtls": false,
                                "authPass": "",
                                "authUser": "",
                                "bodyType": "raw",
                                "contentType": "application/json",
                                "serializeUrl": false,
                                "shareCookies": false,
                                "parseResponse": false,
                                "followRedirect": true,
                                "useQuerystring": false,
                                "followAllRedirects": false,
                                "rejectUnauthorized": true
                            },
                            "metadata": {
                                "designer": {
                                    "x": 3300,
                                    "y": 600,
                                    "name": "Invite to Channel"
                                },
                                "restore": {
                                    "expect": {
                                        "qs": {
                                            "mode": "chose"
                                        },
                                        "method": {
                                            "mode": "chose",
                                            "label": "POST"
                                        },
                                        "headers": {
                                            "mode": "chose",
                                            "items": [
                                                null,
                                                null
                                            ]
                                        },
                                        "bodyType": {
                                            "label": "Raw"
                                        },
                                        "contentType": {
                                            "label": "JSON (application/json)"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "handleErrors",
                                        "type": "boolean",
                                        "label": "Evaluate all states as errors (except for 2xx and 3xx )",
                                        "required": true
                                    },
                                    {
                                        "name": "useNewZLibDeCompress",
                                        "type": "hidden"
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "url",
                                        "type": "url",
                                        "label": "URL",
                                        "required": true
                                    },
                                    {
                                        "name": "serializeUrl",
                                        "type": "boolean",
                                        "label": "Serialize URL",
                                        "required": true
                                    },
                                    {
                                        "name": "method",
                                        "type": "select",
                                        "label": "Method",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "get",
                                                "head",
                                                "post",
                                                "put",
                                                "patch",
                                                "delete",
                                                "options"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "headers",
                                        "spec": [
                                            {
                                                "name": "name",
                                                "type": "text",
                                                "label": "Name",
                                                "required": true
                                            },
                                            {
                                                "name": "value",
                                                "type": "text",
                                                "label": "Value"
                                            }
                                        ],
                                        "type": "array",
                                        "label": "Headers"
                                    },
                                    {
                                        "name": "qs",
                                        "spec": [
                                            {
                                                "name": "name",
                                                "type": "text",
                                                "label": "Name",
                                                "required": true
                                            },
                                            {
                                                "name": "value",
                                                "type": "text",
                                                "label": "Value"
                                            }
                                        ],
                                        "type": "array",
                                        "label": "Query String"
                                    },
                                    {
                                        "name": "bodyType",
                                        "type": "select",
                                        "label": "Body type",
                                        "validate": {
                                            "enum": [
                                                "raw",
                                                "x_www_form_urlencoded",
                                                "multipart_form_data"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "parseResponse",
                                        "type": "boolean",
                                        "label": "Parse response",
                                        "required": true
                                    },
                                    {
                                        "name": "authUser",
                                        "type": "text",
                                        "label": "User name"
                                    },
                                    {
                                        "name": "authPass",
                                        "type": "password",
                                        "label": "Password"
                                    },
                                    {
                                        "name": "timeout",
                                        "type": "uinteger",
                                        "label": "Timeout",
                                        "validate": {
                                            "max": 300,
                                            "min": 1
                                        }
                                    },
                                    {
                                        "name": "shareCookies",
                                        "type": "boolean",
                                        "label": "Share cookies with other HTTP modules",
                                        "required": true
                                    },
                                    {
                                        "name": "ca",
                                        "type": "cert",
                                        "label": "Self-signed certificate"
                                    },
                                    {
                                        "name": "rejectUnauthorized",
                                        "type": "boolean",
                                        "label": "Reject connections that are using unverified (self-signed) certificates",
                                        "required": true
                                    },
                                    {
                                        "name": "followRedirect",
                                        "type": "boolean",
                                        "label": "Follow redirect",
                                        "required": true
                                    },
                                    {
                                        "name": "useQuerystring",
                                        "type": "boolean",
                                        "label": "Disable serialization of multiple same query string keys as arrays",
                                        "required": true
                                    },
                                    {
                                        "name": "gzip",
                                        "type": "boolean",
                                        "label": "Request compressed content",
                                        "required": true
                                    },
                                    {
                                        "name": "useMtls",
                                        "type": "boolean",
                                        "label": "Use Mutual TLS",
                                        "required": true
                                    },
                                    {
                                        "name": "contentType",
                                        "type": "select",
                                        "label": "Content type",
                                        "validate": {
                                            "enum": [
                                                "text/plain",
                                                "application/json",
                                                "application/xml",
                                                "text/xml",
                                                "text/html",
                                                "custom"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "data",
                                        "type": "buffer",
                                        "label": "Request content"
                                    },
                                    {
                                        "name": "followAllRedirects",
                                        "type": "boolean",
                                        "label": "Follow all redirect",
                                        "required": true
                                    }
                                ]
                            }
                        },
                        {
                            "id": 25,
                            "module": "http:ActionSendData",
                            "version": 3,
                            "parameters": {
                                "handleErrors": true,
                                "useNewZLibDeCompress": true
                            },
                            "mapper": {
                                "ca": "",
                                "qs": [],
                                "url": "https://slack.com/api/chat.postMessage",
                                "data": "{\n\"channel\":\"{{5.channel_id}}\",\n\"text\":\"Onboarding Complete for {{24.result.name}} ({{24.result.email}}) from {{24.result.`company name`}}.\"\n}",
                                "gzip": true,
                                "method": "post",
                                "headers": [
                                    {
                                        "name": "Authorization",
                                        "value": "Bearer {{26.`Slack API OAuth Token`}}"
                                    },
                                    {
                                        "name": "Content-type",
                                        "value": "application/json"
                                    }
                                ],
                                "timeout": "",
                                "useMtls": false,
                                "authPass": "",
                                "authUser": "",
                                "bodyType": "raw",
                                "contentType": "application/json",
                                "serializeUrl": false,
                                "shareCookies": false,
                                "parseResponse": false,
                                "followRedirect": true,
                                "useQuerystring": false,
                                "followAllRedirects": false,
                                "rejectUnauthorized": true
                            },
                            "metadata": {
                                "designer": {
                                    "x": 3600,
                                    "y": 600,
                                    "name": "Slack Confirmation"
                                },
                                "restore": {
                                    "expect": {
                                        "qs": {
                                            "mode": "chose"
                                        },
                                        "method": {
                                            "mode": "chose",
                                            "label": "POST"
                                        },
                                        "headers": {
                                            "mode": "chose",
                                            "items": [
                                                null,
                                                null
                                            ]
                                        },
                                        "bodyType": {
                                            "label": "Raw"
                                        },
                                        "contentType": {
                                            "label": "JSON (application/json)"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "handleErrors",
                                        "type": "boolean",
                                        "label": "Evaluate all states as errors (except for 2xx and 3xx )",
                                        "required": true
                                    },
                                    {
                                        "name": "useNewZLibDeCompress",
                                        "type": "hidden"
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "url",
                                        "type": "url",
                                        "label": "URL",
                                        "required": true
                                    },
                                    {
                                        "name": "serializeUrl",
                                        "type": "boolean",
                                        "label": "Serialize URL",
                                        "required": true
                                    },
                                    {
                                        "name": "method",
                                        "type": "select",
                                        "label": "Method",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "get",
                                                "head",
                                                "post",
                                                "put",
                                                "patch",
                                                "delete",
                                                "options"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "headers",
                                        "spec": [
                                            {
                                                "name": "name",
                                                "type": "text",
                                                "label": "Name",
                                                "required": true
                                            },
                                            {
                                                "name": "value",
                                                "type": "text",
                                                "label": "Value"
                                            }
                                        ],
                                        "type": "array",
                                        "label": "Headers"
                                    },
                                    {
                                        "name": "qs",
                                        "spec": [
                                            {
                                                "name": "name",
                                                "type": "text",
                                                "label": "Name",
                                                "required": true
                                            },
                                            {
                                                "name": "value",
                                                "type": "text",
                                                "label": "Value"
                                            }
                                        ],
                                        "type": "array",
                                        "label": "Query String"
                                    },
                                    {
                                        "name": "bodyType",
                                        "type": "select",
                                        "label": "Body type",
                                        "validate": {
                                            "enum": [
                                                "raw",
                                                "x_www_form_urlencoded",
                                                "multipart_form_data"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "parseResponse",
                                        "type": "boolean",
                                        "label": "Parse response",
                                        "required": true
                                    },
                                    {
                                        "name": "authUser",
                                        "type": "text",
                                        "label": "User name"
                                    },
                                    {
                                        "name": "authPass",
                                        "type": "password",
                                        "label": "Password"
                                    },
                                    {
                                        "name": "timeout",
                                        "type": "uinteger",
                                        "label": "Timeout",
                                        "validate": {
                                            "max": 300,
                                            "min": 1
                                        }
                                    },
                                    {
                                        "name": "shareCookies",
                                        "type": "boolean",
                                        "label": "Share cookies with other HTTP modules",
                                        "required": true
                                    },
                                    {
                                        "name": "ca",
                                        "type": "cert",
                                        "label": "Self-signed certificate"
                                    },
                                    {
                                        "name": "rejectUnauthorized",
                                        "type": "boolean",
                                        "label": "Reject connections that are using unverified (self-signed) certificates",
                                        "required": true
                                    },
                                    {
                                        "name": "followRedirect",
                                        "type": "boolean",
                                        "label": "Follow redirect",
                                        "required": true
                                    },
                                    {
                                        "name": "useQuerystring",
                                        "type": "boolean",
                                        "label": "Disable serialization of multiple same query string keys as arrays",
                                        "required": true
                                    },
                                    {
                                        "name": "gzip",
                                        "type": "boolean",
                                        "label": "Request compressed content",
                                        "required": true
                                    },
                                    {
                                        "name": "useMtls",
                                        "type": "boolean",
                                        "label": "Use Mutual TLS",
                                        "required": true
                                    },
                                    {
                                        "name": "contentType",
                                        "type": "select",
                                        "label": "Content type",
                                        "validate": {
                                            "enum": [
                                                "text/plain",
                                                "application/json",
                                                "application/xml",
                                                "text/xml",
                                                "text/html",
                                                "custom"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "data",
                                        "type": "buffer",
                                        "label": "Request content"
                                    },
                                    {
                                        "name": "followAllRedirects",
                                        "type": "boolean",
                                        "label": "Follow all redirect",
                                        "required": true
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "flow": [
                        {
                            "id": 59,
                            "module": "gateway:WebhookRespond",
                            "version": 1,
                            "parameters": {},
                            "filter": {
                                "name": "",
                                "conditions": [
                                    [
                                        {
                                            "a": "{{5.command}}",
                                            "o": "text:equal",
                                            "b": "/support"
                                        }
                                    ]
                                ]
                            },
                            "mapper": {
                                "status": "200",
                                "body": "Processing query...",
                                "headers": []
                            },
                            "metadata": {
                                "designer": {
                                    "x": 900,
                                    "y": 900
                                },
                                "restore": {
                                    "expect": {
                                        "headers": {
                                            "mode": "chose"
                                        }
                                    }
                                },
                                "expect": [
                                    {
                                        "name": "status",
                                        "type": "uinteger",
                                        "label": "Status",
                                        "validate": {
                                            "min": 100
                                        },
                                        "required": true
                                    },
                                    {
                                        "name": "body",
                                        "type": "any",
                                        "label": "Body"
                                    },
                                    {
                                        "name": "headers",
                                        "type": "array",
                                        "label": "Custom headers",
                                        "validate": {
                                            "maxItems": 16
                                        },
                                        "spec": [
                                            {
                                                "name": "key",
                                                "label": "Key",
                                                "type": "text",
                                                "required": true,
                                                "validate": {
                                                    "max": 256
                                                }
                                            },
                                            {
                                                "name": "value",
                                                "label": "Value",
                                                "type": "text",
                                                "required": true,
                                                "validate": {
                                                    "max": 4096
                                                }
                                            }
                                        ]
                                    }
                                ]
                            }
                        },
                        {
                            "id": 60,
                            "module": "openai-gpt-3:messageAssistantAdvanced",
                            "version": 1,
                            "parameters": {
                                "__IMTCONN__": 2356104
                            },
                            "mapper": {
                                "assistantId": "asst_4sHgzmmqlqDL3U5ozrXVesN9",
                                "role": "user",
                                "tool_choice": "file_search",
                                "message": "{{5.text}}"
                            },
                            "metadata": {
                                "designer": {
                                    "x": 1200,
                                    "y": 900,
                                    "name": "Staff Support Assistant"
                                },
                                "restore": {
                                    "parameters": {
                                        "__IMTCONN__": {
                                            "label": "RJ Media",
                                            "data": {
                                                "scoped": "true",
                                                "connection": "openai-gpt-3"
                                            }
                                        }
                                    },
                                    "expect": {
                                        "assistantId": {
                                            "mode": "chose",
                                            "nested": [],
                                            "label": "Slack Product Manual & Staff Training Chatbot (gpt-4o)"
                                        },
                                        "role": {
                                            "label": "User"
                                        },
                                        "model": {
                                            "mode": "chose",
                                            "label": "Empty"
                                        },
                                        "tools": {
                                            "mode": "chose"
                                        },
                                        "file_search_resources": {
                                            "mode": "chose",
                                            "label": "Empty"
                                        },
                                        "code_interpreter_resources": {
                                            "mode": "chose"
                                        },
                                        "tool_choice": {
                                            "mode": "chose",
                                            "label": "File Search"
                                        },
                                        "response_format": {
                                            "mode": "chose",
                                            "label": "Empty"
                                        },
                                        "truncation_strategy": {
                                            "mode": "chose",
                                            "label": "Empty"
                                        },
                                        "image_files": {
                                            "mode": "chose",
                                            "collapsed": true
                                        },
                                        "image_urls": {
                                            "mode": "chose",
                                            "collapsed": true
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "__IMTCONN__",
                                        "type": "account:openai-gpt-3",
                                        "label": "Connection",
                                        "required": true
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "assistantId",
                                        "type": "select",
                                        "label": "Assistant",
                                        "required": true
                                    },
                                    {
                                        "name": "role",
                                        "type": "select",
                                        "label": "Role",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "user",
                                                "assistant"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "threadId",
                                        "type": "text",
                                        "label": "Thread ID"
                                    },
                                    {
                                        "name": "model",
                                        "type": "select",
                                        "label": "Model"
                                    },
                                    {
                                        "name": "tools",
                                        "type": "select",
                                        "label": "Tools",
                                        "multiple": true,
                                        "validate": {
                                            "enum": [
                                                "file_search",
                                                "code_interpreter"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "file_search_resources",
                                        "type": "select",
                                        "label": "File Search Resources"
                                    },
                                    {
                                        "name": "code_interpreter_resources",
                                        "type": "select",
                                        "label": "Code Interpreter Resources",
                                        "validate": {
                                            "maxItems": 20
                                        },
                                        "multiple": true
                                    },
                                    {
                                        "name": "tool_choice",
                                        "type": "select",
                                        "label": "Tool Choice",
                                        "validate": {
                                            "enum": [
                                                "none",
                                                "auto",
                                                "required",
                                                "file_search",
                                                "code_interpreter",
                                                "function"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "instructions",
                                        "type": "text",
                                        "label": "Instructions"
                                    },
                                    {
                                        "name": "max_prompt_tokens",
                                        "type": "uinteger",
                                        "label": "Max Prompt Tokens"
                                    },
                                    {
                                        "name": "max_completion_tokens",
                                        "type": "uinteger",
                                        "label": "Max Completion Tokens"
                                    },
                                    {
                                        "name": "temperature",
                                        "type": "number",
                                        "label": "Temperature",
                                        "validate": {
                                            "max": 2,
                                            "min": 0
                                        }
                                    },
                                    {
                                        "name": "top_p",
                                        "type": "number",
                                        "label": "Top P",
                                        "validate": {
                                            "max": 1,
                                            "min": 0
                                        }
                                    },
                                    {
                                        "name": "response_format",
                                        "type": "select",
                                        "label": "Response Format",
                                        "validate": {
                                            "enum": [
                                                "auto",
                                                "json_object",
                                                "text"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "truncation_strategy",
                                        "type": "select",
                                        "label": "Truncation Strategy",
                                        "validate": {
                                            "enum": [
                                                "auto",
                                                "last_messages"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "message",
                                        "type": "text",
                                        "label": "Message",
                                        "required": true
                                    },
                                    {
                                        "name": "image_files",
                                        "type": "select",
                                        "label": "Image Files",
                                        "multiple": true
                                    },
                                    {
                                        "name": "image_urls",
                                        "type": "array",
                                        "label": "Image URLs",
                                        "spec": {
                                            "type": "url",
                                            "label": "Image URL",
                                            "required": true,
                                            "name": "value"
                                        }
                                    }
                                ]
                            }
                        },
                        {
                            "id": 62,
                            "module": "regexp:Replace",
                            "version": 1,
                            "parameters": {},
                            "mapper": {
                                "pattern": "\\【.*?\\】.",
                                "value": ".",
                                "global": true,
                                "sensitive": false,
                                "multiline": false,
                                "singleline": false,
                                "text": "{{replace(60.result; \"\"\"\"; \"\\\"\"\")}}"
                            },
                            "metadata": {
                                "designer": {
                                    "x": 1500,
                                    "y": 900,
                                    "name": "Remove Source References"
                                },
                                "restore": {
                                    "expect": {
                                        "global": {
                                            "mode": "chose"
                                        },
                                        "sensitive": {
                                            "mode": "chose"
                                        },
                                        "multiline": {
                                            "mode": "chose"
                                        },
                                        "singleline": {
                                            "mode": "chose"
                                        }
                                    }
                                },
                                "expect": [
                                    {
                                        "name": "pattern",
                                        "type": "text",
                                        "label": "Pattern",
                                        "required": true
                                    },
                                    {
                                        "name": "value",
                                        "type": "text",
                                        "label": "New value"
                                    },
                                    {
                                        "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": "text",
                                        "type": "text",
                                        "label": "Text"
                                    }
                                ]
                            }
                        },
                        {
                            "id": 64,
                            "module": "regexp:Replace",
                            "version": 1,
                            "parameters": {},
                            "mapper": {
                                "pattern": "\\*\\*",
                                "value": "{{emptystring}}",
                                "global": true,
                                "sensitive": true,
                                "multiline": false,
                                "singleline": false,
                                "text": "{{62.text}}"
                            },
                            "metadata": {
                                "designer": {
                                    "x": 1800,
                                    "y": 900,
                                    "name": "Remove Asterisks"
                                },
                                "restore": {
                                    "expect": {
                                        "global": {
                                            "mode": "chose"
                                        },
                                        "sensitive": {
                                            "mode": "chose"
                                        },
                                        "multiline": {
                                            "mode": "chose"
                                        },
                                        "singleline": {
                                            "mode": "chose"
                                        }
                                    }
                                },
                                "expect": [
                                    {
                                        "name": "pattern",
                                        "type": "text",
                                        "label": "Pattern",
                                        "required": true
                                    },
                                    {
                                        "name": "value",
                                        "type": "text",
                                        "label": "New value"
                                    },
                                    {
                                        "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": "text",
                                        "type": "text",
                                        "label": "Text"
                                    }
                                ]
                            }
                        },
                        {
                            "id": 61,
                            "module": "http:ActionSendData",
                            "version": 3,
                            "parameters": {
                                "handleErrors": true,
                                "useNewZLibDeCompress": true
                            },
                            "mapper": {
                                "url": "https://slack.com/api/chat.postMessage",
                                "serializeUrl": false,
                                "method": "post",
                                "headers": [
                                    {
                                        "name": "Authorization",
                                        "value": "Bearer {{26.`Slack API OAuth Token`}}"
                                    },
                                    {
                                        "name": "Content-type",
                                        "value": "application/json"
                                    }
                                ],
                                "qs": [],
                                "bodyType": "raw",
                                "parseResponse": false,
                                "authUser": "",
                                "authPass": "",
                                "timeout": "",
                                "shareCookies": false,
                                "ca": "",
                                "rejectUnauthorized": true,
                                "followRedirect": true,
                                "useQuerystring": false,
                                "gzip": true,
                                "useMtls": false,
                                "contentType": "application/json",
                                "data": "{\n\"channel\":\"{{5.channel_id}}\",\n\"text\":\"{{64.text}}\"\n}",
                                "followAllRedirects": false
                            },
                            "metadata": {
                                "designer": {
                                    "x": 2100,
                                    "y": 900,
                                    "name": "Slack Confirmation"
                                },
                                "restore": {
                                    "expect": {
                                        "method": {
                                            "mode": "chose",
                                            "label": "POST"
                                        },
                                        "headers": {
                                            "mode": "chose",
                                            "items": [
                                                null,
                                                null
                                            ]
                                        },
                                        "qs": {
                                            "mode": "chose"
                                        },
                                        "bodyType": {
                                            "label": "Raw"
                                        },
                                        "contentType": {
                                            "label": "JSON (application/json)"
                                        }
                                    }
                                },
                                "parameters": [
                                    {
                                        "name": "handleErrors",
                                        "type": "boolean",
                                        "label": "Evaluate all states as errors (except for 2xx and 3xx )",
                                        "required": true
                                    },
                                    {
                                        "name": "useNewZLibDeCompress",
                                        "type": "hidden"
                                    }
                                ],
                                "expect": [
                                    {
                                        "name": "url",
                                        "type": "url",
                                        "label": "URL",
                                        "required": true
                                    },
                                    {
                                        "name": "serializeUrl",
                                        "type": "boolean",
                                        "label": "Serialize URL",
                                        "required": true
                                    },
                                    {
                                        "name": "method",
                                        "type": "select",
                                        "label": "Method",
                                        "required": true,
                                        "validate": {
                                            "enum": [
                                                "get",
                                                "head",
                                                "post",
                                                "put",
                                                "patch",
                                                "delete",
                                                "options"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "headers",
                                        "type": "array",
                                        "label": "Headers",
                                        "spec": [
                                            {
                                                "name": "name",
                                                "label": "Name",
                                                "type": "text",
                                                "required": true
                                            },
                                            {
                                                "name": "value",
                                                "label": "Value",
                                                "type": "text"
                                            }
                                        ]
                                    },
                                    {
                                        "name": "qs",
                                        "type": "array",
                                        "label": "Query String",
                                        "spec": [
                                            {
                                                "name": "name",
                                                "label": "Name",
                                                "type": "text",
                                                "required": true
                                            },
                                            {
                                                "name": "value",
                                                "label": "Value",
                                                "type": "text"
                                            }
                                        ]
                                    },
                                    {
                                        "name": "bodyType",
                                        "type": "select",
                                        "label": "Body type",
                                        "validate": {
                                            "enum": [
                                                "raw",
                                                "x_www_form_urlencoded",
                                                "multipart_form_data"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "parseResponse",
                                        "type": "boolean",
                                        "label": "Parse response",
                                        "required": true
                                    },
                                    {
                                        "name": "authUser",
                                        "type": "text",
                                        "label": "User name"
                                    },
                                    {
                                        "name": "authPass",
                                        "type": "password",
                                        "label": "Password"
                                    },
                                    {
                                        "name": "timeout",
                                        "type": "uinteger",
                                        "label": "Timeout",
                                        "validate": {
                                            "max": 300,
                                            "min": 1
                                        }
                                    },
                                    {
                                        "name": "shareCookies",
                                        "type": "boolean",
                                        "label": "Share cookies with other HTTP modules",
                                        "required": true
                                    },
                                    {
                                        "name": "ca",
                                        "type": "cert",
                                        "label": "Self-signed certificate"
                                    },
                                    {
                                        "name": "rejectUnauthorized",
                                        "type": "boolean",
                                        "label": "Reject connections that are using unverified (self-signed) certificates",
                                        "required": true
                                    },
                                    {
                                        "name": "followRedirect",
                                        "type": "boolean",
                                        "label": "Follow redirect",
                                        "required": true
                                    },
                                    {
                                        "name": "useQuerystring",
                                        "type": "boolean",
                                        "label": "Disable serialization of multiple same query string keys as arrays",
                                        "required": true
                                    },
                                    {
                                        "name": "gzip",
                                        "type": "boolean",
                                        "label": "Request compressed content",
                                        "required": true
                                    },
                                    {
                                        "name": "useMtls",
                                        "type": "boolean",
                                        "label": "Use Mutual TLS",
                                        "required": true
                                    },
                                    {
                                        "name": "contentType",
                                        "type": "select",
                                        "label": "Content type",
                                        "validate": {
                                            "enum": [
                                                "text/plain",
                                                "application/json",
                                                "application/xml",
                                                "text/xml",
                                                "text/html",
                                                "custom"
                                            ]
                                        }
                                    },
                                    {
                                        "name": "data",
                                        "type": "buffer",
                                        "label": "Request content"
                                    },
                                    {
                                        "name": "followAllRedirects",
                                        "type": "boolean",
                                        "label": "Follow all redirect",
                                        "required": true
                                    }
                                ]
                            }
                        }
                    ]
                }
            ]
        }
    ],
    "metadata": {
        "instant": true,
        "version": 1,
        "scenario": {
            "roundtrips": 1,
            "maxErrors": 3,
            "autoCommit": true,
            "autoCommitTriggerLast": true,
            "sequential": false,
            "slots": null,
            "confidential": false,
            "dataloss": false,
            "dlq": false,
            "freshVariables": false
        },
        "designer": {
            "orphans": []
        },
        "zone": "eu2.make.com"
    }
}