# What parameters i need to push to addFlow func?

**URL:** <https://discourse.nodered.org/t/what-parameters-i-need-to-push-to-addflow-func/49824>\
**Category:** General\
**Created:** [17 August 2021 08:30 UTC](https://discourse.nodered.org/t/what-parameters-i-need-to-push-to-addflow-func/49824 "2021-08-17T08:30:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snoz3f](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@Snoz3f](https://discourse.nodered.org/u/Snoz3f)\
**Post date:** [17 August 2021 08:30 UTC](https://discourse.nodered.org/t/what-parameters-i-need-to-push-to-addflow-func/49824/1 "2021-08-17T08:30:58Z")

</div>

Hello. Can you explain please what parameters i need to push in this function. I checked documentation but it does not contain a normal explanation

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [17 August 2021 08:59 UTC](https://discourse.nodered.org/t/what-parameters-i-need-to-push-to-addflow-func/49824/2 "2021-08-17T08:59:40Z")

</div>

Hi @Snoz3f

can you be more specific? Which `addFlow` function are you referring to?

---

<div class="post-metadata">

**Author:** ![Snoz3f](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@Snoz3f](https://discourse.nodered.org/u/Snoz3f)\
**Post date:** [17 August 2021 09:00 UTC](https://discourse.nodered.org/t/what-parameters-i-need-to-push-to-addflow-func/49824/3 "2021-08-17T09:00:49Z")

</div>

[https://nodered.org/docs/api/modules/v/1.3/@node-red\_runtime\_flows.html#.addFlow](https://nodered.org/docs/api/modules/v/1.3/@node-red_runtime_flows.html#.addFlow)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [17 August 2021 09:13 UTC](https://discourse.nodered.org/t/what-parameters-i-need-to-push-to-addflow-func/49824/4 "2021-08-17T09:13:16Z")

</div>

The `flow` argument is the same as the body you would pass to the `/flow` admin end point as described here:

[https://nodered.org/docs/api/admin/methods/post/flow/](https://nodered.org/docs/api/admin/methods/post/flow/)

---

<div class="post-metadata">

**Author:** ![Snoz3f](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@Snoz3f](https://discourse.nodered.org/u/Snoz3f)\
**Post date:** [17 August 2021 10:49 UTC](https://discourse.nodered.org/t/what-parameters-i-need-to-push-to-addflow-func/49824/5 "2021-08-17T10:49:59Z")

</div>

Can you show me example please?

---

<div class="post-metadata">

**Author:** ![Snoz3f](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@Snoz3f](https://discourse.nodered.org/u/Snoz3f)\
**Post date:** [17 August 2021 12:20 UTC](https://discourse.nodered.org/t/what-parameters-i-need-to-push-to-addflow-func/49824/6 "2021-08-17T12:20:29Z")

</div>

This func need user parameter what is this? What need i put there?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 October 2021 12:20 UTC](https://discourse.nodered.org/t/what-parameters-i-need-to-push-to-addflow-func/49824/7 "2021-10-16T12:20:57Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
