Hello!
I am trying to build a software to match No profits’s activities and companies’s employees.
I need to fit all the relevant employees a of company (example google) under google’s company name.
How do i make sure of this in the database?
should i also set the “type of content” of the page with the company value?
moreover i want to have the admin to have the “invite an user” ability but i cannot do it since the current user is not under any specific company page.
I believe that if someone knows how this works it could be super easy, but i have no idea how to handle this and I also watched some video tutorials but they have not cleared my doubts.
I think i now prefer that a first user is creating a company login and then invites colleagues to join the company account.
this first users will be set as admin and will be able to see different things.
Now, i have setup a data type set as “Company” (this will be the company each employee will be registered unders) and i have created the link of the data entry in the “User” data type.
In the registration process I am now asking for the company name (from there on the company should be registered and appear in my database) but i cannot find the correct way of setting my workflow “sign the user up” in the correct way.
I get all the data like first name,last name and email but the entry of the company is not recorded in my database.
Probably while signing up the user, you are not setting additional fields such as role or company name. Check the running example of a sign up below with the workflows provided.
and i dont know what to put in here so that when the first user of a company signs up he/she creates the comapny account under which later he/she can invite other coworkers to join.