YouTube
The Autohive YouTube integration connects your YouTube channel with Autohive’s automation platform, enabling:
- Video management - Get detailed video information, update metadata, and upload custom thumbnails
- Search and discovery - Search for videos, channels, and playlists with advanced filtering and sorting
- Playlist operations - Create, update, delete playlists and manage playlist items
- Comment management - List, post, reply, update, delete, and moderate comments on videos
- Channel analytics - Access channel information including subscriber counts and video statistics
- Content moderation - Moderate comments with status control and author banning capabilities
- Advanced filtering - Search with date ranges, region codes, and multiple sort options
- Pagination support - Efficiently navigate large result sets with token-based pagination
Install the integration
-
Log in to Autohive and navigate to Your user profile > Connections or Your workspace -> Manage workspace
-
Locate the YouTube Integration card and click Connect
-
Select your Google account and click Choose Account
-
Review and approve permissions. Autohive requests access to:
- Full YouTube access for managing your videos and channel
- Upload permissions for custom thumbnails
- Secure SSL access for all operations
Ensure you approve the permissions required in order for the integration to function as expected.
-
Confirm installation - you’ll be redirected to Autohive with “Connected” status displayed
Use the integration
You can now use the integration with your agents, workflows and scheduled tasks!
- Follow our Create your first agent guide on how to create an agent.
- In the ‘Agent settings’, scroll down to the ‘Add capabilities’ section and turn on the YouTube capability. You can choose what individual YouTube capabilities to turn on and off.
- Once the settings have been selected, begin prompting the agent of the workflow you’d like to achieve with Autohive and YouTube!
Available capabilities
Search and Discovery
- Search YouTube: Search for videos, channels, or playlists with advanced filtering options
- Advanced Filtering: Filter by resource type, date ranges, channel ID, and region code
- Sort Options: Order results by relevance, date, rating, view count, or title
- Pagination: Navigate through large result sets with token-based pagination
- Result Metadata: Access thumbnails, titles, descriptions, and channel information
Video Management
- Get Video Details: Retrieve comprehensive video information including statistics and metadata
- Update Video: Modify video title, description, tags, category, and privacy settings
- Upload Thumbnail: Upload custom thumbnail images with automatic compression for files over 2MB
- Video Statistics: Access view counts, like counts, comment counts, and video duration
- Privacy Control: Manage video privacy settings (private, public, unlisted)
- Made for Kids: Set and update child-safety designations for videos
Channel Management
- Get Channel Details: Retrieve channel information including subscriber and video counts
- Channel Statistics: Access total views, subscriber counts, and video counts
- Channel Discovery: Search by channel ID, handle (@username), or get your own channel
- Channel Analytics: Monitor channel performance and growth metrics
Playlist Operations
- List Playlists: View playlists from your channel or any public channel
- Create Playlist: Generate new playlists with title, description, and privacy settings
- Update Playlist: Modify playlist metadata and privacy status
- Delete Playlist: Remove playlists permanently
- List Playlist Items: View all videos in a playlist with position information
- Add Video to Playlist: Insert videos at specific positions in playlists
- Remove Video from Playlist: Delete videos from playlists using playlist item ID
Comment Management
- List Comments: Retrieve top-level comments with sorting and pagination
- List Comment Replies: Get all replies to specific comments
- Post Comment: Add new top-level comments to videos
- Reply to Comment: Respond to existing comments
- Update Comment: Edit your own comment text
- Delete Comment: Remove comments you own or moderate
- Moderate Comment: Set moderation status (published, held for review, rejected)
- Ban Author: Ban comment authors from your channel (channel owners only)
Key features
Comprehensive Video Management
- Full control over video metadata including titles, descriptions, and tags
- Update video privacy settings and made-for-kids designations
- Upload custom thumbnails with automatic image compression
- Access detailed video statistics and engagement metrics
- Manage video categorization for better content organization
Advanced Search Capabilities
- Search across videos, channels, and playlists with precise filtering
- Filter by publication date ranges for time-sensitive content
- Geographic filtering with region codes for localized results
- Multiple sort options for relevance, popularity, and recency
- Token-based pagination for handling large result sets efficiently
Complete Playlist Management
- Create and organize playlists with custom privacy settings
- Add and remove videos with position control
- Update playlist metadata and descriptions
- Delete playlists when no longer needed
- List and navigate playlist contents with pagination
Robust Comment System
- Read and respond to comments across all your videos
- Post new comments and reply to existing discussions
- Edit and delete your own comments
- Moderate comments with status control
- Ban problematic authors from your channel
- Sort comments by time or relevance
Automatic Image Compression
- Thumbnail upload with automatic size optimization
- Compresses images larger than 2MB to meet YouTube requirements
- Maintains image quality while reducing file size
- Supports JPEG and PNG formats
- Provides compression statistics for transparency
Common use cases
Content Publishing Automation
- Automatically update video metadata based on performance metrics
- Schedule thumbnail updates for A/B testing optimization
- Bulk update video tags and descriptions across your channel
- Maintain consistent video categorization and privacy settings
Channel Analytics and Monitoring
- Track channel growth with subscriber and view count monitoring
- Monitor video performance metrics and engagement rates
- Analyze comment sentiment and engagement levels
- Generate reports on channel statistics and trends
Community Management
- Automate comment moderation workflows for channel management
- Respond to comments automatically based on keywords or sentiment
- Flag inappropriate comments for review
- Ban repeat offenders from channel interactions
- Track and respond to high-engagement comments
Content Curation
- Create themed playlists automatically based on video metadata
- Organize content into playlists by topic, date, or performance
- Add new videos to relevant playlists automatically
- Maintain playlist ordering and organization
Search and Discovery Workflows
- Search for content ideas and trending topics
- Monitor competitor channels and content strategies
- Discover collaboration opportunities with other channels
- Research popular content in your niche for strategy insights
Video Library Management
- Bulk update video privacy settings for seasonal content
- Organize videos with consistent tagging and categorization
- Update video descriptions with updated links and information
- Manage made-for-kids designations across video library
Supported file types
Thumbnail Images
The integration supports the following thumbnail formats:
- JPEG: Standard JPEG images with automatic compression
- PNG: PNG images with alpha channel support (converted to JPEG if needed)
- Maximum Size: 2MB (larger images are automatically compressed)
- Automatic Compression: Maintains quality while reducing file size
- Minimum Dimensions: 640x360 pixels (YouTube requirement)
- Recommended Dimensions: 1280x720 pixels for HD quality
Best practices
Video Management
- Use descriptive, keyword-rich titles and descriptions for better discoverability
- Maintain consistent tagging across related videos
- Update privacy settings strategically for content launches
- Use high-quality, compelling thumbnails for better click-through rates
- Keep video metadata current with updated links and information
Comment Management
- Respond promptly to comments to encourage engagement
- Use moderation tools proactively to maintain community standards
- Set clear guidelines for acceptable comments
- Monitor high-traffic videos more frequently
- Use keyword filtering for automated moderation workflows
Playlist Organization
- Create themed playlists for better content organization
- Update playlist descriptions with relevant keywords
- Order videos logically within playlists
- Maintain reasonable playlist sizes for viewer experience
- Use consistent naming conventions across playlists
Quota Management
- Monitor daily quota usage to avoid hitting limits
- Batch operations when possible to minimize API calls
- Cache frequently accessed data to reduce redundant requests
- Use pagination efficiently with appropriate result limits
- Schedule high-volume operations during off-peak hours
Search Optimization
- Use specific search queries for more relevant results
- Apply filters to narrow results and improve precision
- Leverage date ranges for time-sensitive content
- Use region codes for geographically relevant results
- Implement pagination for large result sets
Troubleshooting
Quota Exceeded
Error: “Quota exceeded for quota metric ‘Queries’ and limit ‘Queries per day’”
Solution: You’ve reached your daily quota limit. Wait until the quota resets (midnight Pacific Time) or request a quota increase through the Google Cloud Console.
Thumbnail Upload Fails
Error: “The request metadata specifies an invalid or unsupported content type”
Solution: Ensure your image is in JPEG or PNG format and under 2MB. The integration will automatically compress larger images, but very large files may timeout.
Comment Posting Failed
Error: “Comments are disabled for this video” or “The video owner has disabled comments”
Solution: Some videos have comments disabled by the owner or due to YouTube policies. Verify comment status before attempting to post.
Insufficient Permissions
Error: “The request is missing required authentication credentials”
Solution: Reconnect the YouTube integration to refresh authentication tokens. Navigate to Connections and click Reconnect.
Playlist Item Not Found
Error: “The playlist identified by the request’s playlistItemId parameter cannot be found”
Solution: When removing videos from playlists, use the playlist item ID (not video ID). Get the correct ID using the List Playlist Items capability.
Disconnect the integration
Important: Disconnecting stops data synchronization but preserves existing data in both systems.
- Navigate to Your user profile -> Connections or Your workspace -> Manage workspace
- Find the YouTube Integration
- Click Disconnect and confirm
Data Impact: Existing data remains unchanged in both systems, but sync stops and Autohive loses YouTube API access.
Uninstall the app
From Google: Go to your Google Account settings > Security > Third-party apps with account access > Find Autohive and revoke access