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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to add a GIF image...
Power Automate
Suggested Answer

How to add a GIF image in email body using Power Automate

(1) ShareShare
ReportReport
Posted on by 40

There is one discussion in the community but is not useful/working.
Could someone help/suggest in adding a GIF image in email body via Power Automate along with screenshots/expression?

Categories:
I have the same question (0)
  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @Mohammed_Ishaq ï¼Œ

    Please try <img>:

     

    GIF image Uri: https://media.giphy.com/media/6U6sno5AkUsOQ/giphy.gif

    <img src="https://media.giphy.com/media/6U6sno5AkUsOQ/giphy.gif" alt="Trulli" width="500" height="333">

     

    vchengfenmsft_0-1671073340147.png

     

    Here is result:

    vchengfenmsft_1-1671073373297.png

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

    Best Regards

    Cheng Fen

  • Mohammed_Ishaq Profile Picture
    40 on at

    @v-chengfen-msft Thanks for your quick response.

    Can I able to provide gif image stored in SharePoint or onedrive? How will I be able to fetch in this case without the URI??

  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @Mohammed_Ishaq ,

    Please use base64() to transcode [File content], and then use it in <img>

    Here is a test for your reference:

    Here is file in share point:

    vchengfenmsft_4-1671075274178.png

     

    vchengfenmsft_3-1671075247914.png

    Here is flow:

    vchengfenmsft_1-1671075149095.png

    Here is result:

    vchengfenmsft_2-1671075185116.png

     

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

    Best Regards

    Cheng Fen

     

  • Mohammed_Ishaq Profile Picture
    40 on at

    Hi @v-chengfen-msft, thanks for your suggestion.. I tried but isn't working for me.
    Not sure why ... please check my screenshots and help me out...Gif.PNG

  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @Mohammed_Ishaq ,

    Could you please tell me:
    1. The picture cannot be displayed in the mail?
    2. Or flow execution failed?

     

     

    I copied the formula, there may be reasons for the characters. Please try this:

    <img src="data&colon;image/gif;base64,base64(outputs('Get_file_content_using_path')?['body'])" alt="Trulli" width="500" height="333">

     

     

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

    Best Regards

    Cheng Fen

  • Mohammed_Ishaq Profile Picture
    40 on at

    @v-chengfen-msft ,

    The flow is running successfully but the picture is not displayed on the mail.

     

    The same formula being used but then also picture not showing 

  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @Mohammed_Ishaq ,

    This flow works for me.

    Why won't it work for you.
    Can you screenshot the email  body? (or provide your complete flow)

     

    Best Regards

    Cheng Fen

  • Mohammed_Ishaq Profile Picture
    40 on at

    Hi @v-chengfen-msft , Please find the complete flow

    Mohammed_Ishaq_1-1672411035292.png

     

     

  • rinkymaghnani Profile Picture
    4 on at

    This didnt work for me. Got a blank email. I had saved the gif image in sharepoint location. Used below code

    <img src="data&colon;image/gif;base64,@{base64(outputs('Get_file_content_using_path')?['body'])}" alt="Trulli" width="500" height="333">

  • dr_erik Profile Picture
    8 on at
    Is there any update, or solution?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard