Learn how to automatically clone Accounts and carry over related data using Salesforce Flow. This step-by-step tutorial demonstrates building a Record-Triggered Flow that duplicates an Account record with key field values.
Key Steps
- Creating a Record-Triggered Flow: Start by setting up a new Flow that triggers on Account creation or update.
- Adding Get Records Element: Retrieve the source Account and its related records (e.g., Contacts, Opportunities) using the Get Records element.
- Configuring Filters & Source Data: Apply filters to select the exact records to clone.
- Adding Create Records Element: Use Create Records to generate duplicates of the Account and its related data.
- Mapping Fields for Cloning: Carefully map fields from the source to the new records to ensure all important data carries over.
- Saving & Activating the Flow: Test and activate the Flow for production use.
Best Practices
- Always test flows in a sandbox environment first.
- Consider using a custom checkbox field to trigger the clone process.
- For large volumes, be mindful of Salesforce limits and batch processing.
This automation saves time and reduces manual errors when replicating account structures.