Transfer Related records from Converted Lead to Contact?
Referencing a video by Jordan included in a recent Web Forms best practices blog post, the function for the Web Form Submission module works great. However, when the Lead is converted, the related Web Form Submissions records aren’t transferred to the newly created Contact. I expected this but can’t quite find a way to transfer those when the Lead is converted.
Looking at the CRM API docs, I don’t see an action available to GET converted lead data. My idea was to create a function that triggers upon Lead conversion or Contact creation, fetching the converted lead and all related Web Form Submissions and re-associating them with the Contact by setting the Related Contact field in the WFS record, but I’m stuck on how to implement this.
Has anyone tackled this scenario before? I see some posts on Zoho forums about doing it with a custom button, but I’d like to be able to use the native Convert button for Leads.