Calling Zoho Creator function from CRM Custom Function

Calling Zoho Creator function from CRM Custom Function

Hello, 

Is it possible to call a function created in Zoho Creator from a Zoho CRM Custom Function? 

Here is problem this is trying to solve: 

I have several CRM modules where tasks are created. There is some processing before the tasks are created. I would rather not create x separate functions to handle this (because they're very easy to generalize given the right parameters and because code duplication is a terrible programming practice) and so I have created a general function in Zoho Creator that can create the task. The question is, how do I call it from the CRM? If this isn't possible, how can I create a generalizable function in the CRM that can be invoked by multiple modules? 

Of course, this is one of many scenarios where having a modular approach would be advisable so I'm looking for a generic solution that can be extended to any situation where modular code is desired. 

Thanks in advance for your help,
John