@gsaldana take a look through this forum post:
Then replace the call to the Camunda API for the external file with your API call.