Flow list page and flow template?

Hello everyone, I am here to ask for some help.
This is my flow code, i named the flow "greeting flow":

[{"id":"fcc45e0f.e7bde","type":"http in","z":"6308600e.e18bd","name":"","url":"/hello","method":"get","upload":false,"swaggerDoc":"","x":280,"y":240,"wires":[["7d0297e1.fc7a18"]]},{"id":"7d0297e1.fc7a18","type":"template","z":"6308600e.e18bd","name":"page","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<html>\n    <head></head>\n    <body>\n        <h1>Hello Tommy!</h1>\n    </body>\n</html>","x":430,"y":240,"wires":[["9bbee035.55136"]]},{"id":"9bbee035.55136","type":"http response","z":"6308600e.e18bd","name":"","statusCode":"","headers":{},"x":570,"y":240,"wires":[]}];

The result of "greeting flow":
image

It's all good.

Here is what i need:

1, I would like have a web ui page, a list of all my flow,then i can easy to manage the flows.

2, I hope every flow (show in the list page) can edit the variable in the flow list (no need open dialog editor to edit the value one by one if i have a bunch of "greeting flow" )

when i click the "edit variable" button it would popup a dialog for editing variable values.

If i could set "Tommy" like a variable,just like this in node editor:

(sorry for the jpg link , i can't upload more image because i'm a new user :slight_smile: )

When i change the user_name to "Johnson" and redeploy the flow , it would show "Hello Johnson !".

Actually i think my question is like a "template feature" ,when i create a flow template, i set some variable for the template,the template like a parent flow, and then i deployed a bunch of child flow from parent flow but those child flow's variable are diffrent , and i can run it using by flow list page("run flow " button...).

Appreciate any help,
BR,
Will

"run flow" - flows are always running and do stuff based on their input ?

Depending on what you want to "run", there are many possibilities.
You can create the table/forms with the dashboard nodes, click button and the message arrives in node-red and perform some action based on that message.

@bakman2

maybe change "run flow" - >"redeploy" :rofl:

when you say "deploy"/"redeploy", does that mean you would like the flow to run with a different input?

@afelix
Yes ! that's what i want !
please let me explain:
assume there are Flow A and duplicate three flow(Flow A1,Flow A2,Flow A3...) from Flow A,
next i will configure input or parameter one by one for flow A1,A2,A3,
finally , redeploy all flows...

You don't need to "redeploy" all flows. Just use context/flow variables.

ie. on your dashboard, input set to "x", change the context variable to "x" and in your flows you do something based on the value of "x"

Is there some way to modify context variable by http request?
I have no idea after read the API document -> https://nodered.org/docs/api/ :rofl:

API can be used for redeploy, but that won't help you with context.
Read the documentation I linked to. And look further in the cookbook/guide how to work with the http-in/http-out nodes.

Thanks ! :blush: