Open Skydodle opened 6 days ago
Approving as a repurpose of this ticket, replacing Google Apps Script instead of OctokitJS: https://github.com/hackforla/311-data/issues/1682
This ticket is ready to be picked up (aka resumed by @Skydodle)
ETA: Friday 6/28 Availability: M-F
The Google Form is embeded on the Contact Page. Both features of posting to Github issue and send email confirmation are completed. Just waiting on the bot account to be created and provide me with the access token. Thanks.
@Skydodle we were able to move forward with creating the bot. It has read/write permissions for 311-Data and 311-Data-Write teams.
repo
(all sub-checkboxes checked)workflow
notification
Github
item...
Overview
We need to complete the contact form functionality so that users may submit their feedbacks/ concerns as a Github issue on our repo using the form.
More Info
We will integrate Google Form on the Contact Page and replace the current form. Access token would be store in Apps Script project. Users would also receive a confirmation email after feedback submission.
Action Items
repo
scope.Script editor
from drop-downGITHUB_TOKEN
Update 06-27-24: Removing EmailJS from implementation due to EmailJS API restricts request from non-browser environment like Google Apps Script. We will be using an Google Form Extension to send confirmation email instead.
(Dev Lead/PM) Create a EmailJS account using HackForLA, sign up here.Create an email service.Create an email template.Gather the email service and email template ID (update -- see this comment for info)Update script in Apps Script to make request to EmailJS on form submitTest on form submission to see if email is receivedResources/Instructions
Script to put in Apps Script