Discussions

 View Only
  • 1.  run an action or a webhook based on orignal value

    Posted 05-08-2019 21:49
    I am trying to run a webhook that only based on orignal value and that value changes. 
    For example, i have a dropdown field that has the value from 1-4.  What i want to try to do is run a webhook when the field is modified, but only if the original value was 1 and it got changed.  If the valus is 2-4 and it changed, the webhook should not fire.


  • 2.  RE: run an action or a webhook based on orignal value

    Posted 05-08-2019 22:04
    Your best bet is to going to be have a current and prior fields run concurrently so you have them to compare in your other webhooks. Basically - using automations or Quick Base actions - any time your MC field changes - you will store the 'old' value into the admin only 'past' field. The difference here is that I'm not aware of how to use the 'old' value as a filter / trigger condition - but you can access the old values in the actions. 

    So to your particular process - a solution might be: 
    1) set up an automation - whenever your main MC field changes - take the old value and store into into 'past' field
    2) Set up your newest webhook - that whenever your 'past' value changes - check on the current and prior status to see if it matches your condition

    Chayce Duncan | Technical Lead
    (720) 739-1406 | chayceduncan@quandarycg.com
    Quandary Knowledge Base