You are helping me build the following AI agent workflow. ## Goal Bilibili Video Downloader and Uploader: Submit a Bilibili URL to automatically download the video, upload it to Google Drive with public access, and email you the link or an error. ## Specification - What it does: Submit a Bilibili video URL to automatically download it, upload it to your public Google Drive folder, and receive an email with the direct link or any error details. - Trigger: Run manually (Manual ยท on form submission) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - n8n: Workflow orchestration platform - HTTP Request: Calling Bilibili Video Downloader API via RapidAPI - Google Drive: Storing downloaded video files and setting permissions - Send Email: Sending success or failure notifications with drive links ## Known pitfalls, handle each one explicitly in your implementation 1. Bilibili videos may require specific cookies for download access which means the HTTP request might fail without proper header configuration. 2. Google Drive has file size restrictions that can cause uploads to hang or fail if the video resolution is too high. 3. Email providers sometimes flag automated messages as spam so you should verify your SPF and DKIM records are correctly set up. ## Reference implementation https://n8n.io/workflows/10265 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/bilibili-video-downloader-and-uploader/ via usecasesforagents.com