Buttons in Embedded action modal

Hi team,we are an app developer from OAppS. We are trying to integrate with Pipedrive.For that integration, we are using embedded action, in that we are using primary action button request handler. we need a help to call the API after clicking primary button, but unfortunately we are getting an API call while loading a popup window itself. Kindly find my attachment. Your reply must be helpful to us. Thank you.


Hi @Aafren

When GET /try is called on your side, func() is executed right away. If you would like to execute func() after primary button click, please check these instructions