Implementing a new user invitation email message - thoughts?

4 posts, 0 answers
  1. ptw
    ptw avatar
    27 posts
    Member since:
    Sep 2015

    Posted 27 Oct Link to this post

    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

     

  2. ptw
    ptw avatar
    27 posts
    Member since:
    Sep 2015

    Posted 27 Oct in reply to ptw Link to this post

    (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?)
  3. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 28 Oct Link to this post

    @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.
     
  4. ptw
    ptw avatar
    27 posts
    Member since:
    Sep 2015

    Posted 30 Oct in reply to Anton Dobrev Link to this post

    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

Back to Top