Others

How to Add a Hyperlink to an Image in Power Automate Emails

Maira MehtabMaira Mehtab Oct 20, 2026 870 views

Question details

The user needs to make an image clickable by adding a hyperlink to it when sending automated emails via the Power Automate Send Email connector.

How to Add a Hyperlink to an Image in Power Automate Emails
Product
Power Automate
Device & OS
not provided
Scenario
Setting up an automated email workflow where an inserted image needs to act as a clickable hyperlink to a specific web page.
Observed behavior
The image can be successfully inserted into the email, but additional HTML configuration is required because it is not clickable by default.
Before you start

Ensure you have editing access to your Power Automate workflow, the destination URL for your hyperlink, and a hosted URL or base64 string for the image you want to use.

Solution 1Recommended

Use HTML View to Add an Anchor Tag around the Image

The most effective way to make an image clickable in a Power Automate email is to use the HTML view in the Send Email connector and manually wrap the image tag with an anchor link.

By default, the rich text editor in Power Automate inserts images as static elements. To turn them into clickable hyperlinks, you must switch to the code view and utilize basic HTML tags.

1
Open the Send an Email Action

Navigate to your Power Automate flow and click to expand the 'Send an email (V2)' action where you want to insert the clickable image.

2
Switch to HTML Code View

In the 'Body' field toolbar, click on the Code View icon (usually represented by </>) to switch the email editor from rich text to HTML mode.

3
Insert the HTML Hyperlink Code

Type or paste the following HTML structure into the body: <a href="YOUR_LINK_URL"><img src="YOUR_IMAGE_URL" alt="Clickable Image"></a>.

4
Replace the Placeholder URLs

Replace 'YOUR_LINK_URL' with the actual web address you want users to visit, and 'YOUR_IMAGE_URL' with the direct web link to your hosted image or dynamic content variable.

5
Save and Test Your Flow

Click 'Save' at the bottom of the workflow editor, then run a manual test to ensure the email is delivered with a fully functioning clickable image.

Use HTML View to Add an Anchor Tag around the Image
Dynamic URLs Support: You can insert Power Automate dynamic variables directly between the quotation marks of the href attribute to generate unique links for each email recipient.
Free Microsoft Office alternative

Enhance Your Document Workflow with WPS Office

While Power Automate handles automated tasks and emails perfectly, you often need a reliable office suite to create, edit, and review the documents or reports you share. WPS Office is a fast, lightweight, and highly compatible alternative to Microsoft Office that comes with essential tools for Word, Excel, PowerPoint, and PDF editing.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the downloaded installation file and follow the quick setup wizard instructions to install the suite.
  3. 3. Open and Edit Files: Launch WPS Office and immediately start opening, editing, and saving your existing Microsoft Office documents without formatting loss.
Seamlessly compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Design professional graphics, charts, and reports to attach or link inside your automated emails.All-in-one lightweight workspace with a familiar, easy-to-use tabbed interface.Built-in robust PDF toolkit for editing, converting, and compressing files effortlessly.
microsoft office alternative - wps office

Frequently Asked Questions

Why is the hyperlink button grayed out when I select an image in Power Automate emails?

The rich text editor in the Power Automate 'Send an email (V2)' action often does not support directly linking an inline image through the UI toolbar. Switching to HTML code view (</>) allows you to manually wrap the image tag in an anchor tag (<a href="...">) to resolve this limitation.

Can I use a base64 string instead of an image URL for the clickable image?

Yes. If your image is stored as file content rather than a public URL, you can convert it to base64 using the dataUri() expression. You would then format your HTML as: <a href="LINK"><img src="data:image/png;base64,YOUR_BASE64_STRING"></a>.

How do I remove the blue border around my clickable image in the email?

Some email clients automatically add a blue border to images that act as hyperlinks. To prevent this, add 'border="0"' inside your image tag like this: <img src="YOUR_IMAGE_URL" border="0" alt="Image">.