Wait until node, inputs

I’m trying to manipulate the time of a wait until node.

Looking at this:

I assume this is what it should look like?

flow.set("interval", 260); // this is just for testing
msg.payload ={
    "timeout": flow.get("interval"),
    "timeoutUnits": "seconds"
}

return msg;

It returns this message:

image

But it still doesn’t set the timeout to 260 seconds.
Do I need to add all the variables of the input for it to work, or what did I do wrong?

image

Didn’t notice that