How to enter multiple input

Hi @hacesoft

If you mean you have 2 messages coming in - use a join node, that will deliver the payloads after nth number of payloads have been received.

see : Linking two or more conditions in a function node - syntax? - General - Node-RED Forum (nodered.org)