Recent searches


No recent searches

Create custom object record when ticket trigger is invoked

Answered


Posted Feb 18, 2024

I have new custom object that should record some custom changes on tickets. I have ticket lookup relationship created on this custom object.

So what I would like when some change happen on ticket(for example when status of ticket is changed in most simple case), I would like to create new custom object of this type with link to ticket and some content.

How this can be done? Triggers doesn't have option to create new custom object records? 

Only way I can think is to create webhook to some external system API, and that system could then create this custom object record via API. But I want to avoid using any external systems. 


0

1

1 comment

image avatar

Brandon (729 Test)

Zendesk LuminaryUser Group LeaderThe Humblident Award - 2021Community Moderator

Hey Ivica Nedeljkovic

You should be able to create a webhook that leverages the Sunshine Objects API to create a new custom object.  Details here: https://developer.zendesk.com/api-reference/custom-data/custom-objects/custom_objects/#create-custom-object 

Beyond that, you'd need to create a custom sidebar app, something that our firm (729Solutions.com) has much experience with.  Hope this helps!

Brandon

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post