Frameworks

Guides

Get set up fast using our detailed walk-through guides.

GuideDescription
PrismaHow to setup Prisma with Trigger.dev
Sequin database triggersTrigger tasks from database changes using Sequin
Supabase edge function hello worldTrigger tasks from Supabase edge function
Supabase database webhooksTrigger tasks using Supabase database webhooks
Using webhooks in Next.jsTrigger tasks from a webhook in Next.js
Using webhooks in RemixTrigger tasks from a webhook in Remix
Stripe webhooksTrigger tasks from incoming Stripe webhook events

Example projects

Example projects are full projects with example repos you can fork and use. These are a great way of learning how to encorporate Trigger.dev into your project.

Example projectDescriptionFrameworkGitHub Repo
Vercel AI SDK LLM evaluator with Realtime streamingA full-stack demo showing off Trigger.dev triggering from the frontend, Batch triggering and Realtime streams.Next.jsView the repo
Fal.ai with RealtimeGenerate an image from a prompt using Fal.ai and show the progress of the task on the frontend using Realtime.Next.jsView the repo
Fal.ai image to cartoonConvert an image to a cartoon using Fal.ai, and upload the result to Cloudflare R2.Next.jsComing soon

Example tasks

Task code you can copy and paste to use in your project. They can all be extended and customized to fit your needs.

Example taskDescription
DALL·E 3 image generationUse OpenAI’s GPT-4o and DALL·E 3 to generate an image and text.
Deepgram audio transcriptionTranscribe audio using Deepgram’s speech recognition API.
FFmpeg video processingUse FFmpeg to process a video in various ways and save it to Cloudflare R2.
Firecrawl URL crawlLearn how to use Firecrawl to crawl a URL and return LLM-ready markdown.
LibreOffice PDF conversionConvert a document to PDF using LibreOffice.
OpenAI with retryingCreate a reusable OpenAI task with custom retry options.
PDF to imageUse MuPDF to turn a PDF into images and save them to Cloudflare R2.
React to PDFUse react-pdf to generate a PDF and save it to Cloudflare R2.
PuppeteerUse Puppeteer to generate a PDF or scrape a webpage.
Resend email sequenceSend a sequence of emails over several days using Resend with Trigger.dev.
Scrape Hacker NewsScrape Hacker News using BrowserBase and Puppeteer, summarize the articles with ChatGPT and send an email of the summary every weekday using Resend.
Sentry error trackingAutomatically send errors to Sentry from your tasks.
Sharp image processingUse Sharp to process an image and save it to Cloudflare R2.
Supabase database operationsRun basic CRUD operations on a table in a Supabase database using Trigger.dev.
Supabase Storage uploadDownload a video from a URL and upload it to Supabase Storage using S3.
Vercel AI SDKUse Vercel AI SDK to generate text using OpenAI.
Vercel sync environment variablesAutomatically sync environment variables from your Vercel projects to Trigger.dev.

If you would like to see a guide for your framework, or an example task for your use case, please request it in our Discord server and we’ll add it to the list.