I worked in an organization that uses Salesforce CRM. Recently, we hired new employees for our team, and I was assigned the task of creating a workflow to create multiple employee account records for onboarding new candidates.
I decided to create a Screen flow. With this flow, the hiring team will be able to create employee account records without needing to navigate to the Employee_c tab and enter multiple fields.
In this Salesforce article, we will explore the various flow types available and learn how to create multiple records using Salesforce Flows.
Pre-requisite to Create Multiple Records Using Salesforce Flow
- The Interview object is related to Employee_c by a Master-Detail relationship, where the Interview object is on the Master side, and Employee_c is on the Detail side.
- We will create new Employee accounts using the Number of Employees Hired field from the Interview object.
- Create a Number of Employees Hired field with the Number data type on the custom Interview object.
- We must create a custom object named Employee with the following fields: Employee Name, Joining Date, Designation, and Salary. These fields need to store the employee details.
Create Multiple Records Using Salesforce Flows
Using the above scenario and the following steps, we can create multiple records using the screen flow in Salesforce.
- Log in to Salesforce Org. -> Click on the Setup. -> Home Tab. -> In Quick Find Box, Search for Flows.
- You will see an option under Process Automation. -> Click on Flows. Click on the New Flow button to create a new flow.

- In this scenario, we will create records using fields, so we have to create a screen flow. Here, you can see we have the Screen Flow type. Click on it, then click the Create button.

- The Screen Component is used to collect user input for that. Click on the + icon and then select the Screen Interaction element. In this screen component, we will create the required fields in the given scenario.
I have created fields for Employee Name, Joining Date, Designation, and Salary to store the employee details.

- Now, we want the Number of candidates hired, which we will get from the interview_c object where we created the Number field.
- We need to display