reapit / foundations

Foundations platform mono repo
56 stars 21 forks source link

Build mechanism to track apps with no traffic #10697

Open plittlewood-rpt opened 4 months ago

plittlewood-rpt commented 4 months ago

Background context There are a number of active registered apps that do not have any traffic associated with them. We should consider whether or not these apps should remain active and if we should build a mechanism that notifies the developer they will be removed in X weeks or similar, before cleaning up.

Additional Information: Target point: Apps with active installations and 0 traffic (requests) for 2 + months

Example: The customer below installed an app on 16/01/24 and has no traffic since installation and the installation is still active:

image

Real example data available (speak to HP)

Example email template: Main Recipient: Notifications Email (if present, otherwise main developer org member email address) Bcc List: Store in parameter store, HP and MW

Dear Developer Name

We have noticed that following customer(s) have installed ‘APP NAME’, there has been no activity since installation and or for the past 2+ months:

CUSTOMER NAME – DATE OF INSTALLATION

Please reach out to the customer directly to continue the setup process or if the installation was done in error or no longer needed, you can terminate the installation from within the DeveloperPortal.

For more information on your installations, please click here.

Specification

HollyJoyPhillips commented 4 months ago

Hey @plittlewood-rpt we had an internal conversation with the Partnerships team about this and it's agreed we should look at notification automation. Partnerships team to provide content copy/requirements etc so we can review once received.

plittlewood-rpt commented 3 months ago

@plittlewood-rpt Tech spec needed (Lambda -> Eventbridge -> Email Template -> SES)

plittlewood-rpt commented 3 months ago

This is still on my to do list - skip in refinement this week