Skip to main content

So, I create a custom object called Form Submissions which currently has a lookup relationship with the Lead object. This relationship occurs automatically through the integration I created between Gravity Forms and Salesforce.

 

However, I'm struggling to figure out how to carry the relationship forward to Account and Contact objects when the Lead is converted. I'd like end-users to be able to see related Form Submissions when they view a Contact or an Account.

 

This is what the Form Submission object page looks like right now. I want those 2 lookup fields to populate automatically when the lead converts. I'm thinking maybe a Flow, but I'm not sure about the logic?

 

Any suggestions or best practices to achieve this?

 

Thanks in advance!

How can I automatically have an Object which is related to a Lead, create a lookup relationship with Account and Contact after Lead conversion?

 

#Flow  #Automation  #Saleforce Administrator  #Advanced Administrator  #Best Practices For Administrators

2 个回答
  1. Eric Praud (Activ8 Solar Energies) Forum Ambassador
    2024年2月26日 17:20

    Hi,

     

    You would need a record triggered flow on Leads that triggers on conversion.

    Add an Update record element to update the Form Submission record where Lead__c equals $Record.Id. You can now update the Accoutn and Contact lookups with 

    $Record.ConvertedAccountId and $Record.ConvertedContactId

     

    https://salesforce-flowsome.com/flow-how-to-handle-converted-leads-related-records/

0/9000