In order to debug process functions, we should think in something that helps us to debug the process functions. We could create an script that mocks that note, invitation, etc and executes the process function. So we can check syntax errors, etc.