Unfortunately, a Custom HTML Prompt can't trigger a macro and receive a response - not even via AppleScript.
HOWEVER, I have a reasonably easy solution, which I'm writing up right now. But here's the gist:
I'll post a complete example later this morning, which includes an asynchronous method so you can "await" the response.
1 Like