Sync child records when parent field updates in Salesforce

CRMMarketingSales

What it does

When someone updates a Projet record in Salesforce and checks the Y+1 scheduling box, this automation finds all related Objectifs and duplicates their Etapes. Each new Etape is created in Salesforce and the parent Projet is marked complete.

Who it's for

Operations teams who need to cascade child record updates across parent records without manual duplication.

Apps used

How teams use this

Duplicate annual planning records

When a manager checks the Y+1 box on a Projet, all Etapes from child Objectifs are copied to the new year so this automation gives the team the same structure to start with.

Automate budget cycle rollover

Finance teams use this to copy budget Etapes from the current Projet to the next fiscal year without opening Salesforce records one by one.

Filter Etapes by status before duplication

Add a condition to only duplicate Etapes marked as active or approved, so incomplete or rejected records stay out of the new Projet. This requires a status check on each Etape.

How it works

  1. Monitor Projet record updates. When a Projet record is created or updated in Salesforce, check if the Y+1 scheduling box is marked.
  2. Find all related Objectifs. Search Salesforce for all Objectif records linked to that Projet so each one can be processed.
  3. Retrieve Etapes for each Objectif. For each Objectif found, search Salesforce for all Etape records attached to it.
  4. Duplicate Etapes to the Projet. For each Etape found, create a new Etape record in Salesforce linked to the parent Projet with matching field values.
  5. Mark the Projet as processed. Update the Projet record in Salesforce to show the Y+1 scheduling is complete.