--- title: "I prefer Deluge to code the functions and handlers for the bot. To implement some complex logic such as sending an email to the user or an iterative task, I have to code in a java function. Will I be able to call the catalyst java function within the bot's deluge function?" url: https://docs.catalyst.zoho.com/en/faq/convokraft/deluge-complex-logic/ description: "Yes, you can use the invokeURL() deluge function in order to make an API call to catalyst function endpoint and get the response." last_updated: 2026-11-13T05:00:22Z service: ConvoKraft type: faq --- Yes, you can use the invokeURL() deluge function in order to make an API call to catalyst function endpoint and get the response.