This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I'm facing a problem with the email tool, mainly with the attachment option.
I need to attach a word document to send several emails, the problem is when I sent the emails the files are corrupted and people can't open it, I tried converting to pdf but no success and also I tried saving the files in One Drive but didn't work.
I'm curious because when I attached an excel file then the people receive the email with the attachment working correctly.
Below is a screenshot of the error, the file in my computer works well and I can open it without any problem so I don't know if it's something Alteryx does when sending the email:
Please let me know if you need more details and thanks for the help!
@jsdn14 Are you using the render tool to output the dataset and save it as a docx or pdf? You can use this tool to output and then specify the attachments in the email tool to pick it up. Make sure you use the block until done tool to output first then use the email tool.
Let me know if this helps or need further clarification.
I generate an Excel file via Render within my workflow and use a block until done tool.
The Excel file is generated perfectly by the Render (when opening directly from the path specified in the Render tool), but when opening the Excel file attached to the email, the Excel file is corrupt.
Very interested to follow this thread. Hopefully someone has a fix or an idea!
You are running into a known Defect: "DE22485 - workflow runs and sends out the email message with the attachment, but the attachment is corrupted".
This Defect is still Open and being reviewed by our development team.
Workaround: It seems if the body of the email is hardcoded, this will send out a corrupted attachment. However, if you use a field for the body, this will work. So, add a field for body rather than using text in the text box.