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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Inserting a hyperlink to a lead in an email through a workflow process

(0) ShareShare
ReportReport
Posted on by 200

Hi

We have created a process for alerting staff when a lead has been assigned to them, we want to link to the lead so they can go straight to the lead from the email. in the email body we have clicked on "insert hyperlink" and selected Lead and Topic so it shows the lead "name" but when we run it the email comes through fine but the link doesn't work. any suggestions as to where we have gone wrong?

pastedimage1615553809617v1.png

So our final email looks like 

pastedimage1615553844590v2.png

but when the email comes though the text looks like a link and you can click on it but it just hangs and then the mouse cursor goes back to the pointer. 

I have the same question (0)
  • Suggested answer
    Wahaj Rashid Profile Picture
    11,321 on at
    RE: Inserting a hyperlink to a lead in an email through a workflow process

    Hi,

    Thank you for your query.

    You need to send the Record URL in the email.

    Please see flowing post:

    HowTo send record Url pointing to specific Model Driven Apps – Andrew Butenko's Blog

    Navigating to UCI from Record URL (Dynamic): A Custom Code Solution - Top Microsoft Dynamics and NetSuite Partner & Dynamics CRM Consultant in San Diego (alphabold.com)

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Inserting a hyperlink to a lead in an email through a workflow process

    Hi louisa,

    You can’t directly add dynamic record url to the email, but you can create new url field and add it to the lead form, then update the field when contact is created, then add the url field to the email in workflow.

    So the only question is whether your url contains the Appid

     pastedimage1615789190116v1.png

    1.Include.

    (1) Create a new url field in lead entity and add it to the form.

    pastedimage1615791162698v11.png

    (2) Go Power Automate(https://us.flow.microsoft.com/en-us/ ) to create an automated flow.

    pastedimage1615789260824v3.png

    (3) Trigger is “When a record is created”.

     pastedimage1615789246442v2.png

    (4) Initialize variable

    copy the url without guid from the bar directly.

    pastedimage1615800442767v1.png

    (5)Update a record. 

     pastedimage1615789551944v5.png

    (6)Test,

    pastedimage1615790253347v7.png

    For existing lead, you can create an instant flow (trigger is when a row is selected), other steps is same with automated flow.

    pastedimage1615790320700v8.png

    (7) Now, you can add URL field to the email in the worklflow.

    pastedimage1615791248279v12.png

    pastedimage1615791340798v13.png

    2. Not Include.

    you can directly add {Record URL(Dynamic)} to the email in the workflow.

    pastedimage1615791413845v14.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Community Member Profile Picture
    on at
    RE: Inserting a hyperlink to a lead in an email through a workflow process

    Hi Partner,

    Has the problem been solved? Any updates?

    Please click Yes under "Did this answer your question?" to close this thread.

     pastedimage1615966800531v1.png

    Thanks. 

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • louisa lane Profile Picture
    200 on at
    RE: Inserting a hyperlink to a lead in an email through a workflow process

    Thank you. This is great and has worked.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 101

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans