More values in switch (in the same operation)

hey, sorry to ask this but i am a programming noob and new to this!
is there a way to have more then one value in the same operation in a switch?
i use n8n to look at my google drive and let me know if others adds some files in som folders, and now i made 2 operations for it to look in 2 folders they go to the same output, and the rest go to fallback, ware i catch them later on, but can i make one operation and set it to Contains? and if i can how do i format it?

hope you can help and sorry for the bad english i am danish,

Welcome to the community @gettic

The example below should do it.

{
  "nodes": [
    {
      "parameters": {},
      "name": "Start",
      "type": "n8n-nodes-base.start",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "value1": "={{$node[\"Function\"].json[\"fileId\"]}}",
        "rules": {
          "rules": [
            {
              "operation": "equal",
              "value2": 1
            },
            {
              "operation": "equal",
              "value2": 2
            }
          ]
        }
      },
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "typeVersion": 1,
      "position": [
        790,
        300
      ]
    },
    {
      "parameters": {
        "functionCode": "return [\n  {\n    json: { \n      fileId: 1\n    }\n  },\n    {\n    json: { \n      fileId: 2\n    }\n  }\n]"
      },
      "name": "Function",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        500,
        300
      ]
    }
  ],
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "Function",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

hey thanks for making that for me, but to be honest i dont even know ware to put that code :confused:
gonna try and show that to my programmer friend when he gets online,

Hey @gettic!

You can copy the code shared above and paste it into the n8n Editor UI. Let me know if you are still facing issues.