You are using home assistant nodes and have configured each node to perform some action, correct ?
The information in the field names in the call-service node can be set via another node (inject, change, function, etc).
read/watch the documentation of node-red.
Your flow can be reduced to 3 nodes.