I am encountering an issue within an automation flow that involves crafting emails using OpenAI and then sending them through Gmail. The challenge arises when the email content transitions to the Gmail sending stage; instead of incorporating natural line breaks, the automation inserts HTML <br> tags, which compromises the professional appearance of the emails.
This formatting issue is critical as it affects the readability and professionalism of our communications. Could you please assist me in resolving this matter? I need the automation to preserve the intended formatting without injecting <br> tags where line breaks should be.
I am looking forward to any help on how to adjust the automation flow or the settings to ensure that the emails sent through Gmail maintain the correct formatting.
@Abdul Absolutely. The automation is not including any of the spacing and maintaining the html. It just doesnt look good. I want the output from either OpenRouter or OpenAI to look like it does in the chtabots output field with line breaks and spacing.
Yes this gave an improved output but stilll everything is in one gaint paragraph. Still not an ideal output. I amk curious how to get the proper formatting into the email body. It would make for a much better presentation for professional purposes.
Hi there @Chris_Tucker , I just had the chance to do some testing, I copied the text you had in html and pasted it into the Body(HTML) input and got this result in the email
I’ve had this issue too actually from using the body (html), i resolved it by using HTML tags as it a static email not a dynamic one.
Maybe an easier solution for @Chris_Tucker is to ask ChatGPT to write the emails in HTML. and use that in the HTML section and use asterix “*” in the body (text) section this did the trick for me btw.
Thanks. I see that both text and html have content boxes on the right side.
I just can’t figure out how I can feed the AI response from the previous step into either box and get it to show markdown or html or any kind of formatting afterwards.
What determines whether the email is going to be text or html when you have data boxes for both?
I don’t want to have to input edited text into the html box when I assume that I just need the link from the prior step in order to keep it fully automated.
Chris did you try to use the body (HTML) input? and Les the output of your OpenAI step is not html, please ask it to do so, it is using what is called CommmonMark.