Skip to content

Repository files navigation

Update Contacts from ArgoNet

Pulls student and faculty contact information out of ArgoNet and uses it to create a contact list in Google. That address book is then pushed to iPads which are being held by each division office. These contact lists act as emergency contacts in the event that the internet is unreachable. The account emergencycontacts@rutgersprep.org stores the generated contacts.

Where Hosted:

Google Apps Script

How to Use:

Run the function goContacts() from the account to which you would like the contacts attached.

Built For:

Head of School

Schedule:

Once a Day between 2AM and 3AM. The account that triggers the scheduled execution is emergencycontacts@rutgersprep.org.

Authentication:

A Google Account is required to trigger the script, however, this script accesses Blackbaud’s SKY API and thus needs a Blackbaud account for access to that information.

When Authenticating in Blackbaud you will need a user that has access to the three endpoints listed below.

A minimal access set of roles for a user that could run this script would be:

Academic Group Manager - API Only
Contact Card Manager - API Only
Sky API Data Sync

In the scheduled instance:

emergencycontacts@rutgersprep.org is the google account that runs the script itself.

“Emergency Contact Sync” is the blackbaud account used for API authentication. Username: emergencycontacts@rutgersprep.org. This user authenticates against Azure.

Authentication for SKY API is saved so that the user does not need to re-authenticate each time the script is run.

Users Given Access:

nardulli@rutgersprep.org
emergencycontacts@rutgersprep.org

Dependencies:

OAuth2
	Script ID: 1B7FSrk5Zi6L1rSxxTDgDEUsPzlukDsi4KGuTMorsTQHhGBzBkMun4iDF
	Ver. 41 at time of writing.
	More Info: https://github.com/googleworkspace/apps-script-oauth2

People (Google Service)
	Ver. 1 at time of writing.

Endpoints:

Users extended by role(s)
Users emergency contacts by user ID
Academics student enrollment list

Advanced Lists:

None

Google Drive Link:

https://script.google.com/home/projects/1GTZv7898GX481HSEHYMDzVtQAgLwOuwaCm0HqujtcA2YI2dPPf7-1lwl/edit

Google Drive Owner:

nardulli@rutgersprep.org

About

Pulls Contact Info out of ArgoNet and syncs them to a Google Contact Book

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages