You are helping me build the following AI agent workflow. ## Goal Employee Onboarding Clip Libraries: New hire form submission triggers automatic extraction of up to 5 training clips from onboarding video. ## Specification - What it does: Get personalized training instantly when you submit your new-hire form, as we automatically extract up to five relevant clips from onboarding videos for you. We save these moments before they expire, organize them in Google Drive with clear filenames, log the details in Sheets, and send you a branded welcome email with access instructions. - Trigger: Run manually (Manual ยท on new employee form submission) - Autonomy: Fully hands-off - Expected setup effort: under an hour - Tools/services involved: - n8n: Workflow orchestration and automation logic - WayinVideo: Scanning recordings to find specific training moments - Google Drive: Storing and organizing downloaded video clips - Google Sheets: Logging clip metadata and storing library links - Gmail: Sending personalized welcome emails to new hires ## Known pitfalls, handle each one explicitly in your implementation 1. WayinVideo export links have a short expiration window, so you must download the files immediately after polling confirms completion to avoid broken links. 2. Google Drive upload failures can occur if the filename contains invalid characters, so sanitize all metadata fields before passing them to the drive node. 3. The WayinVideo API may return fewer than five clips if no moments match the query, so add a conditional check to handle empty results gracefully. ## Reference implementation https://n8n.io/workflows/15567 (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/automate-employee-onboarding-clip-libraries/ via usecasesforagents.com