# Trigger Action when new row added

**URL:** <https://community.glideapps.com/t/trigger-action-when-new-row-added/49102>\
**Category:** Ask for Help\
**Created:** [September 11, 2022, 9:31pm UTC](https://community.glideapps.com/t/trigger-action-when-new-row-added/49102 "2022-09-11T21:31:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matty\_Fenny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/matty_fenny/32/39419_2.png) [@Matty\_Fenny](https://community.glideapps.com/u/Matty_Fenny)\
**Post date:** [September 11, 2022, 9:31pm UTC](https://community.glideapps.com/t/trigger-action-when-new-row-added/49102/1 "2022-09-11T21:31:43Z")

</div>

I am looking for a way to trigger an action without having to press a button.

The action is to Set a column value (Quote Number) and increment a number. (Counter)

When I create a quote manually, I have the action set up to do this. However, I need to be able to run this action when a new row is added from a google form.

Thanks,

Matt

---

<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:** [September 11, 2022, 9:52pm UTC](https://community.glideapps.com/t/trigger-action-when-new-row-added/49102/2 "2022-09-11T21:52:50Z")

</div>

use the google script, and the trigger for a new form

---

<div class="post-metadata">

**Author:** ![Matty\_Fenny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/matty_fenny/32/39419_2.png) [@Matty\_Fenny](https://community.glideapps.com/u/Matty_Fenny)\
**Post date:** [September 11, 2022, 10:04pm UTC](https://community.glideapps.com/t/trigger-action-when-new-row-added/49102/3 "2022-09-11T22:04:32Z")

</div>

Couldn’t you be a little more specific please

---

<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:** [September 11, 2022, 10:07pm UTC](https://community.glideapps.com/t/trigger-action-when-new-row-added/49102/4 "2022-09-11T22:07:20Z")

</div>

create a script, that will run when a new form is added… did you ever try to write the google script?  
you cant do it in Glide, only google script

---

<div class="post-metadata">

**Author:** ![Matty\_Fenny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/matty_fenny/32/39419_2.png) [@Matty\_Fenny](https://community.glideapps.com/u/Matty_Fenny)\
**Post date:** [September 11, 2022, 10:18pm UTC](https://community.glideapps.com/t/trigger-action-when-new-row-added/49102/5 "2022-09-11T22:18:42Z")

</div>

But the action I need To run is in glide

---

<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:** [September 11, 2022, 10:20pm UTC](https://community.glideapps.com/t/trigger-action-when-new-row-added/49102/6 "2022-09-11T22:20:24Z")

</div>

you said that you couldn’t do the action… what kind of action? the script can do all kinds of actions, as long you are using google sheets not glide tables in your app

---

<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:** [September 12, 2022, 12:38am UTC](https://community.glideapps.com/t/trigger-action-when-new-row-added/49102/7 "2022-09-12T00:38:43Z")

</div>

Firstly, it’s currently not possible to trigger an action in Glide without any direct user interaction. So I’ll get that out of the way first.

> [@Matty\_Fenny](#):
>
> When I create a quote manually, I have the action set up to do this. However, I need to be able to run this action when a new row is added from a google form.

The first question I would ask is do the folks submitting data via the Google Form have access to your App? If yes, then the best solution would be to get rid of the Google Form, and instead collect the data directly in your App via a Glide Form.

Assuming that there is a good reason why that isn’t a viable option, then yes, you’ll need to use something external to Glide. This could be an Apps Script onFormSubmit trigger (as Uzo suggests), or something like Make/Zapier watching for new rows. Or maybe even some spreadsheet formulas.

Of course one problem you might run into is if you have new rows being added from different sources (Glide & Google Forms), then anything external that you set up to do your set column/increment could get in the way when rows are added from Glide and your Glide action does the same thing. So it could get a bit messy.

Ultimately, your best solution will probably be to get rid of the Google Form and do everything inside Glide.
