Skip to main content

Google Books

The Google Books node allows you to automate work in Google Books, and integrate Google Books with other applications. Robbot Automation has built-in support for a wide range of Google Books credentials, including retrieving a specific bookshelf resource for the specified user, adding volume to a bookshelf, and getting volume.

On this page, you'll find a list of operations the Google Books node supports and links to more resources.

!!! note "Credentials" Refer to Google credentials for guidance on setting up authentication.

!!! note "Examples and templates" For usage examples and templates to help you get started, take a look at Robbot Automation's Google Books list.

Basic Operations

  • Bookshelf
    • Retrieve a specific bookshelf resource for the specified user
    • Get all public bookshelf resource for the specified user
  • Bookshelf Volume
    • Add a volume to a bookshelf
    • Clears all volumes from a bookshelf
    • Get all volumes in a specific bookshelf for the specified user
    • Moves a volume within a bookshelf
    • Removes a volume from a bookshelf
  • Volume
    • Get a volume resource based on ID
    • Get all volumes filtered by query

Example Usage

This workflow allows you to get a volume and add it to your bookshelf using the Google Books node. You can also find the workflow on Robbot Automation. This example usage workflow uses the following nodes.

1. Start node

The Start node exists by default when you create a new workflow.

2. Google Books node (get: volume)

This node will retrieve a volume from Google Books.

  1. Select 'OAuth2' from the Authentication dropdown list.
  2. Enter credentials for the Google Books node. You can find out how to enter credentials for this node here.
  3. Enter the ID of a volume in the Volume ID field.
  4. Click on Save to run the workflow.

3. Google Books1 node (add: bookshelfVolume)

This node will add the volume that we got from the previous node to a bookshelf in Google Books.

  1. Select 'OAuth2' in the Authentication field.
  2. Select the credentials that you entered in the previous Google Books node.
  3. Select 'Bookshelf Volume' from the Resource dropdown list.
  4. Select 'Add' from the Operation dropdown list.
  5. Enter a bookshelf id in the ID field.
  6. Click on the gears icon next to the Volume ID field and click on Add Expression.
  7. Select the following in the Variable Selector section: Nodes > Google Books > Output Data > JSON > id. You can also add the following expression: {{$node["Google Books"].json["id"]}}.
  8. Click on Save to run the workflow.

4. Google Books2 node (getAll: bookshelfVolume)

This node will return all the volumes in a bookshelf.

  1. Select 'OAuth2' in the Authentication field.
  2. Select the credentials that you entered in the previous Google Books node.
  3. Select 'Bookshelf Volume' from the Resource dropdown list.
  4. Select 'Get All' from the Operation dropdown list.
  5. Toggle My Library to true. This will return the information for your account.
  6. Click on the gears icon next to the Bookshelf ID field and click on Add Expression.
  7. Select the following in the Variable Selector section: Nodes > Google Books1 > Parameters > shelfId. You can also add the following expression: {{$node["Google Books1"].parameter["shelfId"]}}.
  8. Click on Save to run the workflow.