I want to create leads in ErpNext using TypeForm. I already integrated it with my system as you can see here.
But now I want to generate leads based on TypeForm response.
In the second approach, because I have already integrated it into the ErpNext, Is there any way or workflow that I can use to generate leads automatically when I receive a response here?
I don’t really know how Typeform responses are being created in ERPNext … manually? I assume that you are using ERPNext API to do that … As Typeform seems to have an static webhook data structure, have you created a specific API method that receives Typeform data and insert records in your doctype? If you are doing it, you can insert doc in lead doctype too …
Maybe I missunderstood your requirement.
To create leads automatically:
Create a server script
Type: Doctype Event
Reference Doctype: Typeform responses
Event: after_insert
This creates a lead every time a Typeform response get inserted … Note that this approach maybe won’t work, depending how typeform responses are being managed … You can make this using several ways.