This is actually a continuation of https://success.salesforce.com/answers?id=90630000000CkWa.
I'm looking to write a trigger that will run when a Lead is converted.
The trigger should create an OpportunityContactRole like this: OpportunityId: Lead.ConvertedOpportunityId ContactId: Lead.ConvertedContactId IsPrimary: TRUE
I'd greatly appreciate if you could point me in the right direction. Thanks!