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
Do you mean your trigger looks like
?
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?
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:
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:
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)
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.
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
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:
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
It shouldn't be working that way. I would file a support ticket.
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.