Randomizer

Randomizer node can be very helpful if anybody wants to randomize the group of nodes.

Use Case:

  • Randomize 2 Different HTTP Request nodes.

image

I know this can be done using Functions and IF Node. But this will make the platform more no-code and faster.

Yes, can see how that can be useful for none technical people.

Anyway, till it got implemented there is actually just an IF-Node needed:

{
  "nodes": [
    {
      "parameters": {
        "conditions": {
          "number": [
            {
              "value1": 50,
              "operation": "larger",
              "value2": "={{parseInt(Math.random()*100)}}"
            }
          ]
        }
      },
      "name": "IF",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        468,
        331
      ]
    }
  ],
  "connections": {}
}
1 Like

Any ETA for this?

Sadly not as there are currently a lot of more pressing things on our To-do list. Also esp. because it is already possible without to much work.

1 Like

No Problem @jan