Using Alexa to call a script with a numerical parameter

Dear all,

I have a Set Top Box which I can control using scripts from Alexa via Home Assistant and it works well. Unfortunately I need a separate script for each TV channel, what I would like to do is call a script from Alexa with the channel number as a parameter eg: Alexa TVChannel 21 and Home Assistant sends the command to change the channel to channel 21.

so there are 2 questions:

  1. Can it be done?

  2. How?

Regards,
Dave.