Automatically download Bilibili videos and save them to Google Drive with instant email notifications—no manual uploads required.
This powerful automation workflow streamlines the process of downloading Bilibili videos and securely storing them in Google Drive. Simply submit a video URL through a user-friendly form, and the agent handles everything—from fetching video metadata to downloading the file, uploading it to your cloud storage, and sharing it with the appropriate permissions. You'll receive email confirmations at every stage, keeping you informed of success or any issues that arise.
Key benefits and time savings:
Target use cases:
This workflow is ideal for anyone who regularly works with Bilibili content and needs a reliable, hands-off solution for video management. Whether you're a content creator, researcher, educator, or business professional, this agent saves time and reduces the friction of manual video downloading and file organization. No technical expertise required—the intuitive form interface makes it accessible to all skill levels.
Why it's needed: Google Drive serves as your secure, cloud-based storage destination. The workflow uploads downloaded videos directly to your Drive account and generates shareable links, eliminating the need for local storage management and enabling easy collaboration.
Setup steps:
Access Google Cloud Console
Create a new project
TaskAGI Video Downloader
Enable Google Drive API
Google Drive API
Create OAuth 2.0 credentials
Configure in TaskAGI
How to obtain API keys/credentials: Your credentials are automatically generated when you create the OAuth 2.0 client ID in Google Cloud Console. The JSON file contains all necessary authentication information. Keep this file secure and never share it publicly.
Why it's needed: Email notifications keep you informed about workflow execution. You'll receive success confirmations with download links and failure alerts if something goes wrong, ensuring complete visibility into your automation.
Setup steps:
Choose your email provider
Enable Gmail API (if using Gmail)
Generate Gmail App Password
Configure in TaskAGI
Configuration in TaskAGI: Once connected, the email integration automatically uses your configured account for all outgoing notifications. The workflow includes pre-written success and failure email templates that you can customize with your branding.
The workflow begins with a form that collects user input. This node is pre-configured but verify these settings:
video_url: Text field for the Bilibili video URLemail: Email field for notification deliveryExample input:
video_url: https://www.bilibili.com/video/BV1xx411c7mD
email: user@example.com
This node retrieves metadata about the video before downloading.
Configuration:
POST
url=[[nodes.6279.video_url]] (automatically pulls from form)What to expect: The API returns video metadata including title, duration, and direct download URL. This information is used in subsequent steps.
This critical node branches the workflow based on API response.
Configuration:
200 or success
Why it matters: This prevents attempting to download videos when metadata retrieval fails, saving time and preventing error states.
Upon successful API validation, this node downloads the actual video.
Configuration:
GET
600 seconds (10 minutes for large files)Pro tip: The downloaded file is temporarily stored in TaskAGI's secure cache and immediately passed to the next node—no local storage required.
The downloaded video is now uploaded to your Google Drive.
Configuration:
[[nodes.6280.video_title]] for automatic namingExample result:
File: "How to Master TaskAGI Automation.mp4"
Location: /My Drive/Bilibili Videos/
Status: Successfully uploaded
Generate a shareable link for the uploaded video.
Configuration:
Anyone with link
Viewer (read-only, prevents accidental modifications)False (no notification emails to others)Result: A public link is generated and included in the success email.
Notify the user that their video is ready.
Configuration:
[[nodes.6279.email]] (from form submission)Hello,
Your Bilibili video has been successfully downloaded and uploaded to Google Drive!
Video Title: [[nodes.6280.video_title]]
File Size: [[nodes.6283.file_size]]
Download Link: [[nodes.6285.share_link]]
The file is ready to access, download, or share with others.
Best regards,
TaskAGI Automation
If the API check fails, this node sends an error notification.
Configuration:
[[nodes.6279.email]]
Hello,
We were unable to download your Bilibili video. This may be due to:
- Invalid video URL
- Video unavailability or regional restrictions
- Temporary API issues
Please verify the URL and try again. If problems persist, contact support.
Error Details: [[nodes.6280.error_message]]
Best regards,
TaskAGI Automation
Before running your first real workflow:
1. Submit a test form
2. Monitor execution in real-time
3. Verify at each checkpoint
Expected results and success indicators:
✅ Success state:
✅ Failure handling:
Troubleshooting tips:
Your Bilibili Video Downloader is now ready to automate your workflow!