{
  "name": "My workflow",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "chatbot",
        "responseMode": "responseNode",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        0
      ],
      "id": "beb6afaf-f369-4724-82e0-798a6bcaa3f1",
      "name": "Webhook"
    },
    {
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 3
                },
                "conditions": [
                  {
                    "leftValue": "={{ $json.body.message }}",
                    "rightValue": "Suporte T\u00e9cnico",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "id": "ecfcd3ce-4a30-4dc8-ae58-4e083aa1b378"
                  }
                ],
                "combinator": "and"
              }
            },
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 3
                },
                "conditions": [
                  {
                    "id": "bce4a2ff-d732-4236-97cb-427dea96b1b5",
                    "leftValue": "={{ $json.body.message }}",
                    "rightValue": "Financeiro",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ],
                "combinator": "and"
              }
            },
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 3
                },
                "conditions": [
                  {
                    "id": "05bb6ded-59a3-422a-a659-b08108e12e33",
                    "leftValue": "={{ $json.body.message }}",
                    "rightValue": "Vendas",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ],
                "combinator": "and"
              }
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.switch",
      "typeVersion": 3.4,
      "position": [
        192,
        16
      ],
      "id": "d248689e-419c-4cdb-9d91-e9fcc2005d5c",
      "name": "Switch"
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "{ \"response\": \"Vou te encaminhar para o suporte t\u00e9cnico. Pode descrever o problema?\" }",
        "options": {}
      },
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.5,
      "position": [
        400,
        -96
      ],
      "id": "e7c19f23-add2-481e-9f03-c5745914e275",
      "name": "Respond to Webhook"
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "{ \"response\": \"Para assuntos financeiros, como posso te ajudar? Boleto, pagamento ou plano?\" }",
        "options": {}
      },
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.5,
      "position": [
        400,
        16
      ],
      "id": "da2d6427-8e9d-4a9a-baf2-5620c39e084b",
      "name": "Respond to Webhook1"
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "{ \"response\": \"Temos planos a partir de R$79/m\u00eas. Qual regi\u00e3o voc\u00ea est\u00e1 para verificar disponibilidade?\" }",
        "options": {}
      },
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.5,
      "position": [
        400,
        128
      ],
      "id": "066c5266-c4fe-46e5-ba3e-e913a12ad37b",
      "name": "Respond to Webhook2"
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Respond to Webhook1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Respond to Webhook2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": false
  },
  "versionId": "7bc548e2-15d0-498c-a308-98643740502a",
  "id": "F4n4NsT6FcDuj2Dd",
  "tags": []
}