Goals
- Automate detection of profanity or vulgar language in uploaded videos
- Split the workflow into two parts to handle longer processing times without Zapier timeouts
- Send detected profanity results and timestamps directly to Slack for review
- Use target labels to ensure only the intended second workflow is triggered
Prerequisites
- A Zapier account to manage and run workflows
- Access to VideoDB with an active API key
- A Slack workspace with permissions to send direct messages or channel messages
- A Zapier Interface form to collect video name and URL submissions
- Basic understanding of asynchronous job handling in Zapier
Workflow 1: Upload and Index Video
Step 1: Form Creation (Zapier Interfaces)
Build a form with fields for Video Name and Video URL. Example: Enter a video title and a YouTube link.Step 2: Trigger Setup
- Set trigger to Form Submission Created (Zapier Interfaces)
- Select the created form and page as the source
Step 3: Upload and Index with VideoDB
- Add an action - VideoDB - Upload and Index Video
- Authenticate using your VideoDB API key
- Map fields: Video Name and URL from form submission
- Set prompt: Check for any profanity or vulgar content
- Assign a target label (e.g.,
Profanity Check) to connect with the second workflow - Test - confirm Job ID is returned (asynchronous task)
Step 4: Publish Workflow 1
Activate the workflow so all new form submissions trigger video uploads automatically.Workflow 2: Profanity Detection and Slack Notification
Step 1: Trigger Setup
- Trigger: New Video Uploaded Job Completed (VideoDB)
- Filter by target label
Profanity Check
Step 2: Find Video Moment (Profanity Check)
- Action: VideoDB - Find Video Moment
- Use dynamic video ID from the trigger
- Prompt: Detect profanity or vulgar content
- Content type: Multimodal (spoken + visual)
- This action returns a new Job ID for processing
Step 3: Delay for Processing
Insert a delay (e.g., 3 minutes) to allow VideoDB to finish analyzing.Step 4: Check Job Status
- Action: VideoDB - Check Job Status
- Input the Job ID from the “Find Video Moment” step
- Retrieve results: detected profanity, timestamps, and URLs
Step 5: Slack Notification
- Action: Slack - Send Channel or DM Message
- Configure message format:
- Video Name
- Player/Download URL
- Profanity results (text + timestamps)
- Customize bot name (e.g., Profanity Checker)
- Test - confirm profanity results are delivered in Slack