Send Email from AGOL

1610
4
Jump to solution
02-07-2019 03:32 AM
JohnMcConalogue1
New Contributor II

I have been looking at the following article A simple e-mail notification system for Survey123 for ArcGIS v2 

I'm just wondering is it possible to run this against feature layers in AGOL as all our Survey123 feature layers are online in AGOL.

Thanks.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

Hi John,

Yes, the script shared by Ismael in the https://community.esri.com/groups/survey123/blog/2018/01/22/a-simple-e-mail-notification-system-for-... blog post works against ArcGIS Online and Enterprise (Portal).

You may also be interested in Webhooks, which can be used in Survey123 to send an email when a new survey is submitted: Webhooks—Survey123 for ArcGIS | ArcGIS 

A few blog posts on Webhooks: https://community.esri.com/groups/survey123/blog/2018/07/19/automating-workflows-with-survey123-and-...  and https://community.esri.com/groups/survey123/blog/2018/03/05/sneak-peek-survey123-and-webhooks-integr... 

Regards,

Phil.

View solution in original post

4 Replies
by Anonymous User
Not applicable

Hi John,

Yes, the script shared by Ismael in the https://community.esri.com/groups/survey123/blog/2018/01/22/a-simple-e-mail-notification-system-for-... blog post works against ArcGIS Online and Enterprise (Portal).

You may also be interested in Webhooks, which can be used in Survey123 to send an email when a new survey is submitted: Webhooks—Survey123 for ArcGIS | ArcGIS 

A few blog posts on Webhooks: https://community.esri.com/groups/survey123/blog/2018/07/19/automating-workflows-with-survey123-and-...  and https://community.esri.com/groups/survey123/blog/2018/03/05/sneak-peek-survey123-and-webhooks-integr... 

Regards,

Phil.

JohnMcConalogue1
New Contributor II

Thanks for the reply Philip.

Just another query, I want to send the email only when a certain field contains certain data, for example, if field called "Priority" contains "high" then an email is sent.

Is this possible?

0 Kudos
JohnMcConalogue1
New Contributor II

I think webhooks answers my last question.

by Anonymous User
Not applicable

Yes, using Webhooks you can only send an email when certain criteria are met.

0 Kudos