Hey Nevil,
Just went through something similar, so perhaps this thread will help:
I was inserting from a db query instead of an api, but this might give you some ideas. I ended up opening the server action in the editor, and was able to enter in a nested array for an outbound api action.
--Ken