Embedded action code

Hi everyone. I’m super new to all of this, so I have a very simple question

How can I create an embedded action in code? So that when my app is installed users can use this action? I only find how to create this action in app settings and nothing about code

Hey @Valeriya_Dudina
Welcome to the community :raised_hands:

I would say it’s 50% done if you have already configured it via the app settings. For the remaining 50%, I would recommend taking a look at this page https://pipedrive.readme.io/docs/app-extensions-embedded-actions#embedded-actions-data-exchange-on-opening-the-modal

Basically, embedded actions expect a JSON response from the endpoint that you have specified. The responses contain the definition of the UI components that are to be shown. Some components can also refetch responses (like select component)

Upon submission, the data is also forwarded to the specified endpoint, and we expect that the business logic is handled by the developer / the team responsible for it.

This topic was automatically closed after 10 days. New replies are no longer allowed.