Re: Why doesn't Smart Campaigns react to opportunity trigger constraints

Anonymous
Not applicable

Why doesn't Smart Campaigns react to opportunity trigger constraints

Hi!

We are sending lead and opportunity data to Marketo through the REST API.

Our flow is the following:

Create lead

Add to opportunity

Update opportunity

Our smart campaigns trigger nicely on Opportunity updated with Old value and New value. However, it fails to trigger we add a constraint to the Smart list on e.g. "name" IS NOT EMPTY.  Even though I know that name on the opportunity contains the text string "RFQ". I have tried with other constraints than name but with the same result.

I have searched through the documentation and a ton of other threads on the forum without success so I really hope you guys can help me.

Thanks!

Best regards, Nikolaj

6 REPLIES 6
Josh_Hill13
Level 10 - Champion Alumni

Re: Why doesn't Smart Campaigns react to opportunity trigger constraints

Do you mean your trigger looks like

  • Lead is Created
  • Added to Opp
  • Opp is Updated

?

Any of those conditions will work.

Why do you need Old Value and New Value on Opp is Updated? What is changing there? Do you need those specific values or can you just make it a blanket condition?

Anonymous
Not applicable

Re: Why doesn't Smart Campaigns react to opportunity trigger constraints

Hi Josh (and Kenny),

Thanks a lot for your swift response!

I'll just try to elaborate a bit on the issue. Basically I have a Smart campaign with this Smart List:

Skærmbillede 2016-09-20 kl. 22.25.51.png

Looking at the API requests in the activity log for the lead I am testing I can see that the new person is created correctly and the TEST_RFQ opportunity added:

Skærmbillede 2016-09-20 kl. 22.23.11.png

Details on the "Add to Opportunity" activity says that Lead Application Status starts out as pending_review and Name is TEST_RFQ: (The screenshot doesn't show, but the Oppty ID is 3714)

Skærmbillede 2016-09-20 kl. 22.23.38.png

A few minutes later the Lead Application Status is updated from "pending_review" to "open_for_offers". Nothing else changes between these two updates on the opportunity. I would assume that this would trigger the Smart Campaign - but it doesn't.

Skærmbillede 2016-09-20 kl. 22.24.20.png

However, if I remove the 'Name is "TEST_RFQ"' from my Smart Campaign it triggers correctly. But this is really not a feasible solution for me as that would risk triggering the Smart Campaign on the wrong conditions.

Hope this helps clarifying my issue.

Best regards, Nikolaj

Kenny_Elkington
Marketo Employee

Re: Why doesn't Smart Campaigns react to opportunity trigger constraints

My first guess would be that the name in the SL doesn't strictly match the name in the Opportunity.  I would check these things:

  • Make sure that you're using the same type of underscore in both places.  Possibly try a test name that only has alphanumeric characters to ensure you're looking at the same exact string.
  • Make sure that there are no spaces at the beginning or end of the Opp name you're submitting.  The UI trims these in most places, so they may not appear when looking at the Opp data.
Anonymous
Not applicable

Re: Why doesn't Smart Campaigns react to opportunity trigger constraints

Thanks - however they seem to match exactly - and actually even if I change the constraint to be "Name IS NOT EMPTY" it still doesn't trigger. So I guess from Marketo's point of view the "Lead Application Status" attribute on the opportunity is empty when it matches the trigger.

Nikolaj

Kenny_Elkington
Marketo Employee

Re: Why doesn't Smart Campaigns react to opportunity trigger constraints

It shouldn't be working that way.  I would file a support ticket.

Kenny_Elkington
Marketo Employee

Re: Why doesn't Smart Campaigns react to opportunity trigger constraints

Are you creating the corresponding opportunity role to link the Lead and the Opp?  The Added trigger looks for the creation of a role linked to a lead, while Updated looks for updates made to linked opportunities.