How to show a Lead URL

Grégoire_Miche2
Level 10

Re: How to show a Lead URL

I just mean I cannot see from you screenshots what you have entered in the task subject.

The formula field iOS a good way to go, though.

-Greg

Anonymous
Not applicable

Re: How to show a Lead URL

Oh, that...It's just some text showing the first and the last name of the lead...company, job title...that kind of stuff...
That part is ok. It's working. But, when I add the wrong field at the end of the URL, the task is not created...so, my conclusion was that I am using the wrong field...
I wanted to avoid creating one more field in the SFDC. There are already to many of them...

Grégoire_Miche2
Level 10

Re: How to show a Lead URL

OK, got it, the exact token to use is {{lead.Lead SFDC ID}}

TIP: when I cannot find a token syntax in a place where there is no token picker, I create a dummy email and use the token picker in the rich text editor.

-Greg

Anonymous
Not applicable

Re: How to show a Lead URL

Still no luck...
If this is working for you, maybe there is some problem with settings in my Marketo...

Anonymous
Not applicable

Re: How to show a Lead URL

I managed to solve the problem in another way, but I don't like it. I would like to use the original field from Marketo if I can.
I created a custom formula field in SFDC on the Lead object to capture the Id of the lead. I used that field in the URL... and it's working

Rachel_Noble
Level 10 - Champion Alumni

Re: How to show a Lead URL

Try this:

Create a new email in Marketo (you'll delete it so don't worry about the template or anything). Edit the body of the email, and click Insert Token {...} in the top right of the text editor. If you type "SFDC" it will show you all the fields with SFDC in the name, so find the one that has a name similar to SFDC ID (the name can vary unfortunately).

Screen Shot 2018-05-21 at 4.25.31 PM.png

Now you know exactly which token to use.

I also noticed in your screenshot that the L in lead is capitalized in your token ({{Lead.SFDC ID}} instead of {{lead.SFDC ID}}) - you'll want to make sure lead is all lower-case.

Anonymous
Not applicable

Re: How to show a Lead URL

Thanks Rachel. I will try to do it your way and will let you know how it goes.

Anonymous
Not applicable

Re: How to show a Lead URL

Hi Rachel,

In the list, the name of the field is {{lead.SFDC Id}}, but it's not working. All the other fields are with L for the Lead, but I tried all possible combinations with upper and lower cases...and no luck... 😕

The only thing that is working is the custom field I am using to read the Id of the Lead record. As I said, I would like to use the standard field if it's possible and if not...oh, well...

It could be some other settings in my Marketo are messing with this...

Thanks for your help.

Josh_Soffe2
Level 2

Re: How to show a Lead URL

Hi Ivan,

Have you checked the results history of the campaign? Do you see a 'Choice had one or more invalid tokens, skipping 1 leads'?

You cant use SFDC ID in these flow steps and also infact cannot use the default {{SP_Send_Alert_Info}}.

What are you trying to achieve here, the task is created and linked through to the lead object in Salesforce anyway. So the user in fact only needs to click on the name part of when viewing a task to navigate back to the lead page, see screenshot below

sfdc12.PNG

I would instead send an email alert if you want to let someone know they have something to action and utilise either the {{Lead.SFDC ID}} or better still the {{SP_Send_Alert_Info}} which will inset the SFDC URL so the sales person can action the task request.

Best

Josh Soffe

Anonymous
Not applicable

Re: How to show a Lead URL

Hi Josh,

Thank you for your reply.

I am getting the message about the invalid token.

Why I can't use SFDC ID here? Is it some kind of the Marketo limitation?

I know I can add an automatic task creation after the lead is assigned in Salesforce, but I thought it all could be done here, in the flow. It looked like an easier solution...

I read about the {{SP_Send_Alert_Info}} and it looks really good. I will probably go either with that or with creating a task in Salesforce.