AI

Google Cloud Text-to-Speech

13min



With the Google Cloud Text-to-Speech app in , you can convert text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech in your Google Cloud Text-to-Speech account.

Requirements

To use the Google Cloud Text-to-Speech app in , you must have a Google account, a project created in the Google Cloud Platform, and billing enabled for the Google project.

's use and transfer of information received from Google APIs to any other app will adhere to the Google API Services User Data Policy.

Connect Google Cloud Text-to-Speech and 

To get started, you must first create a connection between Google Cloud Text-to-Speech and , allowing the two services to communicate.

To create the connection, you need to:

Create and configure a Google Cloud Platform project for Google Cloud Text-to-Speech.

Before you establish the connection in , you must create and configure a project in the Google Cloud Platform to obtain your client credentials.

Create a Google Cloud Platform project for Google Cloud Text-to-Speech

To create a Google Cloud Platform project:

1

Log in to the Google Cloud Platform using your Google credentials.

2

On the welcome page, click Create or select a project > New project. If you already have a project, proceed to the step 5.

Google Cloud Platofrm

3

Enter a Project name and select the Location for your project.

4

Click Create.

Select a project

5

In the top menu, check if your new project is selected in the Select a project dropdown. If not, select the project you just created.

To create a new project or work in the existing one, you need to have the serviceusage.services.enable permission. If you don’t have this permission, ask the Google Cloud Platform Project Owner or Project IAM Admin to grant it to you.

Enable APIs for Google Cloud Text-to-Speech

To enable to required API:

1

Open the left navigation menu and go to APIs & Services > Library.

2

Search for the following API: Cloud Text-to-Speech API

Google APIs

3

Click Cloud Text-to-Speech API, then click Enable. If you see the Manage button instead of the Enable button, you can proceed to the next step: the API is already enabled.

Configure your OAuth consent screen for Google Cloud Text-to-Speech

To configure your OAuth consent screen:

1

In the left sidebar, click Google Auth Platform.

If you don't see Google Auth Platform in the left sidebar, click View all products at the top of it, then pin Google Auth Platform to the sidebar.

Google Auth Platform

2

Click Get Started.

3

In the Overview section, under App information, enter Make as the app name and provide your Gmail address. Click Next.

4

Under Audience, select External. Click Next.

For more information regarding user types, refer to Google's Exceptions to verification requirements documentation.

5

Under Contact Information, enter your Gmail address and click Next.

6

Under Finish, agree to the Google User Data Policy.

7

Click Continue > Create.

8

Click Create OAuth Client.

Create OAuth client

9

In the Branding section, under Authorized domains, add make.com and integromat.com. Click Save.

10

Optional: In the Audience section, add your Gmail address on the Test users page, then click Save and continue if you want the project to remain in the Testing publishing status. Read the note below to learn more about the publishing status.

11

In the Data Access section, click Add or remove scopes, add the following scopes:

https://www.googleapis.com/auth/cloud-platform

You can add scopes using:

  • A table with filters
  • A window to manually enter scopes:

Click Update.

12

Click Save.

Publishing Status

Testing: If you keep your project in the Testing status, you will be required to reauthorize your connection in. every week. To avoid weekly reauthorization, update the project status to In production.

In production: If you update your project to the In production status, you will not be required to reauthorize the connection weekly. To update your project's status, go to the Google Auth Platform, the Audience section, and click Publish app. If you see the notice Needs verification, you can choose whether to go through the Google verification process for the app or to connect to your unverified app. Currently connecting to unverified apps works in , but we cannot guarantee the Google will allow connections to unverified apps for an indefinite period.

For more information regarding the publishing status, refer to the Publishing status section of Google's Setting up your OAuth consent screen help.

Create your Google Cloud Text-to-Speech client credentials

To create your client credentials:

1

In Google Auth Platform, click Clients.

2

Click + Create Client.

Create Client

3

In the Application type dropdown, select Web application.

4

Update the Name of your OAuth client. This will help you identify it in the platform.

5

In the Authorized redirect URIs section, click + Add URI and enter the following redirect URI:

https://www.integromat.com/oauth/cb/google-custom

Authorize redirect URI

6

Click Create.

7

Click the OAuth 2.0 Client you created, copy your Client ID and Client secret values, and store them in a safe place.

You'll use these values in the Client ID and Client Secret connection fields in .

Create the connection in 

Once you have created and configured a project, and obtained your credentials in the Google Cloud Platform, you're ready to create the connection in .

1

Log in to your account, add a Google Sheets module to your , and click Create a connection.

2

Optional: In the Connection name field, enter a name for the connection.

3

In the Client ID and Client Secret fields, enter the values you copied in the Create your Google Cloud Text-to-Speech client credentials section above.

4

Click Sign in with Google.

5

If prompted, authenticate your account, grant all requested permissions, and confirm access.

You've successfully created the connection and can now use the Google Cloud Text-to-Speech app in your . If you want to make changes to your connection in the future, follow the steps here.

Google Cloud Text-to-Speech modules

After connecting to the Google Cloud Text-to-Speech app, you can use the following types of modules to build your .

Templates

You can look for Google Cloud Text-to-Speech templates in Make's template gallery, where you'll find thousands of pre-created .

Google Cloud Text-to-Speech resources