Skip to main content

#Trailhead Challenges #Flow How would you automatically create a follow-up Task whenever an Opportunity is marked as Closed Won? Which Flow type and configuration would you use?

2 answers
  1. Oct 13, 4:49 AM

    Hi @Abhiram Sailada You can achieve this easily using an After-Save Record-Triggered Flow.

    1. Go to Setup → Flows → New Flow → Record-Triggered Flow.
    2. Select Opportunity as the object.
    3. Set the condition: Stage = Closed Won.
    4. Choose When a record is updated and Only when the record is updated to meet the condition requirements.
    5. Select After Save because we're creating a related Task.
    6. Add a Create Records element to create a Task with:
      • Subject: Follow up with Customer
      • Status: Not Started
      • Related To: Opportunity ID ($Record.Id)
      • Assigned To: Opportunity Owner ($Record.OwnerId)

    Finally, save, activate, and test the Flow.

    Best Practice: Make sure the Flow creates the Task only when the Opportunity changes to Closed Won, to avoid duplicate Tasks.

    Hope this helps!

0/9000