The InfluxDB documentation has your answer - but I think that Buckets are an InfluxDB v2 thing and I believe you need to be using Flux and not v1.8 InfluxQL:
Are you using InfluxDB v1 OSS or InfluxDB v3 Cloud?
I believe you must map each database/bucket to its own DBRP. Scroll down towards the middle/end of this article for some potentially helpful info for using Node-RED with InfluxDB v3.
I have been with influxDB since it's release a never moved form 1.x for same reasons. Flux just flummoxed me.
However, I've just started out on QuestDB a timeseries DB. It's SQL based and supports the Influx line protocol which means it's supports schemaless which a must for me.
I used the InfluxDB node to connect to QuestDB to write and it just worked! QuestDB also supports PostgreSQL wire protocol so it's an option but have yet to try this out. It has neat web console which includes charting.
There is a native Grafana data source plugin and my Influx SQL queries only need two small changes to work on QuestDB. One drawback with OS version of QuestDB there is no TLS support so the best I can do is bind the service localhost.
Thanks - unfortunately I'm on Influx 2.6.1. Reading the comments here, I'd actually like to downgrade back to v1 as I found it much easier to wrap my head around. (Time series databases with their sharding, roll-ups, and time window functions is enough to confuse me let alone adding Flux QL on top of those concepts!)