-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Tracking] Add a private domain email check to the new user onboarding flow #51496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Do we want to add this in the Stage 1 flow? @MitchExpensify |
That's the idea @anmurali, do you think it makes sense to add for everyone signing up before the "what would you like to do today?" options or after a choice on that screen and only for certain options? ![]() I think track, manage, and get paid back all indicate a higher chance the user should have logged in using their work email so I'd lean to the latter (Adding the check after the welcome message only for certain choices) |
So long as it is optional, I would try it across the board and if conversion through the stage 1 funnel falls, we can do something else. |
Pre-Design summarized - https://expensify.slack.com/archives/C07HPDRELLD/p1731000105159589 Will update this issue as a next step |
Current assignee @MitchExpensify is eligible for the NewFeature assigner, not assigning anyone new. |
|
Current assignee @shawnborton is eligible for the NewFeature assigner, not assigning anyone new. |
Not overdue, I think we're all good from a mockup standpoint at least. |
Not overdue, we're working through this. Seems like we need one more backend update to make the frontend able to do what it's trying to do. I'm working on the backend update. See this comment for more details. |
Not overdue, we're close, frontend is moving along and is actively being reviewed here. |
UpdateWe found another bug that requires a backend fix. I'm working on it. That will delay releasing this till next week though. Lots of edge cases with this feature since we're doing two tricky things at once: merging two accounts and then actively logging out of the old account and logging into the new account seamlessly without any visual hiccups or actions needed by the user. |
Waiting on backend fix to be deployed so that the frontend can use it. We don't deploy on Fridays so this has to wait till Monday. |
FE has been merged! Woot! Now we move on to QA, and if that goes well, deployment. There will probably be some follow up to fix some edge cases / bugs, but this is good news! |
Update:Things are going well! FE was merged and deployed to staging. We hit some deploy blockers, but all have either been demoted or fixed. Things are looking good! I've got a follow up BE issue here that I have a PR up for. But after that is done we are just waiting to see the FE PR hit production on Monday, and fixing any issues that arise there. Very happy here! 😄 |
FE was deployed to production! We also have a PR merged in for a backend fix for one of the last remaining bugs/edge-cases we know about for this.. That should get deployed to prod on Monday. We may get a few more bugs that crop up over the next few weeks, but the hard part is done! 🥳 |
We've deployed to production! I think now we just need to handle payment to Gandalf. @MitchExpensify can you handle paying the agreed upon amount to @allgandalf for completing the FE portion of the design doc? |
Yes, I can, @allgandalf. Have we already agreed on an amount? Remind me please 😎 |
Yes we agreed to $1000 here 👍 |
Added some cleanup items and assigned them to myself. |
Offer sent here, @allgandalf : https://www.upwork.com/nx/wm/offer/107026391 |
accepted @MitchExpensify !! thanks |
Paid! Thanks, @allgandalf |
We technically still have this last little follow up PR here. Once that is done I think we can close. |
Closing as we just merged our last follow up PR. I have some cleanup issues that I'll handle separately, but I consider this done. |
Uh oh!
There was an error while loading. Please reload this page.
DESIGN DOC
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue reported by: @MitchExpensify
Slack conversation: https://expensify.slack.com/archives/C07HPDRELLD/p1729809438307289
Figma file: https://www.figma.com/design/ir27daDKHaB1g4iZCT22K5/Onboarding-v2?node-id=7690-61846&t=VUO5F3YHDzF2O7Sw-1
Pre-design 1: https://expensify.slack.com/archives/C07HPDRELLD/p1730909567485999
Pre-design 1 summary: https://expensify.slack.com/archives/C07HPDRELLD/p1731000105159589
Design Doc: https://docs.google.com/document/d/1JlM9G3jZpaHDlcILWL9170ancMLtOnI2a73dQgX6ENo/edit?tab=t.0
Proposal Add a private domain email check to the new user onboarding flow
Problem
Our product works a bit better when a user signs up with a private email address because we can more reliably get their First/Last name, better name auto created workspaces, etc. Further, our sales processes are enhanced when we know the domain of a user so we can target high-profile leads. Yet, the majority of our users sign up with public emails and/or phone numbers making it harder to catch edge cases where they accidentally create a new account when they should have added a secondary login to an existing account.
Solution
Users sign in to New Expensify for the first time using a phone or public domain email address
We will add a step immediately after signing in to the onboarding flow asking if they have a work email address.
isPolicyExpenseChatEnabled=true
, or istryNewDot.classicRedirect.dismissed=true
, or has notryNewDot
NVP they are routed to Classic. Everyone else goes to the next NewDot onboarding step (Intent)Work email check step:

Magic code step for existing accounts:

Tasks
'#convert`: https://expensify.slack.com/archives/C07HPDRELLD/p1730909567485999#expensify-open-source
EmailThis is not a What's Next proposal but we're using the Design Doc template to make sure its done right[email protected]
and paste in the ProposalEmailThis is not a What's Next proposal but we're using the Design Doc template to make sure its done right[email protected]
(continue the same email chain as before) with the link to your Design Doc#expensify-open-source
to discuss any necessary details in public before filling out the High-level of proposed solution section: https://expensify.slack.com/archives/C07HPDRELLD/p1730909567485999EmailThis is not a What's Next proposal but we're using the Design Doc template to make sure its done right[email protected]
again with links to the doc and pre-design conversation in SlackDesignDocReview
label to get the High-level of proposed solution section reviewed#expensify-open-source
to ask for engineering feedback on the technical solution.DesignDocReview
label to this issue[email protected]
one last time to let them know the Design Doc is moving into the implementation phase[email protected]
once everything has been implemented and do a Project Wrap-Up retrospective that provides:The text was updated successfully, but these errors were encountered: