Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Attach the document content to email body

vinayvnn
7 - Meteor

I have a few Word documents in a folder that I’d like to email. Instead of sending them as attachments, I want each document’s content—complete with its tables and images—to appear directly in the body of the email. Could you please assist me with a method or tool that allows me to accomplish this while preserving the document’s original formatting?

 

Thank you so much for your help!

1 REPLY 1
Dean4U
Alteryx
Alteryx

Hi @vinayvnn,

 

Thanks for reaching out to the community. Please prepare the document content by creating a new field for the text body using the Formula Tool to generate a field that contains the document's content. Then, you can use the Email tool and configure it to include the document content as part of the email's body. This can be achieved by using the "Body" field in the Email tool to reference a data field containing the document's content.

 

You can refer to the link below to avoid issues with line breaks and other formatting problems:

 

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Using-a-Field-in-an-Email-Body...

 

You can also try using the Python Tool or a specific macro for reading document content if you face issues preparing a Word document. It will help you convert DOCX to HTML before using the email tool.

 

Python Tool - https://help.alteryx.com/current/en/designer/tools/developer/python-tool.html

 

Hope this helps.

 

Take care. 

Labels
Top Solution Authors