Issue Type
Description
Hi,
I have a list of ~1000 members to invite from a community I currently have on Google+ (which is shutting down).
Is there any way to invite them in bulk, for example uploading a .csv file with the email addresses?
see https://spectrum.chat/spectrum/general/invite-users-in-bulk~17ae92bf-9a6e-42a2-b1b4-cfe19ebdd807
That would be great new feature for community owners, where they could bring more members easier and migrate from other platforms.
A quick way to do this would be to allow input of .json files from the frontend, which would auto-fill the existing inputs in the community settings. (.json instead of .csv because then we do not need to ship a parser)
If anybody wants to tackle this, the relevant code is in src/components/emailInvitationForm. It renders this part of the community settings:

<input type="file" /> that only accepts .json files in the bottom left['[email protected]', '[email protected]'] or [{ email: '[email protected]' }]this.state.contactsThat should be it! If anybody can build the functionality, we can make it look nice and that should be it π
We could put a csv => json parse on the api server though!
I have always used PapaParse for csv => json
@brianlovin as a v2 for sure, but as a quick win it would be nice to keep the changes frontend-only and not upload massive files to our server! :+1:
Here is a first prototype: https://codesandbox.io/s/2x8jly1v4y
This should be a relatively simple change, will see if we can land this next week.
Hey, wondering why it's closed? Did you make it work or smth else? @mxstbr
Yes we built this feature, it will go live today! I will ping y'all here when it is live π
Is there a limit on the number of invitations we can send?
Awesome.
I do not think we have a limit at the momentβnow that you ask me that though, we should probably add one... π
This is live, you can now bulk-invite emails in your member settings!

Looks nice great Max.
Just wondering the same about the limit? Can we import 1k members ?
I tried 2K and it went through.
I have not got any invitation email yet though
Let's see, maybe emails are in quee. Let us know how it went Mirko
vanila.io
On Wed, Feb 13, 2019 at 2:43 PM Mirko Menegazzo notifications@github.com
wrote:
I tried 2K and it went through.
I have not got any invitation email yet though
β
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/withspectrum/spectrum/issues/4611#issuecomment-463203713,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5JjeIN3sW75CFEKMa_i9gBPrW77NXmks5vNBaJgaJpZM4allZY
.
We definitely see them in our analytics π
Email invites per day:

It does not look like any of them failed so far, afaict!
Awesome!
We definitely see them in our analytics π
Email invites per day:
It does not look like any of them failed so far, afaict!
Nice. Is that Sendgrid Analytics or something else ?
We have a few new members already, looks like everything is working properly
Good job!
Nice. Is that Sendgrid Analytics or something else ?
https://amplitude.com! We use GitHub's SendGrid account, so it's a bit hard to see just our emails in their analytics.
We have a few new members already, looks like everything is working properly
Awesome, more than happy to hear that!
@mxstbr still I am not getting the invites I tried to send to my personal emails (to see how the invitation looks like)
nothing in my spam folder either.
Any thoughts?
That is very strange. Can you DM me your email address on Spectrum, and I will double check what happened with your email in our records?
Done, and I found another bug on the way ;)
Most helpful comment
Yes we built this feature, it will go live today! I will ping y'all here when it is live π