After recieving a Completion Request from ChatGPT, how do I format my email with line breaks?

Hello,

I am setting up an automation that writes a personalised email using ChatGPT then sends an email with the output. Here is what the content looks like in the Send an Email operation:

However when the email is actually sent it looks like this:

This is what the Send an Email module looks like under the hood. As far as I can tell, I’m not able to add line breaks there because I have to pull in the ChatGPT responses.

What am I doing wrong?

Thanks,
Dom

Your content needs to be in HTML, so something like this:

Hi John,

<p>Thanks for reaching out. I'd be happy to discuss how our marketing services can benefit you. 

<p>Let's set up a time to chat.

<p>Best,

<p>Dom

The easiest way would be to tell ChatGPT to generate the result in HTML.

L

Hey, thank you for the response.

Is there a specific way to tell ChatGPT this? I have tried asking it in the User prompt, as well as pasting the HTML formatting that you provided into the Assistant prompt, but neither are getting it to work. Please see attached the two screenshots.


Anything else I am missing?

Thanks,
Dom

Welcome to the Make community!

Please see

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like