How can I use Flow to add order rows to a Google sheet?

How did you pass the argument to:

result( range )

since the script he pasted just opens with that? I got it all working with manual Sheet edits, but Flow is connected and it’s still not triggering this function