# Triggering Hook on app deployement

**URL:** <https://community.dynatrace.com/t/triggering-hook-on-app-deployement/38312>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app, workflows\
**Created:** [February 7, 2023, 3:01pm UTC](https://community.dynatrace.com/t/triggering-hook-on-app-deployement/38312 "2023-02-07T15:01:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkusHobisch](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@MarkusHobisch](https://community.dynatrace.com/u/MarkusHobisch)\
**Post date:** [February 7, 2023, 3:01pm UTC](https://community.dynatrace.com/t/triggering-hook-on-app-deployement/38312/1 "2023-02-07T15:01:48Z")

</div>

Hi team, is there a hook or something else that gets triggered when my app gets deployed on hub? I am asking because we wanna to do some setup stuff (creating settings, adding new workflows etc.) which has only be done once the app gets deployed?

---

<div class="post-metadata">

**Author:** ![PennyScully](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pennyscully/32/32029_2.png) [@PennyScully](https://community.dynatrace.com/u/PennyScully)\
**Post date:** [February 7, 2023, 3:10pm UTC](https://community.dynatrace.com/t/triggering-hook-on-app-deployement/38312/2 "2023-02-07T15:10:21Z")

</div>

Hi Markus,

Currently, we don’t have something like this available, although soon, something like this will be available:

1. In the near future you can ship a settings schema together with your app. when your app get’s installed these settings are registered.

2. concerning the creation of automations. This is also not yet possible, but there are plans in the pipeline that will allow you to be able to ship automations, notebooks, dashboards etc together with your app.

---

<div class="post-metadata">

**Author:** ![sinisa\_zubic](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sinisa_zubic/32/32498_2.png) [@sinisa\_zubic](https://community.dynatrace.com/u/sinisa_zubic)\
**Post date:** [February 7, 2023, 3:23pm UTC](https://community.dynatrace.com/t/triggering-hook-on-app-deployement/38312/3 "2023-02-07T15:23:58Z")

</div>

Hi Markus,

One workaround I can think of regarding adding workflows to an app: let the user via an intent create a workflow when first opening the app and persisting the workflow id as part of the app state.

Best,

Sini

---

<div class="post-metadata">

**Author:** ![MarkusHobisch](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@MarkusHobisch](https://community.dynatrace.com/u/MarkusHobisch)\
**Post date:** [February 8, 2023, 8:27am UTC](https://community.dynatrace.com/t/triggering-hook-on-app-deployement/38312/4 "2023-02-08T08:27:57Z")

</div>

Hi Sinisa,

thanks for your replay! Yes that might be a solution and wanna do something similar.
