The ISV Cockpit is a native Salesforce App that extends the Salesforce LMA in your Partner Business Org (PBO) and helps you monitor the health of your apps and proactively support your subscribers in error cases.
Features:
- Auto-Links Errors to Licence Management App (=LMA) objects (Accounts, Packages, Versions, Licences)
- Custom Metadata Tokenizer for flexible Email Parsing
- Understand your Apps help with Reports and Dashboards
- Notify Slack Channel on Errors
- Archive and Restore Errors using Big Object
- Fetches and reports on App Analytics Summary data
- Explain errors and fixes using OpenAI API integration
Managed Packages have the option to send out app errors to an email address defined during Package upload. We use this mechanism to let our app receive and parse those emails. In combination with the information in the LMA app, we can perfectly assign each incoming error to a customer account, a package, a package version, and a license. But we can do more. We also extract information about the type of error and where it occurred.
All this information is stored in a single Custom Object and can be easily used for reporting and sophisticated support workflows.
The project was built as a flexible, unnamespaced SFDX project. The repo contains all the scripts to build dev scratch automatically orgs with the LMA installed and sample data to play with.
From there, you can either build Unlocked Packages or push it into a Packaging org using the deployMetadata.sh script.
Feel free to fork the repo and extend it. We would love to get improvements as a Pull Request from you. Or create issues when you find a problem but don't want to fix it alone.
NOTE: This app has a younger brother for regular Customer orgs that wants to receive, store, and proactively manage their org's error emails in a more professional way.