Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rsoesemann/salesforce-isv-cockpit

Salesforce LMA extension to simplify App support - Receives, parses & structures error mails send from Managed Packages
https://github.com/rsoesemann/salesforce-isv-cockpit

isv pbo salesforce salesfore-managed-package

Last synced: 24 days ago
JSON representation

Salesforce LMA extension to simplify App support - Receives, parses & structures error mails send from Managed Packages

Awesome Lists containing this project

README

        

# Salesforce ISV Cockpit

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](https://youtu.be/dERb_22VSfI)

## TL;DR - Click for Video Demo!

[![](http://img.youtube.com/vi/m0m6TH8-mnM/hqdefault.jpg)](https://youtu.be/m0m6TH8-mnM "")

## How does it work?

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.

## How can I use and extend this?

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](https://github.com/rsoesemann/org-error-inbox) that wants to receive, store, and proactively manage their org's error emails in a more professional way.