preventing create conversation loop

In our serverless app we use the onConversationCreate event to put notes into our clients service now "work notes" field.

We discovered that it creates a loop of comments going back and forth.

example. 1) i make a note in freshdesk -> it creates a work note in their incident, it then creates a note in ours again ( they also update tickets with 'put' method api ) and it repeats .

example 2 ) they create a work note which then updates our ticket with a note which then sends that note to them again and it repeats.

Is there a way to stop the onConversationCreate event when they add a note via api to our freshdesk ticket?

Login or Signup to post a comment