MySQL to Telegram

Hi all,

I'm using the node-red-node-mysql to fetch data from a database.
This part is working.

I'm getting this data :

msg.payload : array[1]
array[1]
0: object
zoektekst: "Schoorveld Maasbree 233291"

Now I would like to pass this `zoektekst´ data to Telegram, what is the best way? I'm either getting "message.payload.content is empty" or an object is returned in stead of a string.

Kind regards,

Peter Hunt

Hi,

first check out - https://nodered.org/docs/user-guide/messages
hopefully then you will be able to find what you need.
The hint is that the payload is an array so you need one more level to find the path to what you want.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.