# Choosing a Random Node output and continue

**URL:** <https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894>\
**Category:** Built with n8n\
**Created:** [May 5, 2023, 3:00am UTC](https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894 "2023-05-05T03:00:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcnaveen](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mcnaveen/32/53924_2.png) [@mcnaveen](https://community.n8n.io/u/mcnaveen)\
**Post date:** [May 5, 2023, 3:00am UTC](https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894/1 "2023-05-05T03:00:29Z")

</div>

Since I started using n8n in 2020, One thing I missed is a randomizer node. Which takes two inputs and picks one from it. So the workflow would continue based on the output.

There are lots of ways you can do that. But a Node would be pretty useful.

This is what I mean.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/5/a/5add2fbc1ea2948b7bc460f1521dd912707cf2ba.png)

So I built a Randomizer Node which does the exact same thing. It’s a simple thing, yet it’s pretty useful like in the above cases.

This can be installed as a community node.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/6/c/6c73fe7b3f66d701ebf232bc585c9fd4502c2d7e.png)

Here enter “ **n8n-nodes-randomizer** ” and click install. Once done you can try searching for a Randomizer Node in the nodes tab.

[https://www.npmjs.com/package/n8n-nodes-randomizer](https://www.npmjs.com/package/n8n-nodes-randomizer)

---

<div class="post-metadata">

**Author:** ![BramKn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/bramkn/32/11894_2.png) [@BramKn](https://community.n8n.io/u/BramKn)\
**Post date:** [May 5, 2023, 5:49am UTC](https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894/2 "2023-05-05T05:49:19Z")

</div>

Hi @mcnaveen

Could you give an example of where you could use a node like this?  
Seems like a good idea to me but have no clue when to use it. 🙂

---

<div class="post-metadata">

**Author:** ![mcnaveen](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mcnaveen/32/53924_2.png) [@mcnaveen](https://community.n8n.io/u/mcnaveen)\
**Post date:** [May 5, 2023, 6:30am UTC](https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894/3 "2023-05-05T06:30:36Z")

</div>

Hi, @BramKn

I have a workflow where I have to run different actions (Randomly)

Each and every time, I have to do like this.

- Have to generate a number between x-x
- Check if it’s larger or smaller, again some check.

With the Randomizer node, All I have to do is add a Randomizer Node and it helps me with the flow without this much of complexity

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/8/a/8a81339fbbe25c21d40e20bce7c85d408e339308.png)

---

<div class="post-metadata">

**Author:** ![BramKn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/bramkn/32/11894_2.png) [@BramKn](https://community.n8n.io/u/BramKn)\
**Post date:** [May 5, 2023, 6:40am UTC](https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894/4 "2023-05-05T06:40:45Z")

</div>

Hi @mcnaveen

Could you explain why you have to run different actions randomly? I cannot think of a usecase where that would be needed in a production flow.

---

<div class="post-metadata">

**Author:** ![mcnaveen](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mcnaveen/32/53924_2.png) [@mcnaveen](https://community.n8n.io/u/mcnaveen)\
**Post date:** [May 5, 2023, 6:54am UTC](https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894/5 "2023-05-05T06:54:25Z")

</div>

I run a few automation blogs. Every flow has a different post ID pulling data from a different source and posting it.

Here is another example: [Randomizer : Manychat Help](https://support.manychat.com/support/solutions/articles/36000080590-randomizer)

---

<div class="post-metadata">

**Author:** ![BramKn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/bramkn/32/11894_2.png) [@BramKn](https://community.n8n.io/u/BramKn)\
**Post date:** [May 5, 2023, 7:04am UTC](https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894/6 "2023-05-05T07:04:24Z")

</div>

Ah, that make sense. I never really deal with these kinds of things. 😅

---

<div class="post-metadata">

**Author:** ![mcnaveen](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mcnaveen/32/53924_2.png) [@mcnaveen](https://community.n8n.io/u/mcnaveen)\
**Post date:** [May 5, 2023, 7:07am UTC](https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894/7 "2023-05-05T07:07:25Z")

</div>

Haha, Useful for me instead of dealing with Multiple Code blocks and IF Blocks. Just have to drop the randomizer node from now on.

---

<div class="post-metadata">

**Author:** ![ViniciusFolem](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/viniciusfolem/32/26037_2.png) [@ViniciusFolem](https://community.n8n.io/u/ViniciusFolem)\
**Post date:** [June 7, 2023, 2:07am UTC](https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894/8 "2023-06-07T02:07:50Z")

</div>

Could you help me how do I connect manychat on n8n?

---

<div class="post-metadata">

**Author:** ![mcnaveen](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mcnaveen/32/53924_2.png) [@mcnaveen](https://community.n8n.io/u/mcnaveen)\
**Post date:** [June 7, 2023, 2:09am UTC](https://community.n8n.io/t/choosing-a-random-node-output-and-continue/25894/9 "2023-06-07T02:09:27Z")

</div>

Hi @ViniciusFolem Welcome to the n8n community 🎉

Please create a new thread and post your questions. Explain what do you want to achieve and tell what you have done so far.

Thanks
