web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Compose email Sketch a...
Copilot Studio
Suggested Answer

Compose email Sketch automation not working

(0) ShareShare
ReportReport
Posted on by 2
When creating the automation i put the text on the body text box and when the automation runs, the email body comes with the html syntaxes
Tried to create one with the "Send an email (v2)" and the text is normal (without the syntaxes)
Tried formating the text beforehand on html but it just puts "<p class="editor-paragraph">" in the start and removes everything ive done

I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,504 Super User 2025 Season 2 on at
     
    Sorry for your troubles, but you have to provide more details. Is what a trigger, a Tool, a specific CP Flow, or a dedication (external) PP Flow (they are both PA but its about logistics).
     
    Can you share the automation as your question is about an automation no specifically about an Agent. So is this a trigger part of an Agent or part of an Agents Agent?
     
    Did you try giving the Agent expressive Natural Language on how to format the emails?
     
    You said, you tried to create one with the standard Send Email V2 and it was fine, but what exact Action is your Agent using as I would expect it to use the same action if you are sending M365 emails.
     
    So please share the whole automation.
     
    If you haven't already, can you please go to Power Automate Maker portal and look at your Flow directly. Share that here. Explain how it gets triggered and how the data gets into the Flow. I know you said you just pasted text but I'd like to see please.
     
    Then look at a Flow one from your agent, to see what the (whatever action it used to send the email) Sent out.
     
    Share screen shots of that and specific details about your Agent please as well as instructions etc you gave related to email sending and formatting etc.
     
    Thanks!
  • CU04071342-0 Profile Picture
    2 on at
    @Michael E. Gernaey Hi, thank you for the response and sorry for the wait and lack of information
    The flow is a "Scheduled Cloud Flow"
    It creates a recurrence each day of the week except on sundays



    The "Send an email (V2)" is just a test to ensure that the way i was doing the body of the email was right (page was translated to english, so the results will be different)

    Result:


    And the "Compose a draft email message":

    Result:



    Here is the one i'm using right now, with a test at the end using the "Send an email (V2)"
    Draft:

    Result:


    Test:

    Result:


    While using the "Compose a draft email message" the text in the body doesnt get the way its suposed to be
    Is there a way around this? 
  • Michael E. Gernaey Profile Picture
    53,504 Super User 2025 Season 2 on at
     
    This is actually an issue that many people are having.
     
    The issue per se is that the Draft is NOT being stored as HTML so you get plain text, even in Code View Mode.
    I am trying to see how to get around that, but essentially you would have to create the Content outside of the email, in a Compose, so you can set the Content-Type of the email to be HTML.
     
    That should work, but I am researching and will try to reproduce it. I do not use draft emails myself (currently) so I didnt realize it was like this.
     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 279 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 200 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 94 Moderator

Last 30 days Overall leaderboard