Invoke custom app function from support tool
AnsweredIs it possible to invoke/trigger/execute a function/method defined inside the custom app, from the support tool by using triggers/webhook.
For example: I have a function fnGreeting() this function is defined in the custom app, the function will take a paramenter (sName) and will return back a welcome message "Hello to Ops Team Mr. {{sName}}.
So the query is, is it possible to be able to call a function which is defined inside of a custom app, from the host Zendesk product (support) via Trigger/Webhook.
-
Hi Amit,
It's possible to trigger execution offnGreeting()
in an active instance of the app from outside the app itself. This can be done using the Send Notification to App API. The API works by firing a custom event that you define within the app. Then in the event handler, you'd be able to callfnGreeting()
. Though I must caution that doing this within a trigger/webhook workflow could present complications (rate limiting, etc.). If the agent and app activity in this scenario is all happening within Support, your use case might allow for a simpler approach.
Please sign in to leave a comment.
1 Comments