Use Mail Merge
Note: this option is available in the online version only.
The Mail Merge feature is used to create a set of documents combining a common content which is taken from a text document and some individual components (variables, such as names, greetings etc.) taken from a spreadsheet (for example, a customer list). It can be useful if you need to create a lot of personalized letters and send them to recipients.
- Prepare a data source and load it to the main document
- A data source used for the mail merge must be an .xlsx spreadsheet stored on your portal. Open an existing spreadsheet or create a new one and make sure that it meets the following requirements.
- The spreadsheet should have a header row with the column titles, as values in the first cell of each column will designate merge fields (i.e. variables that you can insert into the text). Each column should contain a set of actual values for a variable. Each row in the spreadsheet should correspond to a separate record (i.e. a set of values that belongs to a certain recipient). During the merge process, a copy of the main document will be created for each record and each merge field inserted into the main text will be replaced with an actual value from the corresponding column. If you are goung to send results by email, the spreadsheet must also include a column with the recipients' email addresses.
-
Open an existing text document or create a new one. It must contain the main text which will be the same for each version of the merged document. Click the Mail Merge icon on the Collaboration tab of the top toolbar and select the data source location: From File, From URL or From Storage.
-
Select the necesary file or paste a URL and click OK.
Once the data source is loaded, the Mail Merge setting tab will be available on the right sidebar.
- Verify or change the recipients list
- Click the Edit recipients list button on the top of the right sidebar to open the Mail Merge Recipients window, where the content of the selected data source is displayed.
-
In the opened window, you can add new information, edit or delete the existing data if necessary. To simplify working with data, you can use the icons at the top of the window:
- and - to copy and paste the copied data
- and - to undo and redo undone actions
- and - to sort your data within a selected range of cells in ascending or descending order
- - to enable the filter for the previously selected range of cells or to remove the applied filter
-
- to clear all the applied filter parameters
Note: to learn more on how to use the filter, please refer to the Sort and filter data section of the Spreadsheet Editor help.
-
- to search for a certain value and replace it with another one, if necessary
Note: to learn more on how to use the Find and Replace tool, please refer to the Search and Replace Functions section of the Spreadsheet Editor help.
- After all the necessary changes are made, click the Save & Exit button. To discard the changes, click the Close button.
- Insert merge fields and check the results
- Place the mouse cursor where the merge field should be inserted, click the Insert Merge Field button on the right sidebar and select the necessary field from the list. The available fields correspond to the data in the first cell of each column of the selected data source. All the required fields can be added anywhere.
- Turn on the Highlight merge fields switcher on the right sidebar to make the inserted fields more noticeable in the text.
- Turn on the Preview results switcher on the right sidebar to view the text with the merge fields replaced with actual values from the data source. Use the arrow buttons to preview the versions of the merged document for each record.
- To delete an inserted field, disable the Preview results mode, select the field with the mouse and press the Delete key on the keyboard.
- To replace an inserted field, disable the Preview results mode, select the field with the mouse, click the Insert Merge Field button on the right sidebar and choose a new field from the list.
- Specify the merge parameters
- Select the merge type. You can start mass mailing or save the result as a PDF or Docx file to print or edit it later. Select the necessary option from the Merge to list:
- Choose all the required records to be applied:
- All records (this option is selected by default) - to create merged documents for all records from the loaded data source
- Current record - to create a merged document for the record that is currently displayed
-
From ... To - to create merged documents for a range of records (in this case you need to specify two values: the number of the first record and the last record in the desired range)
Note: the maximum allowed quantity of recipients is 100. If you have more than 100 recipients in your data source, please, perform the mail merge by stages: specify the values from 1 to 100, wait until the mail merge process is over, then repeat the operation specifying the values from 101 to N etc.
- Complete the merge
Return to previous page