Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
accenture
PH
Last activity: 10 Jan 2024 12:12 EST
Document Attachment and Logging in Email Automation Workflow
Hi,
I'd like to include a Word document in an email that summarizes all input data from the user. I aim to have the email sent with the attachment on the fifth instance when the user completes and submits the form.
The Word document should log the inputted data by the user from the initial submission to the fifth one. I've managed to attach the Word document to the email by incorporating the "Generate Document" Automation in the workflow. However, I'm facing an issue where the information from the first to the fourth submission is not being logged into the Word document. Only the fifth instance is being logged into the Word document.
Any advice on how to achieve this would be appreciated.