Salesforce: Add a new task to an existing lead

Hello,
I have 2 scenario:

  • New lead:
    • from a google sheet, inject them as new lead in Salesforce
  • New Conversation:
    • From a google sheet, Inject them to existing lead in salesforce as a new task
      Each sheet will have a column ProfileID and the existing profileID in the sheet Conversation will exist in the Lead one.
      I store this variable in a custom field called Lnkstr Profile ID
      I ingest one after the other to ensure lead is created

The first scenario is ok i can create new lead I have an issue the second one
I search for the record using the Lnkstr Profile ID to match with the profilID

My issue is when I want to update this record with a new task, I cannot retrieve the RECORD ID. I tried Lead ID but it doesn’t work and the MAster record ID is empty

What am i doing wrong?
thanks

Found the solution, You need to put the LeadID that you get from your search result in the NameID

3 Likes