Alexa Dialog/Conversation with Home Assistant

Hello together,

i’m planning to execute a script in a dialog with Alexa like the following:

Question: “Hey Alexa, please add the Movie Spiderman to IMDB”
HomeAssistant parses “Spiderman” out of the phrase and send it to my script in the background.
The Script gives as a return value: Its added or I can not find.
Alexa is replying with the return value of the script.

Can someone tell me how i can do this, perhaps with an example?

Thanks in advance, pls be aware of that i’m pretty new in that field.

Greetings

Daniel