Feedback Requested - First Script that Calls API and Posts to MS Teams
Looking for feedback regarding my first script. Overall it calls a API, cleans the data a bit and then makes a post to MS Teams.

https://imgur.com/a/5MkAsGu

Anything I'm doing terrible? Something I could do better? More efficient?