Add member to organization
This is your code when we want to add some new member to organization:
As you can see you assign command.email to subscriberId but how it is possible to send invitation to new user to join organization when subscriberId is generate in random way? I have create custom template and it works but the problem is subscriberId which is not an email in this situation. Is it another way to add someone to same organization?
Thanks for answer
4 Replies
Hi @sgrzelak
As far as I know, if you invite a new user in your org, user first creates novu account and then joins the org
Are you self hosting Novu?
yup, self hosting
ok user first creates novu account for some email
but the subsriberId is generate in some random way
so how to invite such a user to ogranization/
?
Hey there @sgrzelak, this feature is not supported in the self-hosted meaning that the new user won't get the email.
I know this flow can be confusing here, in this flow Novu using Novu in order to send the mail invite. The command.email is the email that you are providing in the WEB dashboard in
I know this flow can be confusing here, in this flow Novu using Novu in order to send the mail invite. The command.email is the email that you are providing in the WEB dashboard in
Team Members
.
Instead what you could do in the self-hosted:
Make sure that you have configured the environment variable: REACT_APP_DOCKER_HOSTED_ENV=true
, after the invite click a popup will pop you can choose one of the provided options or click the three dots in order to recopy and send the invite link.
@Pawan Jain Do you know if we have any section to this part in the docs? (if it is missing probably my fault) if we don't have it maybe it will be a good idea to create an issue for it.This part is missing in docs