Accessing the Google Health API using the Google Authenticator node

Hello,

I wanted to create a workflow to extract data from a Fitbit device using the Google Health API and it is working quite good.

This method should be easily adaptable to other Google APIs.

Here is the Workflow:


And here some results of the second BIRT node, which shows heart rate data:

The most interesting part is in the Google Authenticator node configuration:


I set the Authentication Type to ‘Interactive’. That way, when clicking the yellow Login button in the node’s configuration dialog, I will be prompted to select the Google account I want to use and to grant permission to access the data requested.

The ‘scopes of access’ limit the kinds of data I will be able to access - in this example in Read Only mode. On the following link you can find more information on how to set things up on the Google side:

Make your first Google Health API call  |  Google for Developers

Next step is to launch a Get request to actually retrieve the data, and JSON path, Ungroup and Column Filter nodes to filter out the data I am interested in.