How to add information ( username, birthday, date...) to mongodb from function of node-red. Pls help me

I don't know how about add information to mongodb. Help me

Hello Anh,

What Mongodb node have you tried ?

I used the node-red-node-mongodb (node) - Node-RED set of nodes with success.
(which is the most recently updated)

You just send a msg.payload with the collection Document to a mongodb out node set to

image

and thats it :wink:

The nodes Help file explains everything in detail.

if you have any problem, share the flow of what you have tried so we can try to help further