Skip to main content
Solved

Is it possible to embed an image (customer logo) in an Action Flow Outlook email body?

  • November 21, 2025
  • 2 replies
  • 45 views

david.stefa13
Level 6
Forum|alt.badge.img+15

Is it possible to embed an image (customer logo) in an Action Flow Outlook email body?

I read the related topic “Action Flow-Screenshot of an analysis as image in a mail body” but that thread has been inactive for ~ 1yr and it does not appear it was successful. The Outlook module also has its own nuances to it (text body content vs html...).

Thanks

Best answer by david.stefa13

Hi Martina,

Thanks for your reply and insight.

I did get the html coding to work inside the Outlook body content.

I did try using a webp file type when I copied the image address as the src=file but I was unable to get that file type to work in the Outlook email so I just switched to the .png

Thanks,

David

2 replies

m.sanchezmedina
Celonaut

Hi David,

 

Based on your question, I assume you are already formatting your e-mail content with html.

Please try transforming your image into a base64 encoded string. You have two options to do this:

  • Option 1: If you have already uploaded your image into the action flow, e.g., with the google drive module, you can simply use the base64() function which is native to action flows. As a parameter, insert the binary data object of the file → base64(1.Data)
  • Option 2: The image sits on your local computer. Generate the base64 encoding yourself with python. The code is: 
    import base64

    with open("logo.png", "rb") as image_file:
    base64_string = base64.b64encode(image_file.read()).decode()
  • Option 2 (Not recommended): The image sits on your local computer. Use an online service to convert the image into base64.

 

Then you can include the img tag in your content. 

<img src="data:image/png;base64,[your_base64_encoded_image_here]" alt="Customer Logo" />



Important: Please bear in mind that this solution has some caveats regarding inconsistent rendering, so please test it thoroughly: https://support.celonis.com/s/rightanswer?language=en_US#solutionid=250801191749200&csid=12

Best,

Martina


david.stefa13
Level 6
Forum|alt.badge.img+15
  • Author
  • Level 6
  • Answer
  • December 18, 2025

Hi Martina,

Thanks for your reply and insight.

I did get the html coding to work inside the Outlook body content.

I did try using a webp file type when I copied the image address as the src=file but I was unable to get that file type to work in the Outlook email so I just switched to the .png

Thanks,

David