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

Custom Actions & Types- Add notification (in app) for the feature release #8272

Closed
PazYanoverr opened this issue Apr 1, 2024 · 2 comments · Fixed by #8318
Closed

Custom Actions & Types- Add notification (in app) for the feature release #8272

PazYanoverr opened this issue Apr 1, 2024 · 2 comments · Fixed by #8318
Assignees

Comments

@PazYanoverr
Copy link
Member

  1. Novu trigger id- custom-actions-and-types-feature-alert (in-app only)
  2. All the users that logged in during the last 12 months should get it (all plans) when the feature is released.

NOTE: Please show me the result (- how the notification looks in the app) before releasing!

import { Novu } from '@novu/node'; 

const novu = new Novu('<API_KEY>');

novu.trigger('custom-actions-and-types-feature-alert', {
    to: {
      subscriberId: '<REPLACE_WITH_DATA>'
    },
    payload: {
      payload: {
        envBaseUrl: '<REPLACE_WITH_DATA>',
        workspaceId: '<REPLACE_WITH_DATA>',
        projectId: '<REPLACE_WITH_DATA>',
        serviceId: '<REPLACE_WITH_DATA>'
      }
    }
  });
@mulygottlieb
Copy link
Member

Notification tested with Paz on Staging.
Now I've sent the notification on production to all users active in the last year (365 days).

@PazYanoverr
Copy link
Member Author

Passed QA -
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants