Recent searches
No recent searches
How to trigger user created event in Oauth app
Posted Nov 03, 2023
I'm a newbie to Zendesk. This is my first app in Zendesk. We are planning to build a paid app for Zendesk.
I want to send a post request to the third-party app from my Zendesk app for every contact creation in my Zendesk account. I have explored your sample apps in your docs. I created the Oauth app because that third-party app supports the Oauth authentication mechanism.
So how can I listen to the user-created event in my Oauth app? And is it possible to create a dynamic settings page? For example, I want to create the input fields based on data from the API request.
0
4
4 comments
Christopher Kennedy
For your use case, it may be simplest to build a server-side app. This would give you more flexibility in dynamically displaying pages based on interactions with external APIs.
0
Kithiyon A
Thank you Christopher Kennedy
How can I trigger my javascript function in my web app for every contact creation in Zendesk? Does your SDK library have any event APIs to achieve this?
0
Christopher Kennedy
The Apps Framework doesn't have APIs that listen for user creation, but you can create a webhook in Zendesk Support to send a request to the endpoint of your choice on user creation events.
0
Kithiyon A
Hi Christopher Kennedy
I will use Webhooks to listen to the user creation in Zendesk. I'm a little confused here. When do I need to register a webhook by making a post request? Does your app framework invoke any functions post-installation? If yes, I will write functionality to create a webhook inside the function that is invoked post-installation by the app framework.
0