# Access flows json in a custom node

**URL:** <https://discourse.nodered.org/t/access-flows-json-in-a-custom-node/31477>\
**Category:** General\
**Created:** [12 August 2020 13:21 UTC](https://discourse.nodered.org/t/access-flows-json-in-a-custom-node/31477 "2020-08-12T13:21:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavithra\_nayak](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@Pavithra\_nayak](https://discourse.nodered.org/u/Pavithra_nayak)\
**Post date:** [12 August 2020 13:21 UTC](https://discourse.nodered.org/t/access-flows-json-in-a-custom-node/31477/1 "2020-08-12T13:21:52Z")

</div>

Hi,

I want to access flow's json in a custom node. This json needs to be posted to different server. Could you please help me.

---

<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:** [12 August 2020 14:20 UTC](https://discourse.nodered.org/t/access-flows-json-in-a-custom-node/31477/2 "2020-08-12T14:20:46Z")

</div>

One of the principles of flow based programing is that nodes should be independent of each other and not need to know about other nodes.. The admin api is there for you to use to get and manipulate the flow if you need to.

---

<div class="post-metadata">

**Author:** ![Pavithra\_nayak](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@Pavithra\_nayak](https://discourse.nodered.org/u/Pavithra_nayak)\
**Post date:** [13 August 2020 04:02 UTC](https://discourse.nodered.org/t/access-flows-json-in-a-custom-node/31477/3 "2020-08-13T04:02:09Z")

</div>

Thanks for the info.  
My requirement is to access flow json, once the flow is successfully deployed. What will be the ideal way to achieve this?

---

<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:** [13 August 2020 06:58 UTC](https://discourse.nodered.org/t/access-flows-json-in-a-custom-node/31477/4 "2020-08-13T06:58:17Z")

</div>

That is what the admin api is for.

---

<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:** [12 October 2020 06:58 UTC](https://discourse.nodered.org/t/access-flows-json-in-a-custom-node/31477/5 "2020-10-12T06:58:19Z")

</div>

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