Sending file via API Connector to OpenaAI

How can I send a file to https://platform.openai.com/docs/api-reference/files/create. ?

I’ve tried body type form-data but does not work. I believe it should be JSON format but then the question is how to upload a file to initialize the call?

Any help is truly appreciated, thanks!

I’ts been a while but I’m uploading the solution in case anyone bumps into the same question

This should be your setup: