YouTube
Last updated
Last updated
YouTube is a leading video-sharing platform that allows users to upload, view, share, and manage video content. Integrating YouTube with ZBrain Flow enables you to automate interactions with your channel, retrieve video analytics, manage playlists, upload videos, and perform a wide range of actions using the YouTube Data API. This integration is ideal for streamlining content workflows, syncing video data across platforms, and enhancing digital media operations with AI-driven automation.
Click on the ‘+’ button within your ZBrain Flow.
Search for YouTube and select it from the list of available options.
The primary action available for YouTube integration is the ‘Custom API Call’, which provides flexible access to all YouTube API endpoints.
Step 1: Open connection settings
Navigate to the ‘Connection’ dropdown and click ‘Create Connection’.
Step 2: Provide connection details
In the connection setup dialog, provide the following details:
Connection name: Enter a name for your connection.
Redirect URL: Enter the redirect URL that will be used for OAuth authentication.
Client ID: The OAuth client ID for your YouTube API project.
Client secret: The OAuth client secret for your YouTube API project.
Step 3: Obtain credentials from Google Cloud Console
Create a project in Google Cloud Console:
Visit .
Click on the project drop-down and select ‘New Project’.
Name your project and click ‘Create’.
Enable YouTube Data API:
In Google Cloud Console, navigate to ‘APIs & Services’ > ‘Library’.
Search for ‘YouTube Data API v3’, and click on it.
Click ‘Enable’ to enable the API for your project.
Configure OAuth Consent screen:
Go to ‘APIs & Services’ > ‘OAuth consent screen’.
Select ‘External’ and click ‘Create’.
Fill in the required fields such as application name, support email, and developer contact information.
Complete the remaining steps, including setting scopes and test users, and then click ‘Save’.
Create OAuth 2.0 credentials:
Navigate to ‘APIs & Services’ > ‘Credentials’.
Click on ‘Create Credentials’ and select ‘OAuth client ID’.
Select ‘Web application’ as the application type.
Enter a name for your OAuth client.
In the ‘Authorized redirect URIs’ field, enter the URL where users will be redirected after they authorize your application (this is your redirect URL).
Click ‘Create’.
Retrieve Client ID and Client secret:
After creating the credentials, the dialog will display your Client ID and Client secret.
Copy and securely store these values.
Step 4: Connect YouTube to ZBrain Flow
Click ‘Connect’ to initiate the authentication process.
A pop-up window will appear, prompting you to log in with your Google account.
Grant the required permissions to allow ZBrain Flow to access your YouTube account and data.
Once the authentication is complete, click ‘Save’ to finalize the connection setup.
Once connected, ZBrain Flow will be able to interact with YouTube, enabling operations like retrieving video details, uploading videos, and automating video-related workflows.
ZBrain Flow allows advanced integration with YouTube through Custom API Calls, enabling you to perform a variety of operations on YouTube resources.
Select a connection:
Choose an existing connection or click on ‘Create New Connection’ to establish a new one.
Enter the URL:
Provide the full URL, including the base URL, for the specific YouTube API endpoint.
Choose the HTTP method:
Select the appropriate HTTP method based on the action you wish to perform:
GET – Retrieve resources (e.g., videos, playlists, channels).
POST – Create new resources (e.g., upload videos).
PATCH – Update specific fields of existing resources.
PUT – Replace existing resources entirely.
DELETE – Remove specific resources.
HEAD – Retrieve header information without the body.
Add headers:
Define any additional headers required for the API request. Authorization headers are automatically added. Click ‘+ Add Item’ to include additional headers.
Add query parameters:
Customize your API request using query parameters to filter results or specify additional options. Click ‘+ Add Item’ to include more parameters.
Enter request body:
Provide request payload in valid JSON format.
Set timeout:
Define the maximum duration (in seconds) for the request to complete. Insert dynamic values: Use the ‘f’ icon to dynamically insert values from your ZBrain Flow for flexible configuration.