ZBrain Documentation
  • ZBrain Documentation
    • Components of ZBrain
    • Getting started with ZBrain
    • 📚Knowledge base
      • How to create a knowledge base?
      • Knowledge source
      • Information schema
      • File summary
      • Automated reasoning
      • Retrieval testing
      • Knowledge base settings
    • 📱APP
      • How to create a new app?
      • How to set up and customize your app?
      • How to access the app reporting dashboard?
    • 🤖ZBrain AI agents
      • Get started with agents on ZBrain
      • Deploying pre-built agents
      • Creating custom AI agents
        • Agent setup
        • Define input sources
        • Define Flow
          • Key elements of a Flow
          • Flow Components
            • Activepieces Platform
            • AITable
            • Airtable
            • Amazon S3
            • Amazon SNS
            • Amazon SQS
            • Amazon Textract
            • Apify
            • Apollo
            • Approval
            • Asana
            • Azure Communication Services
            • Azure Cosmos DB
            • Azure Document Intelligence
            • Azure OpenAI
            • Azure Translation
            • Bannerbear
            • Baserow
            • Beamer
            • Bedrock Claude
            • Bettermode
            • Binance
            • Bing Search
            • Blackbaud
            • Bonjoro
            • Box
            • Brevo
            • Brilliant Directories
            • Bubble
            • CSV
            • Calendly
            • Certopus
            • Clearout
            • Clockodo
            • Code
            • Confluence
            • Connections
            • Constant Contact
            • Contiguity
            • Contentful
            • Customer.io
            • Crypto
            • Databricks
            • Data Mapper
            • Date Helper
            • DeepL
            • Delay
            • Discord
            • Discourse
            • Drip
            • Dropbox
            • Dust
            • Facebook Pages
            • Figma
            • Files Helper
            • Flowise
            • Flowlu
            • Formbricks
            • Frame
            • Freshdesk
            • Freshsales
            • GCloud Pub/Sub
            • GenerateBanners
            • GhostCMS
            • GitHub
            • GitLab
            • Gmail
            • Google Calendar
            • Google Contacts
            • Google Docs
            • Google Drive
            • Google Forms
            • Google Gemini
            • Google My Business
            • Google Search
            • Google Search Console
            • Google Sheets
            • Google Tasks
            • Groq
            • Hacker News
            • Heartbeat
            • HubSpot
            • HTTP
            • Image Helper
            • Inputs
            • Instagram for Business
            • Intercom
            • Invoice Ninja
            • Jira Cloud
            • Jotform
            • Kimai
            • Kizeo Forms
            • LeadConnector
            • Line Bot
            • Linear
            • LinkedIn
            • LinkedIn Actions
            • LLMRails
            • Lusha
            • MailerLite
            • Mailchimp
            • Mautic
            • Microsoft Dynamics 365 Business Central
            • Microsoft Dynamics CRM
            • Microsoft Excel 365
            • Microsoft OneDrive
            • Microsoft Outlook Calendar
            • Microsoft Teams
            • Mixpanel
            • MongoDB
            • Notion
            • Odoo
            • OpenAI
            • OpenRouter
            • Pastebin
            • PDF
            • Postgres
            • PostHog
            • Pushover
            • Qdrant
            • Queue
            • Razorpay
            • Router
            • Salesforce
            • SendGrid
            • ServiceNow
            • SFTP
            • SharePoint
            • Slack
            • SMTP
            • Snowflake
            • SOAP
            • Spotify
            • Stability AI
            • Stable Diffusion Web UI
            • Storage
            • Stripe
            • SurrealDB
            • SurveyMonkey
            • Taskade
            • Telegram Bot
            • Text Helper
            • Trello
            • Twilio
            • Twitter
            • Utilities
            • WhatsApp Business
            • WordPress
            • XML
            • YouTube
            • ZBrain
            • Zendesk
            • ZeroBounce
            • Zoho Books
            • Zoho CRM
            • Zoho Invoice
            • Zoom
          • How to Define a Flow?
          • How to Test Each Step in the Flow?
        • Configure Additional Settings
        • Test and Deploy Agents
        • How to access, monitor, and manage agent performance and tasks?
    • Settings
    • 📖API Tutorials
      • 📚Knowledge base
        • Automated Reasoning
      • 📱APP
      • 🤖Agents
Powered by GitBook
On this page
  • How to add YouTube to ZBrain Flow
  • How to create a YouTube connection in ZBrain Flow
  • How to send custom API calls to specific YouTube endpoints
  1. ZBrain Documentation
  2. ZBrain AI agents
  3. Creating custom AI agents
  4. Define Flow
  5. Flow Components

YouTube

PreviousXMLNextZBrain

Last updated 22 days ago

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.

How to add YouTube to ZBrain Flow

  • 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.

How to create a YouTube connection in ZBrain Flow

Step 1: Open connection settings

  1. 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

  1. Create a project in Google Cloud Console:

    • Visit .

    • Click on the project drop-down and select ‘New Project’.

    • Name your project and click ‘Create’.

  2. 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.

  3. 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’.

  4. 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’.

  5. 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.

How to send custom API calls to specific YouTube endpoints

ZBrain Flow allows advanced integration with YouTube through Custom API Calls, enabling you to perform a variety of operations on YouTube resources.

Configuration steps:

  1. Select a connection:

    • Choose an existing connection or click on ‘Create New Connection’ to establish a new one.

  2. Enter the URL:

    • Provide the full URL, including the base URL, for the specific YouTube API endpoint.

  3. 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.

  4. Add headers:

    • Define any additional headers required for the API request. Authorization headers are automatically added. Click ‘+ Add Item’ to include additional headers.

  5. Add query parameters:

    • Customize your API request using query parameters to filter results or specify additional options. Click ‘+ Add Item’ to include more parameters.

  6. Enter request body:

    • Provide request payload in valid JSON format.

  7. 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.

🤖
Google Cloud Console