Adding Salesforce IDs as Tokens to a URL | Community
Skip to main content
Ryan_Naja1
New Participant
September 4, 2018
Solved

Adding Salesforce IDs as Tokens to a URL

  • September 4, 2018
  • 1 reply
  • 3814 views

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.

Best answer by SanfordWhiteman

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

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
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.

Ryan_Naja1
New Participant
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.

SanfordWhiteman
New Participant
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...