Keyboard Maestro is not sufficiently main stream that LLMs like ChatGPT have any kind of deep understanding of it, so it tends to hallucinate the gaps.
By all mean feel free to ask ChatGPT how to do something, but expect it to just as likely be wrong as right, and when it is wrong, just ask on the forum where amazingly generous real people with real Keyboard Maestro experience are happy to help.
Doesn't work how? Does it always do the "execute" block, always do the "otherwise" block, throw an error about something?
It looks like you've already done one update, changing the "Select 'Mail'..." menu action to match the new menu item names. The "Activate" Action has picked up on "New" Outlook too, but if you haven't already then try setting the "If" Action to target "Any window title of: TextEdit" and then change it back to target "New" Outlook (you shouldn't need to do that, but it won't hurt to reset).
Not much comfort, but the macro works fine for me on both old and "New" Outlook -- if you do want the same macro to work for both Outlooks then change Go To to ^Go [Tt]o so it matches both lower- and upper-case versions, and the menu item Mail to ^(Em|M)ail.