Skip to main content
Question

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

  • November 21, 2025
  • 1 reply
  • 25 views

david.stefa13
Level 5
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

1 reply

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