I am not sure if I understand your question correctly. However please find my response below:-
When we provide the API key and endpoint to ocr activities it actually make http API call to get the digitize output.
For publish, when publish the workflow its get package get into the either orchestrator folder which was selected during development in studio or orchestrator tenant feed.