Using mutate to get a key via a variable

Hi there,
is it possible to get the Mutate node to get a Key via a variable?


Something like this (not working):

In a payload path, no, there is no way to insert a variable into the path. But what you can do is use the {{lookup}} helper to reference a value at a variable path in a template.

So, change your “Move a value” operation to a “Set a new value” operation:

  • Value Template: {{lookup (lookup working.query.result.devices working.device.deviceId) 'points'}}
  • Destination Path: working.points