Skip to main content

#Flow159 diskutieren mit

Encountering a hurdle? 🚧 Pass the baton to an instructor like Teo Marcelo! “I recently learned how to migrate flows between orgs using Command-Line Interface (CLI) because a customer asked,” he said.

 

Encountering a hurdle? 🚧 Pass the baton to an instructor like Teo Marcelo!

 

“I recently learned how to migrate flows between orgs using Command-Line Interface (CLI) because a customer asked,” he said. “I'd never used CLI before then, but with a few tries, we were able to migrate everything we did in class to their development org in about 20 minutes. It was awesome!”

 

Join Teo for the Admin Flow Builder bootcamp on September 12-14 and learn how to design automated no-code solutions with Salesforce Flow.

 

Make the jump: https://sfdc.co/DF26TrailblazerBootcamp

 

#TrailblazerTrackMeets

 

@* Trailhead Official * @* Trailhead Academy * @Trailblazer Community Cove @* Salesforce Administrators * #Salesforce #Certifications #Trailhead #TrailblazerCommunity #Salesforce Admin #AwesomeAdmins #Flow

0/9000

Hello everyone, 

 

I want to learn flow from beginner to advance level, so can anyone pls tell me sequence of trails to learn flow in exact sequence. 

 

#Flow  #Flows

2 Antworten
0/9000

I have a Record-Triggered Flow on the Account object that should update a field on related Contacts whenever the Account’s Billing City changes.

I’m confused about whether this should be a Before-Save or After-Save Flow.

Since Before-Save Flows are faster, can we use a Before-Save Flow to update the related Contact records, or is an After-Save Flow required?

Also, what would be the most bulk-safe approach if an Account has 500+ Contacts?

What is the recommended approach and why? 

 

#Flow  #Salesforce Admin

4 Antworten
  1. Heute 07:16

    The recommended approach is an After-Save (Actions and Related Records) Record-Triggered Flow.

    • Before-Save Flow: Use it when you only need to update fields on the triggering Account record itself. It’s faster because Salesforce can update the record before committing it to the database, but it is not intended for updating related Contact records.
    • After-Save Flow: Required when you need to perform actions on related records, such as updating Contacts when the Account’s Billing City changes. The Account must be saved first, then the Flow can update its related Contacts.

    For 500+ Contacts

    For bulk safety, avoid doing a Get Records + Loop + Update Records pattern if you can update the related Contacts directly.

    A good design is:

    1. Trigger when Account is updated.
    2. Add a condition so the Flow runs only when Billing City has changed.
    3. Use Update Records to update Contacts whose AccountId equals the triggering Account's Id.
    4. Set the Contact field to the Account's new Billing City.
    5. Let Salesforce handle the collection update rather than performing a separate DML operation for every Contact.

    This is significantly better than putting an individual Update Records inside a loop, because Flow can perform the update as a collection and reduce unnecessary database operations.

0/9000

Suppose we have a Record-Triggered Flow on Opportunity that runs When a record is updated.

The Flow has:

  • A Decision element checking whether StageName = "Closed Won"
  • An Update Records element that updates the same Opportunity
  • The Flow is configured to run Every time a record is updated
  • The Update Records element changes a field on the same Opportunity

 

 

#Salesforce Admin  #Flow

5 Antworten
  1. Heute 06:19

    Yes, the Flow can be triggered again when it updates the same Opportunity. Salesforce does not automatically prevent recursion in every case. 

    To avoid unnecessary re-execution: 

    •  Use “Only when a record is updated to meet the condition requirements” when possible. 
    •  Add a Decision checking whether the target field actually needs to change. 
    •  Use a Boolean/flag field such as Processed__c to prevent repeat processing. 
    •  Prefer Before-Save Flow for same-record field updates when no related records/actions are required. 

     

    Best practice:

    Design the Flow so the update makes the record fail the trigger/decision condition on the next execution, preventing an unnecessary loop. 

     

0/9000
1 Antwort
  1. Steven Trumble (Strum Consulting) Forum Ambassador
    Heute 03:07

    To create a roll-up summary field you first to need to create a master-detail relationship between two objects.  

    Have you done that?

0/9000

After the org was upgraded to Winter ’27, the AIAgentAPIV1

action started throwing errors in the flow. If I reselect the action, it no longer allows me to configure any parameters. 

 

AIAgentAPIV1 No Longer Works in Salesforce Flow in Winter '27

 

 

image.png

 

 

 

 

#Agentforce  #Salesforce Developer  #Salesforce Admin  #Flow  #Invocable Actions

2 Antworten
  1. Heute 01:20

    Thanks @Abhishek R

     

    The documentation is correct, but the action configuration screen in Flow looks strange. There’s nowhere to set these required parameters.

0/9000

Welcome to the #TrailblazerCommunity! 👋 Take a moment to introduce yourself below. 💙 

 

Tell us all about YOU:

What are you passionate about? 

What are you looking to learn? 

Where are you located? 

 

Feel free to connect with others in the thread! 👇 

 

UPDATE: To mute this post, click on the arrow on the top right then "Mute."

2.014 Kommentare
  1. Gestern 03:10

    Why have I been auto subscribed, please remove me

0/9000
0/9000

I implemented a Salesforce automation to simplify how we handle duplicate Prospect and Customer Accounts. Sharing the approach in case it helps other Salesforce Admins facing a similar scenario.

🔹 The Business Problem

In our process:

  • Sellers manually create Prospect Accounts in Salesforce.
  • Once a prospect becomes a customer, the Customer Account is automatically created in Salesforce through an integration with another system.
  • The original Prospect Account remains in Salesforce.
  • This can result in a Prospect Account and Customer Account representing the same company i.e, duplicate accounts.

Previously, sellers had to identify these duplicates and submit a ticket manually so an Admin could merge the records.

🔹 The Solution

I built an automation that follows this process:

Duplicate identified → Prospect Account flagged → Duplicate Account button + bell notification displayed → Seller clicks the button → Email sent to Service/Admin team → Admin reviews and merges the accounts

🔹 Implementation Steps

1. Create the Matching Rule and Duplicate Rule : A Matching Rule and Duplicate Rule to identify a Prospect Account and Customer Account as duplicates based on our internally defined matching criteria.

2. Create a Record-Triggered Flow: Record-Triggered Flow that runs when a Duplicate Record Set is created or updated.

Within the Flow:

  • Get Duplicate Record Items: Retrieve the Duplicate Record Items associated with the Duplicate Record Set.
  • Loop Through Duplicate Record Items: Loop through the Duplicate Record Items and assign the relevant Account/Company Name to a Flow variable.
  • Find the Matching Account: After the loop, use Get Records on the Account object to find the corresponding Account based on the Account/Company Name stored in the Flow variable.
  • Flag the Prospect Account: When the matching Account is found, update the Prospect Account and set our custom Duplicate Account checkbox field to True.

3. Display the Duplicate Account Button + Bell Notification: Duplicate Account button/action to the Account Lightning Record Page and configured Conditional Visibility based on the Duplicate Account checkbox.

When the checkbox is set to True, the seller sees the Duplicate Account button along with a bell notification. This gives the seller an immediate indication that Salesforce has identified the Account as a duplicate and that the records need to be reviewed/merged.

4. Notify the Admin Team: When the seller clicks the Duplicate Account button, an email is automatically sent to our ticketing system and Admin reviews and merges both Prospect and Customer accounts.

Here are screenshots of the flow:  

  #Salesforce Admin #Flow #Sales Cloud

I implemented a Salesforce automation to simplify how we handle duplicate Prospect and Customer Accounts. Sharing the approach in case it helps other Salesforce Admins facing a similar scenario.

 

Flow 2.png

 

Flow 3.png

2 Kommentare
0/9000

How are others handling Video Calls that fail to related to an Account due to prospects joining from their car or a conference room full of people?  We have more records unassigned than assigned and getting the Sales Users to related records back to the proper accounts after the fact is proving to be difficult.  I thought creating a flow that reviews names that DID log as joined against Contact and Lead records, as well as Video Call subject line would be helpful to at least populate another 10-20% of those blanks.  However upon reading more documentation, it looks like SF doesn't support additional flows to match unless we turn off org wide matching.   

How have others addressed this issue, or is it truly an Enablement/Sales issue?  Perhaps an addon tool like

Otter.ai

- or will that also conflict with existing matching?  

 

#Flow  #Agentforce  #Salesforce Developer  #Data Management

2 Antworten
  1. 28. Aug., 15:56

    Hey Misty, 

     

    Your read is accurate: per Salesforce's own docs, Related Record Matching is an org-wide, all-or-nothing setting, when it's on, ECI runs its own algorithm (participant email/domain matching against Contact, Lead, Account) and populates the Related Record field automatically. If you want to run your own Flow-based matching logic instead (your name-against-Contact/Lead + subject line idea), you have to turn Related Record Matching OFF entirely, then a Flow becomes the only thing setting that field. You can't layer a supplemental Flow on top of the native matching to "catch the extra 10-20%", it's one or the other, not additive. 

     

    Given that, your options really are: 

    1. Turn off native matching, build your own Flow to replicate ECI's built-in logic PLUS your extra fallback rules (name-against-Contact/Lead, subject line parsing). This means you inherit responsibility for the baseline matching ECI already does well, not just the edge cases, that's a bigger lift than it initially sounds. 

    2. Keep native matching on, and instead build a separate Flow/batch job that runs afterward on unmatched records only, checking if Related Record is null, then applying your own supplemental logic to update it. This avoids fighting the native system since you're only touching records ECI already gave up on, not replacing its matching entirely. 

    3. Turn on Einstein Activity Capture integration alongside ECI, per Salesforce's own guidance, this specifically enhances guest participant matching quality, which sounds directly relevant to your "joining from a car/conference room" problem, worth testing before building custom logic at all. 

     

    On

    Otter.ai

    or similar tools: since ECI's matching is a Salesforce-side process, not tied to which video/transcription vendor recorded the call, a third-party transcription add-on wouldn't conflict with ECI's matching logic, but it also wouldn't replace or feed into it automatically. It solves a different problem (better transcript quality) than record-matching itself. 

     

    Given the scale you're describing, option 2 (supplement only nulls, don't disable native matching) is usually the least disruptive path, worth prototyping that before considering a full matching rebuild. 

     

    Reference:

    https://help.salesforce.com/s/articleView?language=en_US&id=sales.call_coaching.htm&type=5

0/9000