Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api-service): Usage insights email #7346

Draft
wants to merge 34 commits into
base: next
Choose a base branch
from
Draft

feat(api-service): Usage insights email #7346

wants to merge 34 commits into from

Conversation

scopsy
Copy link
Contributor

@scopsy scopsy commented Dec 22, 2024

What changed? Why was the change needed?

  • Introduced a new insight email workflow
  • Data fetched from Mixpanel and fanned out per-active organization
  • Not-permanent LD hidden API endpoint to trigger insight email for individual organizations
  • LD Hidden delivery of emails
  • Controllable using controls: "Marketing Section"

Rollout plan

  • Merge and manually test specific orgs for email integrity delivered to a static email
  • Implement a corn job to trigger insight emails monthly
  • Run cron in "dry" mode observing logic
  • Releasing FF and delivering prod emails

Screenshots

CleanShot 2024-12-23 at 10 13 44@2x

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

Copy link

netlify bot commented Dec 22, 2024

Deploy Preview for dev-web-novu ready!

Name Link
🔨 Latest commit 325762b
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/67685850163f7e0008fe35b3
😎 Deploy Preview https://deploy-preview-7346.dashboard.novu-staging.co
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Dec 22, 2024

Deploy Preview for dashboard-v2-novu-staging ready!

Name Link
🔨 Latest commit 325762b
🔍 Latest deploy log https://app.netlify.com/sites/dashboard-v2-novu-staging/deploys/676858508dda380008ee1e5f
😎 Deploy Preview https://deploy-preview-7346.dashboard-v2.novu-staging.co
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Dec 22, 2024

LaunchDarkly flag references

🔍 1 flag added or modified

Name Key Aliases found Info
IS_USAGE_INSIGHTS_ENABLED IS_USAGE_INSIGHTS_ENABLED

@@ -24,7 +24,7 @@ export const getBridgeUrl = async (): Promise<string> => {

// Local environments
try {
if (process.env.NODE_ENV === 'development') {
if (process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'local') {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Allow passing the well known also for the local environment not only dev

Copy link

pkg-pr-new bot commented Dec 22, 2024

Open in Stackblitz

@novu/client

npm i https://pkg.pr.new/novuhq/novu/@novu/client@7346

@novu/headless

npm i https://pkg.pr.new/novuhq/novu/@novu/headless@7346

@novu/node

npm i https://pkg.pr.new/novuhq/novu/@novu/node@7346

@novu/notification-center

npm i https://pkg.pr.new/novuhq/novu/@novu/notification-center@7346

@novu/framework

npm i https://pkg.pr.new/novuhq/novu/@novu/framework@7346

novu

npm i https://pkg.pr.new/novuhq/novu@7346

@novu/providers

npm i https://pkg.pr.new/novuhq/novu/@novu/providers@7346

@novu/shared

npm i https://pkg.pr.new/novuhq/novu/@novu/shared@7346

commit: 325762b

@scopsy scopsy changed the title feat(api): Usage insights email feat(api-service): Usage insights email Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant