cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Power Automate

Hello,

Please what is the right expression to attach the photo to the automated email?Screenshot 2024-05-23 061405.pngScreenshot 2024-05-23 061104.pngScreenshot 2024-05-23.png

8 REPLIES 8
Corry
Advocate V
Advocate V

Hi @amede,

 

Not sure if this particular approach will help you but @BCBuizer has posted a reply to another community member here: HOW TO GET HTML TEXT FOR IMAGE.

I personally used HTML and Dynamic content within my email body to get the animal image within the email.

<img src="@{body('Get_a_row_by_ID')?['cr0f4_photourl']}" alt="@{body('Get_a_row_by_ID')?['cr0f4_photoname']}" style="width: auto; height: 150px;">

 

Corry_0-1716442314425.png

 

 

BCBuizer
Multi Super User
Multi Super User

Hi @amede , @Corry ,

 

There are multiple ways of achieving this as you can find in this blog post: 3 Ways Power Automate Can Embed An Image In Email (matthewdevaney.com)

 

The method used by @Corry (#2 from the blog post) has a downside that it is not supported in all email clients, whereas the method I posted about in the other topic (in line with #1 from the blog post), is supported by all mail clients.

 

The above may not be all that relevant to the Power Up challenge, but I just wanted to make you aware in case you ever plan on building something similar which then may not work as you intended.



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

Hi All,

During the power automate process I faced with an error also not an error some mistake while getting the information from Animal table with dynamic content. 

 

When I try to get Animal Type i just getting the 1 or 2 ( which are the code of selection for that label on Table) But  i need to get Male/Female. Another problem is i can not see the Animal_Sex (Value) option in the list of Dynamic Contents. 

 

Do you have any solution for this? 

 

Regards 

Hi @Grkm_A,

 

What is the trigger / Action you are getting the dynamic content from? Screenshots would be helpful.

 

Also, sometimes you have 2 options in the dynamic content for some column types. Double check if this is the case and if so, select the dynamic content that doesn’t have (Value) at the end.

 

Not sure why you’re not seeing Animal_Sex. You may need to check the column is setup correctly.

Hi Corry,

 

Trigger is if there is any modified row in Animal_Details table.

Grkm_A_0-1716461148419.png

As you can see on SS there is no NewAnimalType (Value) option. And also i tried for other columns AnimalSex etc. There is no value option too. 

Grkm_A_1-1716461574252.png

And you can see get row by ID preferences too. There is only one tha Unique Identifier for Animal_Details Table

Grkm_A_2-1716461818236.png

 

Hi @Grkm_A,

 

NewAnimalType (Value) would actually return the number assigned to your choice so you actually want the NewAnimalType dynamic content as this will return the Label.

 

Why you can't see more columns in the Dynamic content has stumped me.

Hi @Corry ,

 

As i checked the table there is a 2 columns for each "choice" columns. And for the Mail Body i select correct column name but as i said the output of the mail is not like what i want. 

As you can see the details below i am just adding the NewSex dynamic content but this not works.

Grkm_A_0-1716467482163.png

Why can't you see more columns, maybe it's because I filtered it with the NewAnimal keyword.

 

 

Hi @Grkm_A,

 

I think I understand what your issue is. The choice values, i.e., numbers and not names are displaying within your email?

 

If this is the case, I assisted other community members on this issue in this post: Power Automate choice fields displaying numbers.

 

Let me know if that solution resolves your problem.

Helpful resources

Announcements

Important Update | Power Up Community READ ONLY July 22 – July 28

Dear Community Members, As you may have read, the Power Platform communities are transitioning to a new platform and to access will be set to READ-ONLY mode during the transition. Key DatesTo ensure current learners have adequate support in the final week of the cohort, the Power Up Program Community will transition to READ-ONLY mode starting July 22nd, the platform will transition to READ-ONLY mode until July 28th. Power Apps, Power Automate, and Power Pages communities will be read-only July 16-22, 2024.During this period, members will not be able to start new threads or Kudo, Comment, or Reply to any posts, but will be able to search and review past threads or solutions. On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities. Learners will be able to sign in to the new Power Up Program community experience, starting July 29th. If you registered for community using your learnwithpowerup account, you will not receive an email, but should be able to sign in successfully if you are signed in to My hub.  If you need help with your community account, please submit a request at aka.ms/PPCommSupport We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead! 

Learn what to expect in the Power Up Program

Since its inception in 2022, the Power Up Program has evolved based on feedback from learners and Microsoft Partners and customers. Today's Power Up learners can expect to learn the fundamentals of Microsoft Power Platform in the accelerated seven-week, video-based Power Up Maker course.   Hear from Principal Program Manager, Dimpi Gandhi to discover the latest enhancements and meet the Microsoft MVPs, Rory Neary and Charlie Phipps, who partnered with the Microsoft Power Up Program to create the Power Up Maker course to guide learners to use the Microsoft Power Platform to develop custom applications, build dazzling report dashboards, or create efficiencies through automation.  

Welcome to the Power Up Program Community

The Power Up Program is a free upskilling program where nontechnical people can learn the fundamentals of Microsoft Power Platform. The Power Up Maker course is a seven-week self-paced virtual learning plan that include video-based objectives featuring Power Apps, Power BI and Power Automate.  As a member of the Power Up Community, you can grow your skills and build connections. You can post questions to get help with the curriculum and hands-on exercises from experts and peers in the product boards.  Check out the Community Information & Feedback board to find help or provide feedback with the community experience, and please take time to post in the Social board to tell us more about yourself. If you're new to the Power Up Program and looking for information to register. You can sign up at PowerUp.Microsoft.com.

Users online (950)