Hello,
I've created a form using Survey123 Connect that contains electric meter information. Within the form, I have added "date" field which allows me to select some future date. This future date lets me know when I need to change the battery in our meters. I use Integromat for all my notifications using the Survey123 module coupled with the Send Email module.
What can I use to integrate with Survey123 and Integromat to send me an email notification when this future date has been reached?
Thank you.
Jeff
I suggest creating a Google spreadsheet with the columns you want to log first, and in your Google Sheet module, change the mode to "Spreadsheet and Sheet", select the google spreadsheet and sheet, and then map out each field with the corresponding feature\attributes from survey123 data. See image:
Hey Jeff Davis,
You could write a python script that takes care of the email sending. I would write a script that checks todays date and the date field in your feature layer. If the date is the same or within the time window you send an email. You can then use the windows task scheduler to schedule the task to run daily.
Thanks,
Ben
If this answer has helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.
Hey Ben,
Thank you for responding to my inquiry.
Unfortunately, I do not have any Python experience.
Thank you though for your suggestion.
You can probably dump the survey results to excel or google sheets, and have a filter condition to check for the date and send an email when that condition is met.
If you are good with JSON, you can probably query the endpoint for the hosted feature class, parse the json to get the fields, and plug it into an email
Hi Eric,
Thank you for responding to my post.
I must seem somewhat like a broken record, but...I am not a JSON manipulator either.
However, your suggestion of using Google Sheets has me curious. Is that a module in Integromat?
Thanks.
Jeff,
No worries. Yes Google Sheets is a module in integromat. You can choose the "Add a row" function when a survey is submitted/edited to populate the spreadsheet, you can create a separate scenario to "Search Rows" for the date criteria, and send an email based on those matches.
Hope this helps.
Eric
Eric,
I've attached a screen capture illustrating the current scenario I've created in Integromat that supplies an email notification based on a submitted/edited survey from Survey123.
Would Google Sheets be integrated within this scenario or be a stand-alone scenario?
add a router between the two modules so you can split and connect the "Add a row" google sheet function
I've expanded a bit beyond my earlier screen capture. Please see "Battery Inventory New Part2" screen capture. I am not quite sure what to apply for the "Spreadsheet" and "Sheet" sections for the Add a Row dialog box. Can you possibly offer some suggestions?
Thanks
I've updated my attachments. Lots of changes since I started this adventure. Using Google Drive I was able to create a Google Spreadsheet featuring two headers; one for meter number and another for replacement date. The attachment entitled "Google Sheets-Add a Row" corresponds to my configuration of that scenario. I've tested this scenario and it functions very well. An alert is provided via email and the Google Sheet is populated with the corresponding meter number and replacement date from the survey. That's great!
Can you provide some guidance on the next stage? Following your suggestion, I have created a second scenario illustrated in my attachment as "Google Sheets-Search Rows". The final attachment to this posting entitled "Google Sheets-Search Rows Configure" illustrates a screen capture where I am a little stumped. I have a column in Google Sheets entitled Battery Replace Date (MM/DD/YYYY) and Meter Number. Ideally I would like someone to receive the reminder corresponding to the date and supply them with which meter requires its battery to be replaced.
Thank you in advance for any assistance you can provide.
Hi Jeff,
You are going to want to setup a filter that looks at your battery replace date and checks to see if its the same as when the scenario runs. You can right click the connection between the Google Sheet and Email and set the condition formatDate([Battery Replace Date]; MMDDYYYY) equal to formatDate(now; MMDDYYYY) so that when the criteria is met, it will execute your Email part.
If you need help on working with functions within Integromat see Date & Time Functions – Integromat Support
The filter worked perfectly! Thank you for that suggestion. I really appreciate your help with my project.
The only other stumbling block I am experiencing is the scheduling function. Since the Google Sheet is not a Trigger, "Immediately" is not available as a selection. I'd like to have it just run one time without intervals. When I choose "Once" Integromat wants you to enter a date. The dates can obviously change depending on the replacement date of the battery so one absolute date will not be valid.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.