Skip to main content

We have a requirement to enable direct navigation from a DealHub Quote to its associated Salesforce Opportunity. Could you please advise if DealHub supports creating a hyperlink field that dynamically links to the Salesforce Opportunity? 

Hi McKinsey,

 

Yes, Dealhub supports creating this Hyperlink, and you can set it to be the name of the opportunity rather than just the link itself. This was created from my Sandbox:

1. You need to pull the opportunity ID into the playbook into a hidden question.

2. Open an opportunity in production SFDC and copy/paste the URL.
3. In the middle of the URL you will see the opportunity ID.

4. Copy that link into a rich text answer and replace the opportunity ID of the URL with the parameter from the question you created in step 1.

 

attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTA2MDA1ODgyNDkyNiwiZG9tYWluIjoibXlkZWFsaHViLmZyZXNoZGVzay5jb20iLCJhY2NvdW50X2lkIjoyODg2NzgwfQ.la8gvj_XVvVTpNA_qM2wKxfKNUcvpZzvQPeHucHfZU0
5. Copy that link and then delete it, and use the 'opportunity name' parameter:

attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTA2MDA1ODgyNDc1NiwiZG9tYWluIjoibXlkZWFsaHViLmZyZXNoZGVzay5jb20iLCJhY2NvdW50X2lkIjoyODg2NzgwfQ.3B-x6RDotE5jb1jYoNA9WCvb-rrHbsZMfmIGOTROd6I

6. Highlight the parameter and then click the link icon:

attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTA2MDA1ODgyNDc5NywiZG9tYWluIjoibXlkZWFsaHViLmZyZXNoZGVzay5jb20iLCJhY2NvdW50X2lkIjoyODg2NzgwfQ.7fSQXW5MeYiRBgmoKLycGDlz5daIfsuA0I1ihzNt684

7. Paste the Salesforce link from before with the parameter in it. 

attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTA2MDA1ODgyNDgwNCwiZG9tYWluIjoibXlkZWFsaHViLmZyZXNoZGVzay5jb20iLCJhY2NvdW50X2lkIjoyODg2NzgwfQ.0nw14GiXDt6GW_y73TOzEuvqeKayzFsmeN0lqI6XLcQ

8. Set that question to read-only:

attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTA2MDA1ODgyNDgyNywiZG9tYWluIjoibXlkZWFsaHViLmZyZXNoZGVzay5jb20iLCJhY2NvdW50X2lkIjoyODg2NzgwfQ.Z1_5W0OGpeyYJuiq0ikuQcEEBi6EmGfmQoTl3SeUDSI

And this is how it will look on your quotes!

attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTA2MDA1ODgyNDkwMCwiZG9tYWluIjoibXlkZWFsaHViLmZyZXNoZGVzay5jb20iLCJhY2NvdW50X2lkIjoyODg2NzgwfQ.adDbAYyxFlyQkrnCEb5WnVsu5ug9KmEIoKI26K_5RtI


Hi,

Create two playbook questions:

  1. Question to fetch the Opp ID from Salesforce (Can be hidden):

     

  1. Rich Text question with a Hyperlink:

    In the hyperlink, reference the first playbook question to keep the URL dynamic. For example:
    https://accountname.lightning.force.com/lightning/r/Opportunity/%GI.OppId%/view
    (Note: The exact URL may vary. Please adjust it to match the correct Account context.)

    This approach makes the URL dynamic by incorporating the value from the first playbook question (GI.OppId).

 

Hope it helps.