Get echo dot device name

I currently have multiple echo dots in the house, and some of my openhab items are exposed using the cloud connector.

I was wondering if its possible to get the device name of the echo dot that is requesting the command sent over to openhab so that i can use that information in a rule? Like create a rule that will only continue if the echo dot is echo dot 1 and not echo dot 2.

thanks in advance.

Are you refering to voice comands ? Have a look at Alexa Voice Command Room Awareness via OH . This describes how to use the LastVoiceCommand channel to identify the device that was used to receive a voice command.
In case you use OH3 it might be necessary to adapt the rules.