Pass entity name to action node at runtime

Hi,
Is there any way to pass at runtime the entity name to an action node?. I am trying with {{msg.payload}} but it gives error.

Regards