Zoho Crm API insert doesnt trigger WorkFlow

Zoho Crm API insert doesnt trigger WorkFlow

Hi!

I am using the Zoho CRM with a third party application and am using API. I have created a workflow alert for insertion into Leads. I receive the mails when I directly make an entry but am not receiving the mail on inserting data thru the API. 

And yes, I set wfTrigger to true. 

Any help will be greatly appreciated! 

Thanks!!