@SuperNinja I'm afraid I didn't keep it.
On the other hand, linking actuators to sensors was (and still is) very straightforward. Most flows dealt with voice recognition, which has become a lot easier to implement nowadays.
Seems that the problem was that influxdb always configures the field type the first time a series is accessed.
I thought that the value was something like a "variant" and would eat anything I throw at it. So when I altered the data types in the flow, the db refused to save.
A drop and re create solved the problem.
I reply to myself, I succeeded to make it work.
The \n was missing in the payload before sending it back to the gateway.
This took me months to see this...
Works like a charm now, I just need to implement the inclusion feature in NodeRED.