Skip to main content
Kate Cortez 님이 #Flow에 질문했습니다

Hi everyone! I'm trying to build an autolaunched flow that triggers when a new Contact is created from Donorbox.

  My goal: 

If the incoming Contact already exists in Salesforce (matched by name, email, or mailing address), and they have a Prospecting Opportunity (usually from a direct mail appeal), I want to:

  1. Update the existing Prospecting Opportunity (change Stage to Posted, add donation details like amount, phone, dedication, etc.)
  2. Delete the duplicate Contact, Opportunity, and Account that Donorbox creates
  3. Optionally, log a merge record for tracking

I’m running into issues where:

  • My flow isn’t triggering as expected
  • I'm not sure how best to structure the logic and pass variables between steps
  • I get errors saying no records match for deletion

Has anyone done something similar? I’d love a step-by-step outline or any visuals/examples you might have. Happy to share screenshots or flow exports if helpful!

Thanks in advance 🙏 

답변 1개
  1. 2025년 5월 6일 오후 1:28

    Hi @Kate Cortez

     

    It is going to be fairly tricky to handle everything in the comment section, but here are a few things to watch out for. 

    1) You will want to make sure you have a Record Triggered Flow that launches on the Contact object.  You will probably want to establish criteria so it only fires when it comes from a DonorBox contact.  You can either identify these contacts by a Created By user if you have a special integration user or potentially something like a DonorBox Id. 

    2) You will want to use a Get Records component to find potential matches.  Your criteria that you establish in your Get Records component will likely need to have a formula for criteria. This would be something such as (First Name matches AND Last Name matches) OR Email or Mailing Address matches. 

    3) You will then need a Decision element to detect any potential matches.  Essentially you are just evaluating if the previous Get Records found anything. 

    4) If you find anything, you will want include another Get Records, this time on Opportunity. 

     

    Again, it will be a pretty tedious process to include everything and/or troubleshoot here in comments but feel free to reach out separately if you need additional guidance!