Fetching Contact Details from a User's Profile in Workspace / G Suite into AppSheet

I'd like to import the contact details from a users Workspace account (phone, email etc.) and sync it with my data table for profiles in the app (table "People") who perform tasks and are referenced in other tables.

It's a similar problem to https://www.googlecloudcommunity.com/gc/AppSheet-Q-A/Ability-to-read-user-Attributes-from-G-Suite-us...

Solved Solved
0 3 667
1 ACCEPTED SOLUTION

I haven't tested it yet, but the folks from the AppSheet Office Hours have posted a solution;

here:

https://www.googlecloudcommunity.com/gc/Announcements/AppSheet-Office-Hours-Recap-Data-Source-Connec...

12. Is it possible to pull data from a userโ€™s Google Workspace profile into my AppSheet app (i.e. mobile phone, profile photo, etc.)?โ€

Thereโ€™s not a direct integration with Workspace User Directory today, but there are options for using the Admin SDK Directory Service and Apps Script to automatically pull your user directory into a Google Sheet, which you can then connect to one or multiple apps. 

Additional instructions can be seen here.  

View solution in original post

3 REPLIES 3

As far as I know, there is no capability yet to easily perform this function.  Note that Googles adoption of Appsheet into their ecosystem is only a couple years old.  There was a lot of work done to transition AppSheet's assets to Google infrastructure.  I have to believe that soon we will start to see more integration with the other Google Workspace tools - but it will take some time.

Unfortunately, for now you will need to find some alternative way to automate the syncing of the contact information if manual entry is not an option.

Google Scripts would be one option.  

AppSheet does have the ability to use a Google Folder as a datasource and will pull in details about the files located in the targeted folder.  I am not sure how this feature will react to exported contact information.  You could try it out and see.  It is extremely easy to setup.   To add the table, click the "New Table" button and select the "Documents on Google Drive".  See image below.

 

Screen Shot 2022-02-02 at 10.22.24 AM.png

Thanks! 

I will not prioritize this task now, but post the solution with App Script when I tackle it.

I haven't tested it yet, but the folks from the AppSheet Office Hours have posted a solution;

here:

https://www.googlecloudcommunity.com/gc/Announcements/AppSheet-Office-Hours-Recap-Data-Source-Connec...

12. Is it possible to pull data from a userโ€™s Google Workspace profile into my AppSheet app (i.e. mobile phone, profile photo, etc.)?โ€

Thereโ€™s not a direct integration with Workspace User Directory today, but there are options for using the Admin SDK Directory Service and Apps Script to automatically pull your user directory into a Google Sheet, which you can then connect to one or multiple apps. 

Additional instructions can be seen here.  

Top Labels in this Space