Hello,
I want to color code subject line if receive email from specific sender with specific subject and send again to users.
I have this in compose section but need help with "color subject RED,color subject green"
if(and(contains(triggerBody()?['From'], 'test@test.onmicrosoft.com'),contains(triggerOutputs()?['body/subject'],'Service Alert')),color subject RED,color subject green)
Can anyone please help me?
Thank you
Hello again
Anybody can give an idea how can I format subject using power automate?
Thank you
I know that is for one user only. Want to set it up for a tenant.
In any case, if you know the code for my question please let me.
Thank you
Power Automate flow is useless here.
In Outlook for Windows have a look at conditional formatting - see https://support.microsoft.com/en-gb/office/automatically-change-incoming-message-colors-and-fonts-based-on-sender-subject-or-recipients-4efbf993-fb00-4f2c-9a3f-78e64e4455ec
No native way to do that in OWA and in Outlook for mobile. You have to create an add-in.
Both as well Mobile client
What email client you are going to use to read email? Outlook on Windows? Outlook Web Access?
@ManishSolanki I already know that. this is not what I want.
Thank you
When email arrives from a specific email address with subject line "Service Alert" want to change color to RED, it is resolved then GREEN otherwise just regular
Thank you
Please rephrase. What exactly do you want to achieve?
Hi @Abdul_Afrad
Pls use below expression:
if(and(contains(triggerBody()?['From'], 'test@test.onmicrosoft.com'),contains(triggerOutputs()?['body/subject'],'Service Alert')),'color subject RED','color subject green')
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2