Example tasks
Introduction
Learn how to use Trigger.dev with these practical task examples.
Example task | Description |
---|---|
DALL·E 3 image generation | Use OpenAI’s GPT-4o and DALL·E 3 to generate an image and text. |
FFmpeg video processing | Use FFmpeg to process a video in various ways and save it to Cloudflare R2. |
OpenAI with retrying | Create a reusable OpenAI task with custom retry options. |
PDF to image | Use MuPDF to turn a PDF into images and save them to Cloudflare R2. |
React to PDF | Use react-pdf to generate a PDF and save it to Cloudflare R2. |
Puppeteer | Use Puppeteer to generate a PDF or scrape a webpage. |
Resend email sequence | Send a sequence of emails over several days using Resend with Trigger.dev. |
Sharp image processing | Use Sharp to process an image and save it to Cloudflare R2. |
Stripe webhook | Trigger a task from Stripe webhook events. |
Supabase database operations | Run basic CRUD operations on a table in a Supabase database using Trigger.dev. |
Supabase Storage upload | Download a video from a URL and upload it to Supabase Storage using S3. |
Vercel AI SDK | Use Vercel AI SDK to generate text using OpenAI. |
Was this page helpful?