Skip to main content
Ryan_Naja1
Level 2
September 4, 2018
Solved

Adding Salesforce IDs as Tokens to a URL

I am trying to add Salesforce IDs as tokens to a URL link in a CTA button, has anyone tried to do this or knows how to do so? The URL leads to a Qualtrics survey.

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
September 4, 2018

Like any token. I believe this one is {{lead.SFDC Id}}. You do not need to encode it as it's URL-safe already.

4 replies

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
September 4, 2018

Like any token. I believe this one is {{lead.SFDC Id}}. You do not need to encode it as it's URL-safe already.

Translate
Ryan_Naja1
Level 2
September 4, 2018

Thank you. My main question though is adding the token to an inserted link. Where would it exactly be placed? The URL is a survey and opens with a customized URL for each user that joins, I want to add the token to this so it would be unique to the Lead's unique ID.

Translate
SanfordWhiteman
Level 10
September 4, 2018

I assume the destination site expects it to be a specific query param, like

  example.com?id={{Lead.SFDC Id}}

Guess I don't understand why you'd be using this token if you didn't know where to put it...

Translate