# Automation and data transfer

**URL:** <https://community.hubspot.com/t/automation-and-data-transfer/118598>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [October 17, 2024, 5:20pm UTC](https://community.hubspot.com/t/automation-and-data-transfer/118598 "2024-10-17T17:20:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MHernandez383](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@MHernandez383](https://community.hubspot.com/u/MHernandez383)\
**Post date:** [October 17, 2024, 5:20pm UTC](https://community.hubspot.com/t/automation-and-data-transfer/118598/1 "2024-10-17T17:20:00Z")

</div>

We have this automation here where we are trying to send the order details to the client from the deal via email. Please see the attached screenshots.  
The formatting isn’t carried to the email when we send it like this. See screenshot.  
How can we get the formatting to send with it?  
Or how can I format it within the code so the email shows better?  
Email- Order Details.

 ![MHernandez383_0-1729185511657.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/6/368b2674faf8c8cd31d96018eeb0bc393604105c.png)

Source Code

 ![MHernandez383_1-1729185531095.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/5/8562ede4002ed394afb5058531c8e3f1f102c69f.png)

Email View

 ![MHernandez383_2-1729185545210.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/1/18888dad8f66267081c85156c4788551d700eed4.png)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 18, 2024, 3:43pm UTC](https://community.hubspot.com/t/automation-and-data-transfer/118598/2 "2024-10-18T15:43:28Z")

</div>

Hey, @MHernandez383 👋 Welcome to our community! I have a few questions that can help our community members have more details about your issue.

- is your “email view” the in-app preview? Or from an inbox?
- do you get the same result with Gmail and Outlook?
- is this a custom coded template? Or a default template that you’ve added additional styling to?

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![MHernandez383](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@MHernandez383](https://community.hubspot.com/u/MHernandez383)\
**Post date:** [October 18, 2024, 6:56pm UTC](https://community.hubspot.com/t/automation-and-data-transfer/118598/3 "2024-10-18T18:56:11Z")

</div>

Hi There,  
That would be what it looks like in the actual email in Gmail.  
This was a custom template where I am grabbing the info from a field in our  
“Deal” and inserting it.  
The problem is because it’s a lengthy text. So I’m wondering if HTML or  
something can be incorporated to clean it up.  
Thanks!!
