Example tasks
Upload a video to Supabase Storage using S3
This example demonstrates how to download a video from a URL and upload it to Supabase Storage using Trigger.dev.
Overview
This task downloads a video from a provided URL, saves it to a temporary file, and then uploads the video file to Supabase Storage using S3.
Key features
- Fetches a video from a provided URL
- Uploads the video file to Supabase Storage
Task code
trigger/supabase-storage-upload.ts
Testing your task
To test this task in the dashboard, you can use the following payload:
Learn more about Supabase and Trigger.dev
Full walkthrough guides from development to deployment
Edge function hello world
Learn how to trigger a task from a Supabase edge function when a URL is visited.
Edge function database webhooks
Learn how to trigger a task from a Supabase edge function when an event occurs in your database.