# Add your friend email and invite him functionality

**URL:** <https://community.glideapps.com/t/add-your-friend-email-and-invite-him-functionality/22107>\
**Category:** Ask for Help\
**Created:** [February 2, 2021, 8:28am UTC](https://community.glideapps.com/t/add-your-friend-email-and-invite-him-functionality/22107 "2021-02-02T08:28:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mihai\_Enache](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mihai_enache/32/20880_2.png) [@Mihai\_Enache](https://community.glideapps.com/u/Mihai_Enache)\
**Post date:** [February 2, 2021, 8:28am UTC](https://community.glideapps.com/t/add-your-friend-email-and-invite-him-functionality/22107/1 "2021-02-02T08:28:59Z")

</div>

Hello,

For my app, I want to build an “invite” tool that works something like this:

Entry field where the user introduces the email address of a friend. When he clicks “submit”, I want to send a message to that address with the invitation (either through glide apps or through an external tool - I am using ActiveCampaign).

Is this possible?  
Thank you for your help  
Mihai

---

<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:** [February 2, 2021, 9:28am UTC](https://community.glideapps.com/t/add-your-friend-email-and-invite-him-functionality/22107/2 "2021-02-02T09:28:13Z")

</div>

You would have to integrate Zapier/Integromat to have with this automation.

If you have a proper onboarding process then I think you can just have a form button that submits just the email to the user profiles sheet.

Then in the back end, trigger a Zapier/Integromat scenario to send an email to that specific email with the links and everything needed. Once that email owner logs into the app their row has already been created.

---

<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:** [February 2, 2021, 10:42am UTC](https://community.glideapps.com/t/add-your-friend-email-and-invite-him-functionality/22107/3 "2021-02-02T10:42:25Z")

</div>

> [@Mihai\_Enache](#):
>
> Entry field where the user introduces the email address of a friend. When he clicks “submit”, I want to send a message to that address with the invitation (either through glide apps or through an external tool - I am using ActiveCampaign).

I’ve done this using Apps Script for one of my apps. The way it works is:

- User taps on an “Invite a Friend” button
- This opens a custom form that asks for a name and email address
- When they submit, a new row is added to an “Invitations” sheet
- An onChange() trigger picks this up and a script is called. That script:
  - Checks for new invitations (where “Invite Sent At” is empty)
  - If there are any new invites, it uses the `MailApp` service to send an email (with an attachment), and updates the “Invite Sent At” column.

With that said, I did the above before I became familiar with Integromat. If I was to do it again now, I’d definitely be using Integromat (as @ThinhDinh recommended). It’s way way way easier…

---

<div class="post-metadata">

**Author:** ![Mihai\_Enache](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mihai_enache/32/20880_2.png) [@Mihai\_Enache](https://community.glideapps.com/u/Mihai_Enache)\
**Post date:** [February 2, 2021, 10:56am UTC](https://community.glideapps.com/t/add-your-friend-email-and-invite-him-functionality/22107/4 "2021-02-02T10:56:20Z")

</div>

I will use @ThinhDinh solution as it is way easier 🙂  
Thanks so much for your answers

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 17, 2024, 4:53pm UTC](https://community.glideapps.com/t/add-your-friend-email-and-invite-him-functionality/22107/5 "2024-01-17T16:53:43Z")

</div>


