Action on post to Discord Webhook

Hello! I was trying to make it so when I press a button on my stream deck, it would make something happen in my Roblox game, even when I wasn’t there. I used IFTTT to detect a webhook sent when a button is pressed, so I have the pressing part set up, but I got stuck on how I would make something happen in Roblox. After some thinking I decided to just make it post a message to a Discord webhook and have ROBLOX detect it.

The real problem now is actually getting the posted message, making an action when it gets the message should be easy enough, but I have little knowledge with Roblox APIs. Any help would be much appreciated, thanks!

Maybe run a discord bot on the Roblox server? Bots can detect messages

Thank you for the help but I already found a way more reliable solution! Here it is if you want to check it out! Triggering Global Actions Without Being in a Server Through the Stream Deck - Resources / Community Tutorials - Developer Forum | Roblox