(imported comment written by jgstew)
I’m not sure that relevance substitution will work in the offer text of an action. What you want to query should work using session relevance, but that definitely won’t work in the offer text.
It should be possible to use the RESTAPI to automatically generate separate actions with separate offer text for every relevant machine, but this will cause there to be a huge number of actions, which is bad.