This is a migrated thread and some comments may be shown as answers.

Implementing a new user invitation email message - thoughts?

3 Answers 32 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ptw
Top achievements
Rank 1
ptw asked on 27 Oct 2016, 08:55 AM

Hi,

I'm looking at a collaboration app, and I'd like an existing user to be able to initiate an email invitation to a friend.

For example, say I've a group of friends is doing a review beers on our app, and I'd like to invite James to be in the group.

Ideally, I'd like to be able to type in James' name and email. The system sends him an email with a "join our group" link. And if he clicks it and creates an account,a code in the link identifies that he should be added to my group when his account is created.

Does anyone have any methods or hints for achieving this?

Many thanks

-Paul

 

3 Answers, 1 is accepted

Sort by
0
ptw
Top achievements
Rank 1
answered on 27 Oct 2016, 09:16 AM
(I see Telerik App Manager has what I'm after - but for App Manager accounts: http://docs.telerik.com/platform/appmanager/appmanager-portal/managing-users/inviting-users ... perhaps there's a version of it available somewhere for use in Platform apps?)
0
Anton Dobrev
Telerik team
answered on 28 Oct 2016, 08:56 AM
@Paul

This functionality can be implemented in Telerik Platform in a few custom steps. I can share a few thoughts on the implementation:

- Your app user enters a name and email for the recipient of the invitation
- The app sends an email notification (for example, from a cloud function) where a "Join our group" link is supplied. I am not sure how you designed for the new user will join - will this via a web form, via downloading the app or similar.  The link, however, may contain an identifier of the group to join to be used further at the time of registration.
- When the user follows the link - the group identifier is sent with the other registration parameters to the backend
- In the Business Logic - Cloud code (as in the example shown here) you may validate the incoming user parameters
- After the user account is created - attach the user Id to the group the user pointed out to join.

This is a pretty rough approach that can be polished depending on the requirements of the app, but the main steps will possible remain the same.

Let me know if you have further questions.

Regards,
Anton Dobrev
Telerik by Progress
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
0
ptw
Top achievements
Rank 1
answered on 31 Oct 2016, 01:15 AM

Many thanks Anton,

You've given me some really useful ideas on how to approach this. Looks like I've got a fair bit of work to do.

Regards

-Paul

Tags
General Discussion
Asked by
ptw
Top achievements
Rank 1
Answers by
ptw
Top achievements
Rank 1
Anton Dobrev
Telerik team
Share this question
or