Open plittlewood-rpt opened 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 Tech spec needed (Lambda -> Eventbridge -> Email Template -> SES)
This is still on my to do list - skip in refinement this week
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:
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
Marketplace_Installations
trafficStatistics /{month}/stats
endpoint for this egGET trafficStatistics/2024-04/stats?applicationId=162ff1bb-5838-4329-abc4-e929cb531e3c