Google Photos

The Google Photos modules enable you to create, list, retrieve, share and unshare albums and monitor, retrieve, download or upload media in your Google Photos.

Getting Started with Google Photos

Prerequisites

  • A Google account

In order to use Google Photos with Integromat, it is necessary to have a Google account. If you do not have one, you can create a Google account at photos.google.com.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Google Photos to Integromat

To connect your Google Photos account to Integromat follow the general instructions for Connecting to services.

After you click the Continue button, Integromat will redirect you to the Google Photos website where you will be prompted to grant Integromat access to your account.

2020-02-28_14_50_49-Sign_in_-_Google_Accounts.png

Confirm the dialog by clicking the Allow button.

Album

List Albums

Retrieves album from your Google Photos.

ConnectionEstablish a connection to your Google account.
Retrieve only albums created using APIIf this option is enabled, only albums that were created by (any) API will be returned.
LimitSet the maximum number of albums Integromat will return during one execution cycle.

Get an Album

Retrieves album details.

ConnectionEstablish a connection to your Google account.
Album IDEnter (map) or select the album you want to retrieve details about.

Create an Album

Creates a new empty album.

ConnectionEstablish a connection to your Google account.
TitleEnter the name for the new album.

Share an Album

Marks an album as shared and accessible to other users.

This action can only be performed on albums that were created via the API (using Integromat).
ConnectionEstablish a connection to your Google account.
Album IDSelect or map the album you want to share. Only albums created using API are available.
CollaborativeEnable this option to allow users who have joined the album to add media items to it.
CommentableEnable this option to allow the owner and the users who have joined the album to add comments to the album. 

Unshare an Album

Marks a via API shared album as private.

ConnectionEstablish a connection to your Google account.
Album IDSelect or map the album you want to unshare. Only albums created and shared using API are available.

Media

Watch Media Items

Retrieves media details when new media are added to an album.

ConnectionEstablish a connection to your Google account.
AlbumSelect the album you want to watch for new media. If no album is selected, all albums will be monitored.
LimitSet the maximum number of media Integromat will return during one execution cycle.

List Media Items

Retrieves media from the specified album.

ConnectionEstablish a connection to your Google account.
Album IDSelect or map the album you want to retrieve media from. If no album is selected, all media in your account will be retrieved.
LimitSet the maximum number of media Integromat will return during one execution cycle.

Get a Media Item

Retrieves details of a specified media.

ConnectionEstablish a connection to your Google account.
Media Item IDSelect or map the ID of the media you want to retrieve details about.

Download a Media File

Downloads a file from the Base URL provided by the Watch Media Items, List Media Items, or Get a Media Item modules.

Base URLMap the Base URL from the previous module.

2020-03-02_13_13_19-Integration_Google_Photos___Integromat.pngUpload a Media Item

Uploads a file to an album.

Files can be uploaded only to the albums that were created using Integromat (or via another API).

 The maximum file sizes and other useful information can be found in the Google Photos Documentation for Uploading Media.

ConnectionEstablish a connection to your Google account.
Source FileMap the file you want to upload from the previous module (e.g. HTTP > Get a File or Dropbox > Get a file).
DescriptionEnter the description for the media.
AlbumSelect the album you want to upload the media to. The album must be created by Integromat (or via another API).

Make an API Call

Allows you to perform a custom API call.

ConnectionEstablish a connection to your Google account.
URL

Enter a path relative to https://photoslibrary.googleapis.com.
E.g./v1/albums

For the list of available endpoints, refer to the Photos Library API Documentation.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Albums

The following API call returns the all albums in your Google Photos:

URL:
/v1/albums

Method:
GET

2020-03-02_15_33_51-Integration_Google_Photos___Integromat.png

The results can be found in the module's Output under BundleBody > albums
In our example, 10 tickets were returned:

2020-03-02_15_35_20-Integration_Google_Photos___Integromat.png

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.