# Repeat node x times

**URL:** https://discourse.nodered.org/t/repeat-node-x-times/6657
**Category:** General
**Created:** [10 January 2019 12:55 UTC](https://discourse.nodered.org/t/repeat-node-x-times/6657 "2019-01-10T12:55:51Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![IvarMvl](https://avatars.discourse-cdn.com/v4/letter/i/3e96dc/32.png) [@IvarMvl](https://discourse.nodered.org/u/IvarMvl)
#### Post date: [10 January 2019 12:55 UTC](https://discourse.nodered.org/t/repeat-node-x-times/6657/1 "2019-01-10T12:55:51Z")

</div>

hi just asking if there is a way for a signal to go through a nodes first output x amount of time  
and after that go to the second output of the node

thanks in advance,  
I

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [10 January 2019 12:58 UTC](https://discourse.nodered.org/t/repeat-node-x-times/6657/2 "2019-01-10T12:58:43Z")

</div>

what node are you talking about?

---

<div class="post-metadata">

### Author: ![IvarMvl](https://avatars.discourse-cdn.com/v4/letter/i/3e96dc/32.png) [@IvarMvl](https://discourse.nodered.org/u/IvarMvl)
#### Post date: [10 January 2019 13:01 UTC](https://discourse.nodered.org/t/repeat-node-x-times/6657/3 "2019-01-10T13:01:20Z")

</div>

thats the thing i dont know, maybe a function?

I was just asking if the is a way and how.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [10 January 2019 13:41 UTC](https://discourse.nodered.org/t/repeat-node-x-times/6657/4 "2019-01-10T13:41:49Z")

</div>

Sure you can use a function to output to two outputs and have code deciding which to go to  
take a look at [https://nodered.org/docs/writing-functions#multiple-outputs](https://nodered.org/docs/writing-functions#multiple-outputs)

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [10 January 2019 13:44 UTC](https://discourse.nodered.org/t/repeat-node-x-times/6657/5 "2019-01-10T13:44:31Z")

</div>

There is also [https://flows.nodered.org/node/node-red-contrib-repeat](https://flows.nodered.org/node/node-red-contrib-repeat)
