Access flows json in a custom node

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.

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.

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?

That is what the admin api is for.