What part don't you know how to do? For writing to influx there are influxdb nodes, search the node red flows web site.