Skip to main content
September 29, 2014
Question

How to differentiate whether a field modification is done by UI or REST API ?

  • September 29, 2014
  • 6 replies
  • 1285 views
HI Everbody, 
Trying to create a smart campaign, to call the webhook for leads which are modified using UI Only. (Not by REST API.) 
Is there any OOTB functionality to achieve this ? 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

September 29, 2014
In your smart list you will use the data value changes trigger and you can add the constraint called reason and set the value to "Manual Lead Update".
September 29, 2014
HI,
Thanks for the reply. Not sure why, But I did not get this value in auto fill suggestions.  I added reason "Manual Lead Update" manually when the "First Name" data value changes in my smart list. But still, A lead did not get triggered when i update the first name. any suggestions? 



September 29, 2014
Are you setting the name for the fist time? Or changing it from X to Y?
September 29, 2014
HI,
I am changing the first name from X to Y. Here is whole scenario:
  If a new lead is created or any modification to the existing lead on First Name, email.. etc  - calls webhook to push the lead details External (Siebel) System using a webhook. Webhook is working fine when invoked for a new lead/modification to lead attributes. Again Siebel will cleanses contacts and updates leads in marketo using the REST api with UUID Details. To Avoid infinite looping wanted to differentiate modifications done by UI and API. 

September 29, 2014
Santhosh - I do not understand why this would create an infinite loop? Here's my understanding:

The first webhook would be called based on a data value change. You then update the field via the API. This would trigger a second webhook, but on the second API call the data you are pushing into Marketo would be the same. So there would be no change data value the second time. You would then exit the loop because a third webhook would not be called.
September 30, 2014
HI, Its not necessarily the same data from SIebel for the already existing contacts. Everytime External system updates the lead data( ex: first name AND/OR address.... )  using REST API in Marketo, The webhook is re-triggering as data is updated by REST.  Where can I get more info/docs on "Manual Lead Update" reason?