How can I link Task from CRM to a Task in Zoho project using deluge

How can I link Task from CRM to a Task in Zoho project using deluge

I am having a small well not small a big  issue in linking  the Task information with the Task in Zoho Projects using the deluge in custom function when I execute the script it creates the Task as is intended to be, but when I check the Activity module under CRM account, it is not there as it is linked with the zoho project task and I have to maunally go and create the task from zoho project. Can anyone help please to make the Link automatically?