How to test a team invitation before launch
A customer invites a colleague to the workspace they just set up. The colleague opens the message from a phone, signs in with an account they already use, and lands on an empty dashboard. The customer sees the invitation is still pending. Both can sign in. Neither knows how to get the colleague into the right place.
Run that journey before you tell customers they can bring a team. You need one person with permission to invite, one person with a separate inbox, and a workspace with some sample material. Give the guest a useful task, such as leaving a comment on a sample report. The test passes when the guest can complete that task in the intended workspace with the intended permissions and the sender can see that the invitation was accepted.
Write down what the invite grants
Decide what the sender is asking the recipient to join. An invitation to a workspace can give someone access to different material than an invitation limited to one project. Make the scope visible next to the role on the send form. If your role labels are unfamiliar, add a concrete description. For example, "Can view and comment on this report" gives the sender enough information to check their choice before they send it.
Use an invitation addressed to a specific person for the first version if your customers expect to control who enters. Record the intended email, workspace, role, sender and expiry in the product. Set the role on the server from the saved invitation. When a recipient accepts, check that the invitation is still valid, the account can accept it, and the workspace can still grant that access. Give the server one record of the resulting membership even if the recipient clicks twice or retries after a slow response. A repeated click should have a useful result, such as opening the workspace the person already joined.
Treat an invitation anyone can share as a separate feature. A link posted in a group chat can reach people the sender never named, so its permissions and cancellation controls need a separate decision. Slack documents shareable links with their own limits and advises people to share them only with intended participants. A tool with private workspaces can leave this feature out until a customer has a concrete need for it. Slack invitation help
Show the same destination through sign in
Read the email with images disabled and the sender sitting in another room. The subject can name the workspace if the team is comfortable exposing its name in an inbox. Give the recipient one action and enough context to recognize the sender. Explain which email address the invitation was sent to and what the person will see next. If someone receives an invitation they did not expect, they should be able to ignore it without creating an account.
Open the email first as a person who has never used the product. Follow the normal account creation and verification path. When it ends, the guest should be back at the invitation with the correct workspace in view. A welcome screen for a new personal workspace can make them think they have already joined their team. If you have to ask the person to verify their email in a second tab, test that path too. It is the path a customer will use if they started in the browser and opened the verification message in a mail app.
Repeat as a person who already has an account. Leave a personal account signed in and address the invitation to a separate work email. Give the person a clear way to switch accounts and return to the invitation. GitHub gives a concrete example of identity binding in its organization flow. An invitation sent to an email address can be accepted when that address matches a verified email on the recipient's personal GitHub account. Decide which verified identity you will accept, and make the recovery instructions match that rule. GitHub organization invitations
Make sure opening the link can display a confirmation screen without granting membership or consuming the invitation. Some email security services open links ahead of the recipient. Supabase documents this with its authentication emails and offers an explicit confirmation button or a code as alternatives. HTTP semantics also define GET as a safe method for retrieving a resource. Use deliberate confirmation for the membership change, and test that viewing the page on its own leaves the invitation pending. Keep the invitation credential out of analytics, support screenshots and exported logs. Supabase email templates and RFC 9110 on safe methods
Choose an expiry the sender can manage
Three documented products give owners different windows for a pending email invitation. GitHub organization invitations expire after seven days. Slack says pending workspace invitations expire after 30 days. GitLab deletes unaccepted group email invitations after 90 days and documents reminders after two, five and ten days. The GitLab figure describes cleanup of a pending invitation. The same documentation separately describes an optional end date for access after someone is a member. These are product policies a founder can compare, with no information about how often recipients accept. GitHub, Slack and GitLab
Choose a window with the people who will send your invitations. A team onboarding a new employee may send an invite days before their start date. A customer who wants a contractor to review a document this afternoon needs a quick way to withdraw the invite if the assignment changes. Ask when the recipient is expected to act, how soon the sender needs to cancel, and whether someone can issue a replacement during a weekend. Put the expiry date on the sender's pending list and on the recipient screen when it can be shown safely.
Write the resend rule before adding a button. If resending generates a new link, give the old link a clear outcome and tell the sender which message is current. If resending extends the same invitation, show the new date to the sender and keep the original recipient and role. A change to the recipient or scope calls for a fresh invitation and cancellation of the old one. Keep the pending record and the email delivery record separate so an operator can see why a new message did or did not go out.
Rehearse the failure paths
The sender made a typo. Create an invitation in the test workspace using a second address you control, then cancel it and issue one to the intended inbox. Open the old message after canceling. The recipient should have a way to ask for a fresh invitation, and the old link should leave membership unchanged. Verify that only authorized people can cancel or replace an invite. If you let senders resend from the roster, leave enough information there to see which address was used.
The link has expired. Arrange an intentionally expired test invitation. Give the recipient instructions that work even if they have no session. "Ask the person who invited you to send a new invitation" is useful when that person has a resend control. If they do not have one, show the route that actually exists. Then have the sender issue a replacement and let the guest complete the same shared task from the new message. Keep the old expiry in your test notes so you know which message was exercised.
The recipient keeps clicking. Reopen the accepted invitation from another tab with the same account. Verify that you get one membership, one role and one billable seat if seats are billed. Open it again with a different account and check that it gains no access. If the member has since been removed, the previously accepted invitation should leave that removal in effect. Before removing the member, check their actual permissions by attempting one action their role allows and one it forbids with the same sample material.
The workspace changed before acceptance. Change the intended access from editor to viewer through whatever controls you plan to ship, or cancel the invite and create a viewer invitation if scope edits are unavailable. Also test what happens if the workspace has no seat left or has been closed. The sender and the recipient need a clear next step when a valid message reaches an unavailable workspace. Keep the invitation open for a later retry only if that is the policy you can explain in the product.
Give the sender a way to follow up
List pending invitations beside the people who are already members. The sender needs the address they used, the intended role, the time the message was requested and the expiry. A pending invite tells them that membership has yet to be accepted. If the provider records a delivery failure, surface it as a separate signal with a way to correct the address. If you know only that the provider queued the message, label it accordingly. Your support person should be able to distinguish the two without reading the recipient's inbox.
Pick a small set of checks for the first week. Record invitations created, invitations accepted and recipients who completed the shared task. Keep the time window visible and group retries under the same intended invite when you can identify it reliably. Someone who joined on Tuesday and completed the task on Friday counts as an accepted member before they count as a participant. With a few early teams you can review each stuck case and ask what the person saw. A delivery problem, a personal account in the browser and a role without permission to comment call for different changes.
Add one pass through this journey to your launch checklist. Use the guide to setting an email allowance if resend and reminder volume affects your costs. If your workspace requires two factor authentication, include its setup and recovery path before the guest reaches the shared task. On the final pass, ask a colleague to do the test from their own inbox and have the sender spot the accepted membership without your help.
Sources
- GitHub Docs, Inviting users to join your organization. Documents verified email matching, seven day expiry, retries and cancellation.
- Slack Help Center, Pending member invitations. Documents the 30 day expiry for pending workspace invitations.
- Slack Help Center, Invite new members to your workspace. Explains who can share workspace links and who can join through them.
- GitLab Docs, Groups. Documents email invitations, reminder timing, deletion of unaccepted invitations and the separate member access expiry.
- Supabase Docs, Email templates. Explains email prefetching and confirmation options for authentication emails.
- RFC 9110, HTTP Semantics, section 9.2.1. Defines safe HTTP methods and notes their relevance to automated retrieval and prefetching.
0 replies
Sign in to join the discussion
Log in