Programmatically sync multiple instances to master instance of NR

Hi

I am working have master client set up for Dev stream.
Master has all flows which go to prioduction including flows which users are not allowed to edit.
Client has only those flows which user can edit/create on his own.

On client NR instance - user creates his flows and then using a combination of NR Dashboard and NR APIs - we push them to master instance.
When user wants to edit an existing flow - he pulls them from master - again using a combination of NR Dashboard and NR APIs.

Challenge : When user creates new flows and pushes them to master - the POST /flow api - recreates the ID of the flow . This creates a situation where the client and master have the same flow with different ID.

Now in the next instance - user has no way of knowing that his flow's id has changed.

  1. He tries to pull it - and since that ID has changed in master - it gets imported on his client instance.
  2. He updates the flow and when trying to push for update - it fails since ID is different.

Any suggestions - how I can mitigate the situation such that my IDs from client to master get maintained for new flows as well.

Thanks in advance.

Maybe it is time to look at flowfuse?

Does flowfuse mitigate this ? How ?

Though a combination of cloud and remote instances, pipelines, device groups, snapshots and disabling the editor.

FlowFuse has lots of convenience features for managing your node-red instances.