Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Anonymous
Not applicable

Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Should the following "webhook is called" trigger work? Can I use tokens – either {{my.tokens}} or {{program.id}} tokens – here?

pastedImage_0.png

I want to add a campaign under a template program I'm building that will look for the {{program.id}} in the response and send an alert if it's there.

It's not part of the response yet, so I tried testing by using a {{my.token}} that contains a piece of the response that's already there. ("SUCCESS".)

The webhook was called and contained "SUCCESS" in the response, but no alert was sent. When I just substituted the actual text into the field – where {{program.id}} appears in the above image – it sent the alert, but not when I used a {{my.token}} that contained that same string.

24 REPLIES 24
SanfordWhiteman
Level 10 - Community Moderator

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Yeah, tokens don't work here AFAIK.

Anonymous
Not applicable

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Thanks, Sanford! Always the first to help!

So what's the best way to address this? The webhook returns a response, and if it contains a certain string, I want Marketo to take an action. (Send an alert to the owner of the program.)

Dan_Stevens_
Level 10 - Champion Alumni

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Osman, you can't use tokens at all in triggers/filters within smart lists of smart campaigns.

Allow the use of tokens within Smart Lists of Smart Campaigns

Tokens on Steroïds

Anonymous
Not applicable

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Hi ,

 

Not only for program , if you can provide more tokens for campaign,list,opportunity then webhook should work for all those things , but now webhook only give all the related tokens for lead and company , so we are expecting like lead and company if you will provide for program,campaign,list and opportunity then webhook should work for all those things .

 

Thanks

Anil Kumar Nayak

SanfordWhiteman
Level 10 - Community Moderator

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

I don't think you understand the issue.

Anonymous
Not applicable

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Yes , but why in webhook limited number of token for program,campaign and why there is no token for list which will say this lead added into this list . that is only my prospective .

SanfordWhiteman
Level 10 - Community Moderator

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Which of the static lists that a lead is a member of would appear in such a token?

Anonymous
Not applicable

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

yes, I wants if any lead is added into lists it should say yaa this lead is added into this list .

SanfordWhiteman
Level 10 - Community Moderator

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

The {{trigger.name}} for the Added to List trigger does contain the list name.