Generate a unique document for every subform record using its data and main form data together, using Zoho Writer.
There are many business scenarios and transactions which include multiple entries/records which <have a common or parent record/have a common parent record>, and you'll have to generate a personalized document for each record, combining its data and along with the parent record.
For example, a training program would have multiple participants, and you'll have to generate a personalized certificate for each participant. Each certificate will include a specific participant's data, along with data from the parent record, such as the course name, trainer, and date.
Transform subform to main fields
In the Automation Configuration panel, select Transform Data Source.
Select the subform that you want to use as the unit of output.
Update your merge template by inserting the transformed merge fields. After the transformation, you can insert fields from both the selected subform and its parent (main) form.
Run the mail merge. Writer generates one document for each record in the selected subform while automatically including the corresponding main form fields in every document.
How the transformation affects your mergeEach subform record is treated as an individual merge record.
Fields from both the selected subform and its parent (main form) are available throughout the merge configuration.
You can use both main form and subform fields when configuring merge outputs, such as document names and folder paths.
If you need to switch to a different subform or return to your original data source configuration, you can remove the transformation. Clear the existing data transformation as shown below, then select a different subform or leave the data source in its original state.