Contact creation event in freshservice

HI Folks,

I have one use case in fresh service, if contact creation occurs need to update a contact custom field, is there any alternative way to this?

1 Like

Hi Tejasri,

As far as I know, we can’t capture the requester creation event, nor this can be handled through workflow automator.

One way around could be to use scheduled events. Setup recurring schedule for every 1h maybe, or whatever time interval suits your business case and query all requesters and update the custom fields. Since we can’t filter out requesters by created_at date, you can do is:

  1. Run the scheduler for first time and update all contacts.
  2. Save the ID of latest requester in DB.
  3. Next time the scheduler runs, iterate over each requester and update until you find the requester with ID saved in DB.
  4. Update the last requester ID in DB.
  5. Repeat.

This is one of the way around you can use. Hope this would help you in resolving your business use case.
Let me know if this works for you :slight_smile: