Forum Discussion
Brad_Docimo
Jun 28, 2026Copper Contributor
Dynamic Pages in Mail Merge
Is there any way to dynamically turn pages in a document on or off during a mail merge? Building a welcome packet for an event, and some people need to see Page A. Others need to see Page B instead...
saleha15
Jun 28, 2026Copper Contributor
Yes, it's possible, but it depends on the mail merge tool you're using.
If your platform supports conditional content or document sections, you can use a field (e.g., PacketType) to determine which page is included. For example, recipients with PacketType = A receive Page A, while those with PacketType = B receive Page B.
If your mail merge solution doesn't support conditional pages, a few alternatives are:
- Create two separate templates and route recipients to the appropriate one based on your data.
- Use a document automation solution that supports conditional blocks or sections (such as Microsoft Word IF fields, Google Docs add-ons with conditional logic, or dedicated document generation tools).
- Generate the documents programmatically using a scripting or document automation platform if you need more flexibility.
Could you share which mail merge tool you're using (Microsoft Word, Google Docs, Outlook, Mail Merge for Gmail, etc.)? That will help determine the best approach.