Using currentValues in Trigger Event within Node.js Code?

To fix the error “steps is not defined” when using the trigger data, make sure you are passing the steps object as an argument to the run method in your code. The steps object contains the data from the trigger event, including the trigger.event.currentValues property. Here’s an example of how to access the trigger event data using the steps object: export default defineComponent({ async run({ steps, $ }) { const currentValue = steps.trigger.event.currentValues; // Use the currentValue in your code console.log(currentValue); } }); Make sure you have the steps object as an argument in the run method, and that you are accessing the trigger.event.currentValues property correctly.