Skip to main content
Solved

generateTargetUrl() generates url that is common for whole space

  • November 12, 2024
  • 3 replies
  • 24 views

panksi
Apprentice

as said in the title,
The hook url that was generated for me was baseurl//event/hook/freshdesk for example.
How do external events work then, is this hook tied to the space or to the each installation?
will it fire 35 times if 35 agents use the app?

Best answer by mahendarsingh

Hi ​@panksi 

Thank you for bringing this up. 

The webhook URL generated (e.g., baseurl//event/hook/freshdesk) is tied to the specific app installation, not individual agents. If the webhook setup in your Freshdesk automation is triggered by an event that involves multiple agents, the webhook will fire for each event that matches the conditions you've defined. For example, if 35 agents perform actions that meet the webhook’s trigger conditions, it will fire 35 times—once for each matching event—rather than being solely tied to the overall app or installation.

View original
Did this topic help you find an answer to your question?

3 replies

Kamakshi V
Community Manager
Forum|alt.badge.img+10
  • Community Manager
  • 288 replies
  • February 25, 2025

Hey ​@Daniel Söderlund !

Do you have any inputs here for panksi? Any support would be appreciated.


Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14
panksi wrote:

as said in the title,
The hook url that was generated for me was baseurl//event/hook/freshdesk for example.
How do external events work then, is this hook tied to the space or to the each installation?
will it fire 35 times if 35 agents use the app?

Are we talking about SDK/app or normal API requests from a webhook in  automation?

What is the endpoint in that case ?


mahendarsingh
Community Manager
Forum|alt.badge.img+8
  • Community Manager
  • 117 replies
  • Answer
  • March 31, 2025

Hi ​@panksi 

Thank you for bringing this up. 

The webhook URL generated (e.g., baseurl//event/hook/freshdesk) is tied to the specific app installation, not individual agents. If the webhook setup in your Freshdesk automation is triggered by an event that involves multiple agents, the webhook will fire for each event that matches the conditions you've defined. For example, if 35 agents perform actions that meet the webhook’s trigger conditions, it will fire 35 times—once for each matching event—rather than being solely tied to the overall app or installation.


Reply