Invoke custom app function from support tool

已回答


已于 2022年8月11日 发布

Is 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.


0

1

1 条评论

Hi Amit,
 
It's possible to trigger execution of fnGreeting() 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 call fnGreeting().  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.

0


请先登录再写评论。

找不到所需的内容?

新建帖子