I share my using from Command prompt to Microsoft Flow on "Flow Cookbook" forum.
"Using from Command prompt to Microsoft Flow with PowerShell command"
Now,
I can add a item to SharePoint List from Command prompt,
I can post a message to Microsoft Teams from Command prompt,
I can do something from Command .bat or .cmd.
Regards,
Yoshihiro Kawabata