Ok, I did a bunch of things in there to make it work on a single page, but you can apply the same concept in your actual app.
Instead of creating an account for someone else, you can do it the following way:
Send an email to the tenant with a link to the page they sign up on and include the unique ID of the new project in the URL. Look at how it’s formatted in the Send Email action. I added “?project=uniqueID”. Project is the parameter key and uniqueID is the dynamic value which comes from the first step where its created.
So the tenant goes to this link which is your signup page with that data in the URL. Now look at the workflow for when the tenant signs up. After signup, we make a change to a project to add this tenant to it. How do we know which project? We grab it from the URL via “Get URL Parameter” (a dynamic data option), we define the parameter we want by the key, which in this case is “project” (I created that key in the send email action). You can have multiple parameters in a URL, so that’s why you also have to tell it which parameter. You could have a URL that looked like “site.com?age=25&name=bob&city=newyork”
There are a few moving parts there, so study each workflow and let me know if you have any questions.
Gaby | Coaching Bubble