diff --git a/utilities/contacts-from-sf.sh b/utilities/contacts-from-sf.sh index dfe0f50..0fab533 100755 --- a/utilities/contacts-from-sf.sh +++ b/utilities/contacts-from-sf.sh @@ -1,11 +1,13 @@ #!/bin/bash -# This script processes a Salesforce report "UKfed-contacts-export" which lists all contacts with -# UK Federation Contact Roles and their corresponding Jisc Organisation ID (ukforg) and Organisation Name # -# The current report can be found here https://eu3.salesforce.com/00Ow0000007MXhK, it needs to be exported as a CSV file -# which ends up as 'reportnnnnnnnnnnnnn.csv' +# This script processes a Salesforce report which lists all contacts with UK federation +# contact roles, their corresponding Jisc Organisation ID and Organisation Name. +# +# Expects a CSV file with the following format: +# "Contact: Email","Jisc Organisational ID","Role Name","Account Name" +# "person1@example.com","127","UK Federation Management Contact","Further College" +# "person2@example.com","12345","UK Federation Signatory","Unseen University" # -# The input to the script is the above CSV file. # # The output of the script is as follows; # @@ -13,12 +15,6 @@ # * A list of Management Contact email addresses in $MGMTDEST # * A list of all contact email addresses in $CONTACTDEST # -# To use this script please follow the process here; -# -# https://repo.infr.ukfederation.org.uk/ukf/ukf-systems/wikis/HOW-to-process-UKfed-contacts-export-report -# -# Author: Jon Agland -# UKFDATA=../../ukf-data CSVDEST=../../ukf-data/contacts/sf-contacts.csv