Sending Images to Teams via InsightConnect with the Microsoft Office 365 Email Plugin

Use Case:

  1. Send the Screenshot a URL plugin output to a Teams message as part of the URL analysis within a workflow.

How To:

  1. Identify the email address for the Teams channel.

  2. Configure the Office 365 Email plugin to send an attachment to the Teams channel.
    Attachment Format
    [{“content”:"{{[“screenshot plugin”].[screenshot]}}",“filename”:“Screenshot.png”}]
    Be sure to include the extension for the file type in the filename.
    The Content is a base64 encoded attachment

  3. The image will come in a Teams message as an attachment along with the body of the email.

Sample Teams Message:
Screen Shot 2022-07-26 at 1.41.01 PM

Sample Email Config Step:

Sample Workflow:
Screen Shot 2022-07-25 at 4.25.30 PM

Let me know what you think, or if you have any questions.


This is a very neat trick which hadn’t occurred to me. Thank you for sharing!

Bonus: I notice there’s a useful Troubleshooting section in the Microsoft documentation link you shared.

It took a few days of me trying increasingly complicated ways to try and do it before I figured that out.

1 Like