Hello! When a lead is submitted via our embedded form on our website, we have an email that gets sent to the assigned Sales Person. In this email, I want to include a link to the lead in SF in the email that gets sent. This requires me to pull a sub-string out of the SFDC Standard Field: Photo URL which usually looks like this: /services/images/photo/00Q3u00001g####### ("/services/images/photo/" is always there, and the length of the string below is always the same) I need to pull out this part: 00Q3u00001g#######
Then insert that in to here: SalesForceLink.com/lightning/r/Lead/00Q3u00001g#######/view I have not done much coding in Marketo, but from the bits and pieces I have found on the internet, I feel like this should be possible, but I'm not totally sure. Any and all help is appreciated(: P.S. in a perfect world, I could take the final SF link and have it be a Hyper link to something like "Click here to see lead in SalesForce" but I will take just pasting the link in the email Edit: I just realized the Field "SFDC ID" field has the string I need, so we can ignore all of that substring shenanigans. Edit 2: So I did not realize that I could just drop the SFDC ID Token in to a hyperlink, and it just works. So if you are like me and tried to make some convoluted mess, all I did was Insert a link on the phrase "Link to Lead in SFDC" and in the URL section, I have "salesforce.com/lightning/r/Lead/{{lead.SFDC Id}}/view" and it works perfectly!
... View more