Calling Google APIs via the “HTTP Make a OAuth 2.0 request” module

This is a step-by-step guide on calling Google APIs like:

For more information on required APIs, scopes, redirect URIs, and connection details, please see our documentation for the Google app that you are using.

  1. Open the Google Cloud Platform APIs & Services dashboard and login with your Google account.

  2. Click CREATE to create a project.

    create_project_.png

    Enter Project name and choose Location. Click CREATE.

    create_project_1_.png
  3. Click ENABLE APIS AND SERVICES.

    enable_apis_and_services_.png
  4. Type the name of the API you want to call in the Search for API & Services field and click on it.

    api_library_.png
    search_for_api_and_services_.png
  5. Click ENABLE to enable the API.

    enable_API_.png
  6. Open the Google Cloud Platform APIs & Services Credentials OAuth consent screen tab.

  7. Fill out the form as follows and click Save to save the settings:

    Application name

    e.g. Boost.space Integrator

    Authorized domains

    Make.com

    Integromat.com

  8. Open the Google Cloud Platform APIs & Services Credentials.

  9. Click Create credentials dropdown and choose the OAuth client ID option from the menu.

    API_credentials_.png
  10. Fill out the form as below and click Create to create the app:

    create_oauth_client_id__.png

    Application type

    Web application

    Name

    e.g. Boost.space Integrator

    Authorized redirect URIs

    [Note] OAuth redirect URI domain

    Notice that the redirect URI starts with https://www.integromat.com instead of https://boost.space. This is currently a known issue in Make.

    Make was formerly called Integromat, which means you can trust this URL as much as any Make URL.

    Please make sure all your OAuth redirect URIs point to https://integrator.boost.space/oauth/cb/oauth2.

  11. A dialog containing app’s Client ID and Client Secret pops up.

    create_oauth_client_id__.png
  12. In Boost.space Integrator, create a new scenario.

  13. Insert the HTTP > Make an OAuth 2.0 request module.

  14. Open the module’s configuration and click Add button next to the Connection field to create a new connection.

  15. Tick the Show advance settings  option.

  16. Fill the connection setup as follows:

    Flow type

    Authorization Code

    AuthorizeURI

    https://accounts.google.com/o/oauth2/v2/auth

    Token URI

    https://www.googleapis.com/oauth2/v4/token

    Scope

    Add all the scopes the API call requires (check also OAuth 2.0 Scopes for Google APIs for a complete list of scopes):

    Scope separator

    SPACE

    Client ID

    The content of the Here is your client ID field from step 11.

    Client Secret

    The content of the Here is your client secret field from step 11.

    Authorize parameters

    Add access_type – offline key-value pair:

    calling-google-APIs-HTTP-make-OAuth-2_0-request-module-10.png
  17. The connection setup should look like this:

    calling-google-APIs-HTTP-make-OAuth-2_0-request-module-11.png
  18. Click Continue.

  19. If a popup titled “This app isn’t verified” appears, click on the “Advanced” link and then on the “Go to Boost.space Integrator (unsafe)” link:

    calling-google-APIs-HTTP-make-OAuth-2_0-request-module-12.png
    calling-google-APIs-HTTP-make-OAuth-2_0-request-module-13.png
  20. A window pops up. Review the permissions and click Allow.

    The connection is successfully created.

  21. Configure the module to make an API call: