Skip to main content

Notifications

Announcements

No record found.

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 190

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. 

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

    Thank you. This is great and has worked.

  • Community Member Profile Picture
    Community Member Microsoft Employee 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.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee 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.

  • Suggested answer
    Wahaj Rashid Profile Picture
    Wahaj Rashid 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)

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans