Dear community.
I have iot devices and they can communicate with azure via webhook ( function app )
I have this scenario, When one of my devices trigger a webhook i want the function app to accossiate the ID that is in the webhook with a user in SQL, meaning this id is stored in sql aswell and refferenced to the user.
There will also be an email address for this user, and all new triggers from the webhook should be emailed to this user. I have managed to setup a function app and it can recive my webhook now i need help with the following.
- What resourced will be needed for me to be able to store this event in to SQL and on trigger send a email to accossiated users. as i know of is an function app that can get the webhook and a sql server, but what would be my next step?
- In the function app i can write code. would best practise to store the new event in sql be to write queries right there?
I dont mind to read tutorial or webhelp etc but in this stage i dont know exactly what i need to accomplis what i want and since there are so overhelmingly much to learn in Azure i wouldent mind some help by choosing what components i need. Then i can start to read about just those.
BR
/Emil