Skip to main content
Using CiviCRM in Google Drive with the new
CiviService Google Script Library
Martin Hawksey
@mhawksey
#CiviCon London 2016
Previously ….
Don’t hate,
automate“ “
Google Script
CC-BY Google – Google Apps Script, 13-03-2012
Where..
StandaloneSheets DocsForms Sites
What..
Lets interface … {API}
Image credit: CC-BY-NC nikki
CiviService – A CiviCRM API Library for
Google Script
CiviService – Example
A basic event creation workflow to
allow members to add CiviEvents to our
site.
Exploring the CiviCRM API
http://dmaster.demo.civicrm.org/civicrm/api#explorer
Step 1 – Create a Google Form
Step 2 – Add some columns
Step 3 – Add some custom code
Custom UI
Step 3 – Add some custom code
Processing each row of the Google Sheet
Step 3 – Add some custom code
Create CiviEvent from the row data using the CiviCRM API
CiviService – How to use?
1bwVze0iApGSpXYFTk4O4C0ul1B7wO-vga9B4Nwfc-ONIj4g0kWx-l-D_
Easy…
… simply note this id
Visit https://mashe.hawksey.info/?p=17333
Association for Learning Technology
Registered charity number: 1160039
www.alt.ac.uk @A_L_T