{
    "name": "Demo - Slack AI Digital Marketing Copywriter",
    "flow": [
        {
            "id": 31,
            "module": "gateway:CustomWebHook",
            "version": 1,
            "parameters": {
                "hook": 1046982,
                "maxResults": 1
            },
            "mapper": {},
            "metadata": {
                "designer": {
                    "x": 313,
                    "y": 306
                },
                "restore": {
                    "parameters": {
                        "hook": {
                            "data": {
                                "editable": "true"
                            },
                            "label": "Demo - Product Manual & Staff Training Chatbot"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "hook",
                        "type": "hook:gateway-webhook",
                        "label": "Webhook",
                        "required": true
                    },
                    {
                        "name": "maxResults",
                        "type": "number",
                        "label": "Maximum number of results"
                    }
                ]
            }
        },
        {
            "id": 2,
            "module": "util:SetVariable2",
            "version": 1,
            "parameters": {},
            "mapper": {
                "name": "Slack API OAuth Token",
                "scope": "roundtrip",
                "value": "xoxb-..."
            },
            "metadata": {
                "designer": {
                    "x": 308,
                    "y": 24,
                    "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": 3,
            "module": "builtin:BasicRouter",
            "version": 1,
            "mapper": null,
            "metadata": {
                "designer": {
                    "x": 629,
                    "y": 14
                }
            },
            "routes": [
                {
                    "flow": [
                        {
                            "id": 26,
                            "module": "gateway:WebhookRespond",
                            "version": 1,
                            "parameters": {},
                            "filter": {
                                "name": "",
                                "conditions": [
                                    [
                                        {
                                            "a": "{{31.command}}",
                                            "b": "/write",
                                            "o": "text:equal"
                                        }
                                    ]
                                ]
                            },
                            "mapper": {
                                "body": "Writing...",
                                "status": "200",
                                "headers": []
                            },
                            "metadata": {
                                "designer": {
                                    "x": 633,
                                    "y": 301
                                },
                                "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": 33,
                            "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 must analyse the input text and determine what the task is. You must also extract the thread ID.\n\nYou must output in JSON format as follows:\n\n{\n\"Task\":\"\",\n\"Thread ID\":\"\"\n}\n\nYou must only choose between \"ad copy\", \"email copy\" or \"other\" for the task output.\n\nIf there is no Thread ID then leave it blank."
                                    },
                                    {
                                        "role": "user",
                                        "content": "Write meta ad copy for RJ Fitness. Here is the thread id: thread_efeiu473292359739u9fu49.\n\nYou must make sure it is snappy and engaging. RJ Fitness is a gym and they are offering free first month memberships to customers."
                                    },
                                    {
                                        "role": "assistant",
                                        "content": "{\n\"Task\":\"ad copy\",\n\"Thread ID\":\"thread_efeiu473292359739u9fu49\"\n}"
                                    },
                                    {
                                        "role": "user",
                                        "content": "{{31.text}}"
                                    }
                                ],
                                "max_tokens": "0",
                                "temperature": "0.1",
                                "n_completions": "1",
                                "response_format": "json_object",
                                "parseJSONResponse": true
                            },
                            "metadata": {
                                "designer": {
                                    "x": 933,
                                    "y": 301,
                                    "name": "Analyse Task"
                                },
                                "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
                            },
                            "onerror": [
                                {
                                    "id": 39,
                                    "module": "builtin:Break",
                                    "version": 1,
                                    "metadata": {
                                        "designer": {
                                            "x": 931,
                                            "y": 12
                                        }
                                    }
                                }
                            ]
                        },
                        {
                            "id": 32,
                            "module": "builtin:BasicRouter",
                            "version": 1,
                            "parameters": {
                                "else": 2
                            },
                            "mapper": null,
                            "metadata": {
                                "designer": {
                                    "x": 1219,
                                    "y": 302
                                }
                            },
                            "routes": [
                                {
                                    "flow": [
                                        {
                                            "id": 27,
                                            "module": "openai-gpt-3:messageAssistantAdvanced",
                                            "version": 1,
                                            "parameters": {
                                                "__IMTCONN__": 2356104
                                            },
                                            "filter": {
                                                "name": "Ad Copy",
                                                "conditions": [
                                                    [
                                                        {
                                                            "a": "{{33.result.Task}}",
                                                            "b": "ad copy",
                                                            "o": "text:contain:ci"
                                                        }
                                                    ]
                                                ]
                                            },
                                            "mapper": {
                                                "role": "user",
                                                "model": "gpt-4o",
                                                "top_p": "1",
                                                "message": "{{31.text}}",
                                                "threadId": "{{33.result.`Thread ID`}}",
                                                "assistantId": "asst_sgRqaMwihC4xk2Zm6jp4t9Rc",
                                                "temperature": "0.1",
                                                "instructions": "# Role\n\nYou are an expert at writing Meta Ad copy for health and fitness businesses. You have over 20 years experience.\n\n# Context\n\nYou work for RJ Media which is a premium digital marketing agency. We provide Digital Marketing services to health and fitness businesses across the globe.\n\n# Task\n\nYou must output Meta Ad Copy.\n\nYou must follow the input command.\n\n# Rules\n\nYou must follow a similar format to the provided examples.\n\n# Examples\n\n## Example 1\n\nCalling all PARENTS IN NORWICH...👊 \n\nFree 2-Week Kung Fu Trial for All Ages! 👊\n\n👊 Looking for an exciting new activity for your child?\n\n👊 Boost your child's confidence and build life skills with our fun martial arts program!\n\n👊 We have 10 x FREE 2-Week Kung Fu Passes to give away!\n\n💥 No obligation\n💥 Completely free of charge\n💥 Limited spots available - only 10 passes up for grabs!\n\nClasses are available multiple days per week to fit your schedule.\n\nDon't miss out! Click to get the offer and secure your spot. \n\nBe quick - they go fast!\n\n## Example 2\n\nReady to Teach Yoga? Limited Seats for Our November Training! 🧘‍♀\n\nGet certified with our 200-Hour Yoga Teacher Training in the serene beauty of South India. Learn from the best, enhance your skills, and start sharing the gift of yoga with others. Whether you're aiming to teach or deepen your practice, this training is perfect for you!💯\n\n⏳ Hurry, limited seats available—book now!\n\nFill the form below to Register👇🏻\n\n## Example 3\n\n🚨 Drop Body Fat & Build Muscle in Less Than 12 Weeks! 🚨\n\nReady to transform your body and get in the best shape of your life? 💪\n\nAt RJ Fitness, we’ve helped over 500+ clients shred fat, build muscle, and achieve the body of their dreams. \n\nOur tailor-made coaching plans are designed to get you results – fast!\n\nWhat We Offer >>>\n\n✅ Personalised Training & Nutrition Plans\n✅ Weekly 1:1 Video Check-ins\n✅ 24/7 Support via WhatsApp\n✅ Access to RJ Fitness App & Community\n\nNo fluff, just RESULTS. \n\nWhether you’re aiming for fat loss, muscle gain, or building lifelong healthy habits – we’ve got you covered.\n\nOnly 7 Spaces Available! Click to apply now! 💪",
                                                "response_format": "text"
                                            },
                                            "metadata": {
                                                "designer": {
                                                    "x": 1533,
                                                    "y": 1,
                                                    "name": "Ad Copy AI Assistant"
                                                },
                                                "restore": {
                                                    "expect": {
                                                        "role": {
                                                            "label": "User"
                                                        },
                                                        "model": {
                                                            "mode": "chose",
                                                            "label": "gpt-4o (system)"
                                                        },
                                                        "tools": {
                                                            "mode": "chose",
                                                            "collapsed": true
                                                        },
                                                        "image_urls": {
                                                            "mode": "chose",
                                                            "collapsed": true
                                                        },
                                                        "assistantId": {
                                                            "mode": "chose",
                                                            "label": "Demo - Ad Copy AI Assistant (gpt-4o)",
                                                            "nested": []
                                                        },
                                                        "image_files": {
                                                            "mode": "chose",
                                                            "collapsed": true
                                                        },
                                                        "tool_choice": {
                                                            "mode": "chose",
                                                            "label": "Empty",
                                                            "collapsed": true
                                                        },
                                                        "response_format": {
                                                            "mode": "chose",
                                                            "label": "Text"
                                                        },
                                                        "max_prompt_tokens": {
                                                            "collapsed": true
                                                        },
                                                        "truncation_strategy": {
                                                            "mode": "chose",
                                                            "label": "Empty"
                                                        },
                                                        "file_search_resources": {
                                                            "mode": "chose",
                                                            "collapsed": true
                                                        },
                                                        "max_completion_tokens": {
                                                            "collapsed": true
                                                        },
                                                        "code_interpreter_resources": {
                                                            "mode": "chose",
                                                            "collapsed": true
                                                        }
                                                    },
                                                    "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": "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",
                                                        "multiple": true,
                                                        "validate": {
                                                            "maxItems": 20
                                                        }
                                                    },
                                                    {
                                                        "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",
                                                        "spec": {
                                                            "name": "value",
                                                            "type": "url",
                                                            "label": "Image URL",
                                                            "required": true
                                                        },
                                                        "type": "array",
                                                        "label": "Image URLs"
                                                    }
                                                ],
                                                "advanced": true
                                            },
                                            "onerror": [
                                                {
                                                    "id": 40,
                                                    "module": "builtin:Break",
                                                    "version": 1,
                                                    "parameters": {},
                                                    "mapper": {
                                                        "count": "3",
                                                        "retry": true,
                                                        "interval": "15"
                                                    },
                                                    "metadata": {
                                                        "designer": {
                                                            "x": 1218,
                                                            "y": 6
                                                        },
                                                        "restore": {
                                                            "expect": {
                                                                "retry": {
                                                                    "mode": "chose"
                                                                }
                                                            }
                                                        },
                                                        "expect": [
                                                            {
                                                                "name": "retry",
                                                                "type": "boolean",
                                                                "label": "Automatically complete execution",
                                                                "required": true
                                                            },
                                                            {
                                                                "name": "count",
                                                                "type": "uinteger",
                                                                "label": "Number of attempts",
                                                                "required": true,
                                                                "validate": {
                                                                    "max": 10000,
                                                                    "min": 1
                                                                }
                                                            },
                                                            {
                                                                "name": "interval",
                                                                "type": "uinteger",
                                                                "label": "Interval between attempts",
                                                                "required": true,
                                                                "validate": {
                                                                    "max": 44640,
                                                                    "min": 1
                                                                }
                                                            }
                                                        ]
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "id": 30,
                                            "module": "http:ActionSendData",
                                            "version": 3,
                                            "parameters": {
                                                "handleErrors": true,
                                                "useNewZLibDeCompress": true
                                            },
                                            "mapper": {
                                                "ca": "",
                                                "qs": [],
                                                "url": "https://slack.com/api/chat.postMessage",
                                                "data": "{\n\"channel\":\"{{31.channel_id}}\",\n\"text\":\"Thread ID: {{27.thread_id}}\\n\\n{{27.result}}\"\n}",
                                                "gzip": true,
                                                "method": "post",
                                                "headers": [
                                                    {
                                                        "name": "Authorization",
                                                        "value": "Bearer {{2.`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": 1832,
                                                    "y": -3,
                                                    "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": 38,
                                            "module": "openai-gpt-3:messageAssistantAdvanced",
                                            "version": 1,
                                            "parameters": {
                                                "__IMTCONN__": 2356104
                                            },
                                            "filter": {
                                                "name": "Email Copy",
                                                "conditions": [
                                                    [
                                                        {
                                                            "a": "{{33.result.Task}}",
                                                            "b": "email copy",
                                                            "o": "text:contain:ci"
                                                        }
                                                    ]
                                                ]
                                            },
                                            "mapper": {
                                                "role": "user",
                                                "model": "gpt-4o",
                                                "top_p": "1",
                                                "message": "{{31.text}}",
                                                "threadId": "{{33.result.`Thread ID`}}",
                                                "assistantId": "asst_sgRqaMwihC4xk2Zm6jp4t9Rc",
                                                "temperature": "0.1",
                                                "instructions": "# Role\n\nYou are an expert at writing Meta Ad copy for health and fitness businesses. You have over 20 years experience.\n\n# Context\n\nYou work for RJ Media which is a premium digital marketing agency. We provide Digital Marketing services to health and fitness businesses across the globe.\n\n# Task\n\nYou must output Meta Ad Copy.\n\nYou must follow the input command.\n\n# Rules\n\nYou must follow a similar format to the provided examples.\n\n# Examples\n\n## Example 1\n\nCalling all PARENTS IN NORWICH...👊 \n\nFree 2-Week Kung Fu Trial for All Ages! 👊\n\n👊 Looking for an exciting new activity for your child?\n\n👊 Boost your child's confidence and build life skills with our fun martial arts program!\n\n👊 We have 10 x FREE 2-Week Kung Fu Passes to give away!\n\n💥 No obligation\n💥 Completely free of charge\n💥 Limited spots available - only 10 passes up for grabs!\n\nClasses are available multiple days per week to fit your schedule.\n\nDon't miss out! Click to get the offer and secure your spot. \n\nBe quick - they go fast!\n\n## Example 2\n\nReady to Teach Yoga? Limited Seats for Our November Training! 🧘‍♀\n\nGet certified with our 200-Hour Yoga Teacher Training in the serene beauty of South India. Learn from the best, enhance your skills, and start sharing the gift of yoga with others. Whether you're aiming to teach or deepen your practice, this training is perfect for you!💯\n\n⏳ Hurry, limited seats available—book now!\n\nFill the form below to Register👇🏻\n\n## Example 3\n\n🚨 Drop Body Fat & Build Muscle in Less Than 12 Weeks! 🚨\n\nReady to transform your body and get in the best shape of your life? 💪\n\nAt RJ Fitness, we’ve helped over 500+ clients shred fat, build muscle, and achieve the body of their dreams. \n\nOur tailor-made coaching plans are designed to get you results – fast!\n\nWhat We Offer >>>\n\n✅ Personalised Training & Nutrition Plans\n✅ Weekly 1:1 Video Check-ins\n✅ 24/7 Support via WhatsApp\n✅ Access to RJ Fitness App & Community\n\nNo fluff, just RESULTS. \n\nWhether you’re aiming for fat loss, muscle gain, or building lifelong healthy habits – we’ve got you covered.\n\nOnly 7 Spaces Available! Click to apply now! 💪",
                                                "response_format": "text"
                                            },
                                            "metadata": {
                                                "designer": {
                                                    "x": 1533,
                                                    "y": 301,
                                                    "name": "Email Copy AI Assistant"
                                                },
                                                "restore": {
                                                    "expect": {
                                                        "role": {
                                                            "label": "User"
                                                        },
                                                        "model": {
                                                            "mode": "chose",
                                                            "label": "gpt-4o (system)"
                                                        },
                                                        "tools": {
                                                            "mode": "chose",
                                                            "collapsed": true
                                                        },
                                                        "image_urls": {
                                                            "mode": "chose",
                                                            "collapsed": true
                                                        },
                                                        "assistantId": {
                                                            "mode": "chose",
                                                            "label": "Demo - Ad Copy AI Assistant (gpt-4o)",
                                                            "nested": []
                                                        },
                                                        "image_files": {
                                                            "mode": "chose",
                                                            "collapsed": true
                                                        },
                                                        "tool_choice": {
                                                            "mode": "chose",
                                                            "label": "Empty",
                                                            "collapsed": true
                                                        },
                                                        "response_format": {
                                                            "mode": "chose",
                                                            "label": "Text"
                                                        },
                                                        "max_prompt_tokens": {
                                                            "collapsed": true
                                                        },
                                                        "truncation_strategy": {
                                                            "mode": "chose",
                                                            "label": "Empty"
                                                        },
                                                        "file_search_resources": {
                                                            "mode": "chose",
                                                            "collapsed": true
                                                        },
                                                        "max_completion_tokens": {
                                                            "collapsed": true
                                                        },
                                                        "code_interpreter_resources": {
                                                            "mode": "chose",
                                                            "collapsed": true
                                                        }
                                                    },
                                                    "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": "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",
                                                        "multiple": true,
                                                        "validate": {
                                                            "maxItems": 20
                                                        }
                                                    },
                                                    {
                                                        "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",
                                                        "spec": {
                                                            "name": "value",
                                                            "type": "url",
                                                            "label": "Image URL",
                                                            "required": true
                                                        },
                                                        "type": "array",
                                                        "label": "Image URLs"
                                                    }
                                                ],
                                                "advanced": true
                                            },
                                            "onerror": [
                                                {
                                                    "id": 41,
                                                    "module": "builtin:Break",
                                                    "version": 1,
                                                    "parameters": {},
                                                    "mapper": {
                                                        "count": "3",
                                                        "retry": true,
                                                        "interval": "15"
                                                    },
                                                    "metadata": {
                                                        "designer": {
                                                            "x": 1540,
                                                            "y": 603
                                                        },
                                                        "restore": {
                                                            "expect": {
                                                                "retry": {
                                                                    "mode": "chose"
                                                                }
                                                            }
                                                        },
                                                        "expect": [
                                                            {
                                                                "name": "retry",
                                                                "type": "boolean",
                                                                "label": "Automatically complete execution",
                                                                "required": true
                                                            },
                                                            {
                                                                "name": "count",
                                                                "type": "uinteger",
                                                                "label": "Number of attempts",
                                                                "required": true,
                                                                "validate": {
                                                                    "max": 10000,
                                                                    "min": 1
                                                                }
                                                            },
                                                            {
                                                                "name": "interval",
                                                                "type": "uinteger",
                                                                "label": "Interval between attempts",
                                                                "required": true,
                                                                "validate": {
                                                                    "max": 44640,
                                                                    "min": 1
                                                                }
                                                            }
                                                        ]
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "id": 35,
                                            "module": "http:ActionSendData",
                                            "version": 3,
                                            "parameters": {
                                                "handleErrors": true,
                                                "useNewZLibDeCompress": true
                                            },
                                            "mapper": {
                                                "ca": "",
                                                "qs": [],
                                                "url": "https://slack.com/api/chat.postMessage",
                                                "data": "{\n\"channel\":\"{{31.channel_id}}\",\n\"text\":\"Thread ID: {{38.thread_id}}\\n\\n{{38.result}}\"\n}",
                                                "gzip": true,
                                                "method": "post",
                                                "headers": [
                                                    {
                                                        "name": "Authorization",
                                                        "value": "Bearer {{2.`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": 1835,
                                                    "y": 296,
                                                    "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": 36,
                                            "module": "http:ActionSendData",
                                            "version": 3,
                                            "parameters": {
                                                "handleErrors": true,
                                                "useNewZLibDeCompress": true
                                            },
                                            "filter": {
                                                "name": "Other",
                                                "conditions": []
                                            },
                                            "mapper": {
                                                "ca": "",
                                                "qs": [],
                                                "url": "https://slack.com/api/chat.postMessage",
                                                "data": "{\n\"channel\":\"{{31.channel_id}}\",\n\"text\":\"Invalid Task\"\n}",
                                                "gzip": true,
                                                "method": "post",
                                                "headers": [
                                                    {
                                                        "name": "Authorization",
                                                        "value": "Bearer {{2.`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": 1219,
                                                    "y": 608,
                                                    "name": "Slack Invalid Task"
                                                },
                                                "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
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "metadata": {
        "instant": true,
        "version": 1,
        "scenario": {
            "roundtrips": 1,
            "maxErrors": 3,
            "autoCommit": true,
            "autoCommitTriggerLast": true,
            "sequential": false,
            "slots": null,
            "confidential": false,
            "dataloss": false,
            "dlq": true,
            "freshVariables": false
        },
        "designer": {
            "orphans": []
        },
        "zone": "eu2.make.com"
    }
}