# Invite user workflow

**URL:** <https://community.glideapps.com/t/invite-user-workflow/72102>\
**Category:** Ask for Help\
**Created:** [March 27, 2024, 6:21pm UTC](https://community.glideapps.com/t/invite-user-workflow/72102 "2024-03-27T18:21:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Connor\_Finlayson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/connor_finlayson/32/79079_2.png) [@Connor\_Finlayson](https://community.glideapps.com/u/Connor_Finlayson)\
**Post date:** [March 27, 2024, 6:21pm UTC](https://community.glideapps.com/t/invite-user-workflow/72102/1 "2024-03-27T18:21:55Z")

</div>

I am currently setting up a workflow where user A can invite user B to their team via form submission.

When user B is invited, they are added to the User table. I want to be able to set a field in this tabe “Onboarding/Organization” = true, but I am unable to select the newly invited user - “This Row” selects the first row in the table and User Profile Row selects the submitter.

Any ideas?

 ![CleanShot 2024-03-27 at 14.19.15](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/e/4eeccef5e6c8e257e1de99c3772c44af86f40017.jpeg)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [March 27, 2024, 6:42pm UTC](https://community.glideapps.com/t/invite-user-workflow/72102/2 "2024-03-27T18:42:44Z")

</div>

Don’t use an onSubmit Set Column Values action. Instead, pass the value with the form as a column value.

---

<div class="post-metadata">

**Author:** ![Connor\_Finlayson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/connor_finlayson/32/79079_2.png) [@Connor\_Finlayson](https://community.glideapps.com/u/Connor_Finlayson)\
**Post date:** [March 27, 2024, 6:54pm UTC](https://community.glideapps.com/t/invite-user-workflow/72102/3 "2024-03-27T18:54:27Z")

</div>

Cool, how do I set static values though?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [March 27, 2024, 6:57pm UTC](https://community.glideapps.com/t/invite-user-workflow/72102/4 "2024-03-27T18:57:21Z")

</div>

There are a few ways you could do it. What I usually do is create a column in my User Profile row that contains the value I need, and then use that.

Another method that some folks use is a hidden input component in the form screen with a default value.

---

<div class="post-metadata">

**Author:** ![Connor\_Finlayson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/connor_finlayson/32/79079_2.png) [@Connor\_Finlayson](https://community.glideapps.com/u/Connor_Finlayson)\
**Post date:** [March 27, 2024, 6:59pm UTC](https://community.glideapps.com/t/invite-user-workflow/72102/5 "2024-03-27T18:59:17Z")

</div>

Oh interesting. Would love to see how people are doing the hidden component method. I have a few fields that I need to populate, so I don’t want to create user column fields for each if I can avoid it.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [March 27, 2024, 7:15pm UTC](https://community.glideapps.com/t/invite-user-workflow/72102/6 "2024-03-27T19:15:59Z")

</div>

> [@Connor\_Finlayson](#):
>
> Would love to see how people are doing the hidden component method

- Add an entry component to your form.
- When configuring the entry component, set a default value.
- Now hide the entry component from view with a visibility condition that is always false. If you have a RowID column (which preferably you always do), the condition “RowID is empty” is a good false condition, because it will always be false. Or if your app has required sign-in, then a condition on the Users table “Email is empty” would also work.

---

<div class="post-metadata">

**Author:** ![Connor\_Finlayson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/connor_finlayson/32/79079_2.png) [@Connor\_Finlayson](https://community.glideapps.com/u/Connor_Finlayson)\
**Post date:** [March 27, 2024, 7:20pm UTC](https://community.glideapps.com/t/invite-user-workflow/72102/7 "2024-03-27T19:20:12Z")

</div>

Brilliant! Thank you!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 28, 2024, 1:18am UTC](https://community.glideapps.com/t/invite-user-workflow/72102/8 "2024-03-28T01:18:32Z")

</div>

Please note that don’t put those hidden components into a container and try to hide just the container. I tried it just yesterday thinking I saved myself some work, but it didn’t send the values over.
