Using NFC tage to control devices remotely

Hi @amali01, your post doesn't say what platform you are using (Android/iOS), if Android, go to this post How-To: Program NFC Tags/Stickers For Automations In Hubitat it will show you how to set up a local end point using rule machine, when you are going through the tutorial, change out local for cloud.

If you must have cloud control, keep in mind security, anyone who gets their hands on the RFID tag will have access to your system.