# Do action after login

**URL:** <https://community.glideapps.com/t/do-action-after-login/22268>\
**Category:** Ask for Help\
**Created:** [February 5, 2021, 5:07am UTC](https://community.glideapps.com/t/do-action-after-login/22268 "2021-02-05T05:07:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brad\_Hauck](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brad_hauck/32/21059_2.png) [@Brad\_Hauck](https://community.glideapps.com/u/Brad_Hauck)\
**Post date:** [February 5, 2021, 5:07am UTC](https://community.glideapps.com/t/do-action-after-login/22268/1 "2021-02-05T05:07:47Z")

</div>

Is there any way to run a custom action upon signup? Eg I want to use zapier to send the users email to mailchimp. I can do the action & it works but how do I tie it to the inital login?

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [February 5, 2021, 7:00am UTC](https://community.glideapps.com/t/do-action-after-login/22268/2 "2021-02-05T07:00:00Z")

</div>

set a trigger in google scripts for change in App: Logins sheet

---

<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 5, 2021, 7:13am UTC](https://community.glideapps.com/t/do-action-after-login/22268/3 "2021-02-05T07:13:34Z")

</div>

If you’re using an onboarding process, you could tie the action to the final step in that process.

Even if you don’t have a formal onboarding process, you could still use the same technique, which usually involves something like a “Has Profile” boolean in your User Profiles sheet…

- Initial state of that is not true
- Use tab visibility to hide everything whilst is remains not true
- Present a welcome screen (which is only visible whilst that is not true)
- Include a button (or whatever) on that screen, ie. ‘Click here to get started’ (or whatever)
- Multi step action tied to that button:
  - Set “Has Profile” to `true` (Welcome tab hidden and all other tabs appear)
  - Fire your Zap

---

<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 5, 2021, 7:16am UTC](https://community.glideapps.com/t/do-action-after-login/22268/4 "2021-02-05T07:16:07Z")

</div>

This would work, but it would fire _every_ time the user signs in - which may not be the desired behaviour.  
Yes, you could build extra logic into the script to check if it was the first login by that user. But that’s adding extra complexity to something that’s easily achievable in Glide without resorting to scripts.
