Trigger off of Opp Closed Won not triggering | Community
Skip to main content
July 18, 2013
Solved

Trigger off of Opp Closed Won not triggering

  • July 18, 2013
  • 12 replies
  • 2190 views
I have added a trigger to one of my nurturing campaigns to trigger on a closed/won opportunity of a certain type. I made a dummy opportunity and saved it and have been waiting 10-15 mins for the trigger to go off. It has not. I also have a smart list which supports the campaign, with the filter "Opportunity Updated in Last 1 Day". This does not show my dummy lead attached to the opportunity. What am I missing? Does the lead have to be PRIMARY contact on the opp to be considered?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
A couple more things to check before I give up :0)  Check the Activity Log for the lead that has a Contact Role on your dummy Opp.  Is there an Add to Opportunity activity and in its Activity Detail is the Stage a value prior to "Won"?  Is there a Update Opportunity activity some time later and in its Activity Detail is the Stage value "Won"? 

12 replies

July 19, 2013
Elliott, sending me down that rabbit hole revealed my hypothesis to be true. The synch into marketo must first allow the system to register the lead as being added to the opportunity. Only then can you expect a trigger to actually work with any other update. This has solved my problem! Thank you
July 19, 2013
i think it needs time to synch over the ADDED TO OPP first, and THEN only will it trigger off of UPDATE OPPORTUNITY with the parameters I put above. Like Marketo needs to first recognize the lead in the opportuntiy, then only will it accept an update of stage to trigger. It won't work if both are done at the same time. In real life this would occur this way anyways, so let me test my theory. Gotta wait a few minutes for the changes to synch. I'll post back shortly. 
July 19, 2013
Hmm, interesting - let me take a look. Maybe it bugged out because I both added to opp AND updated stage in 1 save in SFDC? 
Accepted solution
July 19, 2013
A couple more things to check before I give up :0)  Check the Activity Log for the lead that has a Contact Role on your dummy Opp.  Is there an Add to Opportunity activity and in its Activity Detail is the Stage a value prior to "Won"?  Is there a Update Opportunity activity some time later and in its Activity Detail is the Stage value "Won"? 
July 19, 2013
Let me just put in a support ticket, I appreciate your help guys but don't want to waste more time if there's some bug
July 19, 2013
Hi Elliott - I would think that would be the case, but a day later even my smartlist (which is just a smartlist, no other ties to anything else) will not populate with my 1 dummy lead from the dummy opportunity created. 
July 19, 2013
Naor, there may be a timing issue (of microseconds) between when the trigger fires in your smart campaign and the lead qualifies in your smart list and is available to the smarft list if the Opportunity update that was made in the last 1 day is the same one that is causing the trigger to fire.  Can you provide ascreen shot of the smart list in the smart campaign as well as a screen shot of the flow actions?
July 18, 2013
Got it. If you feel up for it, can you provide a screen shot of the Account Detail and the Opp Detail? To me, you have set this up right. I don't mind continuing to brainstorm with you. If not, maybe someone else can chime in or you can ask support.
July 18, 2013
I think i've asked Marketo to make our synch as fast as available. I created both a fake lead and fake opp and did everything by the book. Still nothing. I even updated the opp multiple times to ensure it was updated. 


July 18, 2013
To me, it appears that you have set this up correctly. I recreated your smart list and was able to see results. What is the timing of your synch? Every 30 mins? 1 hour? I don't imagine that is the reason, but thought I would ask.

Did you update the Opp before adding the dummy record to it?