How to get CONTACT ID when (or while) a new lead is making

How to get CONTACT ID when (or while) a new lead is making

Hi,

have integrated zoho account with a custom form that
when a users send a contact form request
insert automatically lead in "My Lead".

Now i need to retrieve the userid/contact id to the current usert insert
because i need also add a tasks

it's posible do this?

i'm sorry for my bad english!