AppSheet Events Add-On Enhancements

Former Community Member
Not applicable

We are really excite to announce the enhanced version of the AppSheet Events Add-On. This add-on is required if you wants bots to trigger when manual updates are made to Google Sheets. The enhanced version of this add-on provides:

  • Productivity improvements to turn events on/off - Simple toggle controls
  • Improved Security - Leverages OpenID token and removes the need manage/maintain per app API key.

The help article has been updated with new instructions.

3 24 1,387
24 REPLIES 24

Ami
Bronze 5
Bronze 5

This only works still with a manual data entering, when would it work when data is added through another app(appsheet app or other apps)?

Former Community Member
Not applicable

Currently bots in a given AppSheet app can trigger based on the following conditions:

  1. Manual data entry on a Sheet that is referenced as a table in that app (requires the events add-on as mentioned above)
  2. Data changes made in the same AppSheet App (eg: edit a record in the table connected to the Sheet)
  3. Invoke the AppSheet API - this can be done by invoking the API in the other AppSheet app using the webhook task or any other non-AppSheet app can also invoke the AppSheet API.

Hope this helps.

I want to clarify this statement. Does this really refer to a person changing the sheet. Or does โ€œManualโ€ refer to any changes made to the sheet other than by the AppSheet app?

My understanding is โ€œmanualโ€ means โ€œhuman-made by direct interactionโ€. โ€œInteractiveโ€ might be another way to say it.

Kobura
New Member

I thought it would solve my problem, but Iโ€™m afraid it didnโ€™t. There is a Google Form whose responses go to the appheet-bound Table. I added the ApSheet Event addon to the sheet, selected the affected table, and set up a simple โ€œupdate or addโ€ automation so that if a new line comes into the table, write โ€œprocessedโ€ at the end of the line. However, automation still runs only manually from the test window. Didnโ€™t triggered if I add a new row (via Form or manually) or update a value (manually).

The External Eventing extension does NOT work with Google Forms.

Ok, but if I add values manually, It still doesnโ€™t work.

I am having the same problem. I have a Google Form that inputs into a sheet, which is linked to my AppSheet app. I have the AppSheet events add-on turned on, and when a new response comes in it shows up in Appsheet, but it will not trigger any bots for New Rows. Even when I manually change data in the google sheet, it doesnโ€™t trigger the bot. Is there any workaround for this?
I really want to trigger an email to be sent when there are new responses on the google form.
Thanks!

Create a scheduled Bot, or set of scheduled Bots, that check your datasource or any new rows and when found, send out your email. This does mean a delay from when the rows are inserted by the Google Form until the email is sent. If you can live with that then this is the way to go.

Alternatively, you could create your Form in an AppSheet app. Then you can trigger a Bot off of every row add. Of course, this does come at a cost.

Another option is using a 3rd party Cloud service like Integromat, which can watch the sheet and take action on new rows added. Integromat does have integrations into AppSheet which can be used to trigger automation. Iโ€™m just not sure this is much better than the Scheduled Bot approach.

Thank you so much for responding!
Pardon my ignorance, but what expression would you use to check for new rows added. How would it know if it was added since the last time the bot was run?

The help documentation on External Eventing, linked above, says:

โ€œWhen you modify the sheet in Google Sheet, you should see the event trigger after a few seconds. For Google Forms, new rows added to the response sheet via direct interaction with the Google Form can also trigger events.โ€

This sounds like you can trigger bots straight from the google form. Would it help if I reconstructed my app straight from forms using the Google Forms appsheet add-on?

Thank you so much!

You would need to use some sort of flag column. Something to either indicate it is new or that a notification needs to be sent. Your Bot would then need to include a step to update the Flag column so that additional runs wonโ€™t pick-up the row.

For example, you could include a โ€œNotification Sent?โ€ column that is initially set to False when a row is added. The BOT runs and looks for rows where [Notification Sent?] = FALSE. A step within the Bot would then set the [Notification Sent?] column to TRUE.

Oh, I had forgotten about that

Maybe. I would give it a try. Typically the response sheets are not in the best format for a data driven app. You could use the generated event to add a new row to your App table, I suppose.

Iโ€™m going to give it a try with regenerating the app using the Forms add-on. Will update. Thank you!

It is a google Sheet.

Is your spreadsheet a Google Sheets spreadsheet? Or an Excel spreadsheet opened in Google Sheets?

Hi @Steve ,  Is this still the case now?

Still it is same state?

Please read Point 7. 

Screenshot_2023-08-29-23-47-18-26_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

โ€ƒ

It's 2 years later and it seems there have been updates so I thought to leave this here.

Now it works with Google Forms

I tried regenerating the App from the Google Forms add-on and starting from scratch. It still doesnโ€™t work. The BOT isnโ€™t triggered by submissions of the google form, or by any edit in the spreadsheet even though AppSheet Events is installed and turned on.

I guess I will do scheduled bots instead, as @WillowMobileSystems suggested.

Thank you everyone for your help!

You should raise this AppSheet support. It is documented that it should work so maybe there is a bug.

I got some input from a developer. The external evening add-on fails silently if the updated spreadsheet row is rejected by the app configuration. For instance, if a column value fails the columnโ€™s Valid If condition.

Interesting. Would that be the case if a column was marked โ€œrequiredโ€ in AppSheet, but not on the Google form? The fact that a required column is blank might be preventing the external event from triggering. I will have to double check that all of the required fields are the same throughout the Google form and the AppSheet.

Additionally, one of my colleagues suggested that external eventing only works with AppSheet Enterprise plan. I donโ€™t see in any documentation that this is the case, but if so that would explain it. We are currently using AppSheet Core.

If the only way that new rows are added is from the Google Form, then I would control the required settings on that Form ONLY. Set the AppSheet app to allow anything coming from the Google Form.

Is the add-on still limited to manual data entering. 
Looking at the add-on in the Marketpalce screenshots, I see this

JPAlpano_0-1679449978029.png

Form Responses 1 is the default sheet name for Google Sheets linked to a Google Form, is it not?


Also the document External eventing with Google Sheets also says this in item #7
When you modify the sheet in Google Sheet, you should see the event trigger after a few seconds. For Google Forms, new rows added to the response sheet through direct interaction with the Google Form can also trigger events.

Responses submitted via Google Forms to a sheet that serves as a data source for an AppSheet app table indeed trigger any of the table's automations triggered by row adds. Is that your question?

I think the external eventing is not triggered by API edits to a sheet that are made, for example, via Apps Script.

Top Labels in this Space