onConversationCreate - source field

Hi,

When catching the onConversationCreate create event in a server app, the source is always 0 (zero);

Steps:

  1. Create a ticket in the portal.
  2. Reply, cc’ing a user.
  3. Reply to ticket from email. Check payload in onConversationCreate event - source is 0 but should this be 8 according to the documentation? Maybe I am misunderstanding…

The source value is confirmed by retrieving the conversation using the Postman and the API.

Please advise.

Thanks,
bfp

Hi @bfp,
Sorry for the delayed response.

Source in conversation have different values than that of email. You can find more about source inside conversation at Freshdesk or at Product Events

Hi,

Thank you for the response. this is how it should work but it does not - the source is always 0 when the event is caught.

Thanks,
bfp

1 Like

@bfp The source attribute in the onConversationCreate product event will return 0 for reply types. Since it’s replied to the ticket conversation, it’s returning 0.

Type 8 is returned only when the conversation is created from a forwarded email. Have you tried this type?

1 Like