> ## Documentation Index
> Fetch the complete documentation index at: https://trigger.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Frameworks, guides and examples

> A growing list of guides and examples to get the most out of Trigger.dev.

## Frameworks

> [card] [Bun](https://trigger.dev/docs/guides/frameworks/bun.md)

> [card] [Next.js](https://trigger.dev/docs/guides/frameworks/nextjs.md)

> [card] [Node.js](https://trigger.dev/docs/guides/frameworks/nodejs.md)

> [card] [Remix](https://trigger.dev/docs/guides/frameworks/remix.md)

> [card] [SvelteKit](https://trigger.dev/docs/guides/community/sveltekit.md)

## Guides

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

| Guide | Description |
| :- | :- |
| [AI Agent: Chat agent](https://trigger.dev/docs/guides/ai-agents/chat-agent.md) | Build a durable, multi-turn chat agent with `chat.agent()` |
| [AI Agent: Content moderation](https://trigger.dev/docs/guides/ai-agents/respond-and-check-content.md) | Parallel check content while responding to customers |
| [AI Agent: Generate and translate copy](https://trigger.dev/docs/guides/ai-agents/generate-translate-copy.md) | Chain prompts to generate and translate content |
| [AI Agent: News verification](https://trigger.dev/docs/guides/ai-agents/verify-news-article.md) | Orchestrate fact checking of news articles |
| [AI Agent: Route questions](https://trigger.dev/docs/guides/ai-agents/route-question.md) | Route questions to different models based on complexity |
| [AI Agent: Translation refinement](https://trigger.dev/docs/guides/ai-agents/translate-and-refine.md) | Evaluate and refine translations with feedback |
| [Claude Agent SDK](https://trigger.dev/docs/guides/ai-agents/claude-code-trigger.md) | Build AI agents that read files, run commands, and edit code |
| [Agent rules](https://trigger.dev/docs/mcp-agent-rules.md) | Install agent skills so your AI assistant writes correct tasks |
| [Prisma](https://trigger.dev/docs/guides/frameworks/prisma.md) | How to setup Prisma with Trigger.dev |
| [Python image processing](https://trigger.dev/docs/guides/python/python-image-processing.md) | Use Python and Pillow to process images |
| [Python document to markdown](https://trigger.dev/docs/guides/python/python-doc-to-markdown.md) | Use Python and MarkItDown to convert documents to markdown |
| [Python PDF form extractor](https://trigger.dev/docs/guides/python/python-pdf-form-extractor.md) | Use Python, PyMuPDF and Trigger.dev to extract data from a PDF form |
| [Python web crawler](https://trigger.dev/docs/guides/python/python-crawl4ai.md) | Use Python, Crawl4AI and Playwright to create a headless web crawler |
| [Sequin database triggers](https://trigger.dev/docs/guides/frameworks/sequin.md) | Trigger tasks from database changes using Sequin |
| [Stripe webhooks](https://trigger.dev/docs/guides/examples/stripe-webhook.md) | Trigger tasks from incoming Stripe webhook events |
| [Hookdeck webhooks](https://trigger.dev/docs/guides/examples/hookdeck-webhook.md) | Use Hookdeck to receive webhooks and forward them to Trigger.dev tasks |
| [Supabase database webhooks](https://trigger.dev/docs/guides/frameworks/supabase-edge-functions-database-webhooks.md) | Trigger tasks using Supabase database webhooks |
| [Supabase edge function hello world](https://trigger.dev/docs/guides/frameworks/supabase-edge-functions-basic.md) | Trigger tasks from Supabase edge function |
| [Using webhooks in Next.js](https://trigger.dev/docs/guides/frameworks/nextjs-webhooks.md) | Trigger tasks from a webhook in Next.js |
| [Using webhooks in Remix](https://trigger.dev/docs/guides/frameworks/remix-webhooks.md) | Trigger tasks from a webhook in Remix |

## Featured use cases

> [card] [Data processing & ETL workflows](https://trigger.dev/docs/guides/use-cases/data-processing-etl.md)
>
> Build complex data pipelines that process large datasets without timeouts.

> [card] [Media processing workflows](https://trigger.dev/docs/guides/use-cases/media-processing.md)
>
> Batch process videos, images, audio, and documents with no execution time limits.

> [card] [AI media generation workflows](https://trigger.dev/docs/guides/use-cases/media-generation.md)
>
> Generate images, videos, audio, documents and other media using AI models.

> [card] [Marketing workflows](https://trigger.dev/docs/guides/use-cases/marketing.md)
>
> Build drip campaigns, create marketing content, and orchestrate multi-channel campaigns.

## Example projects

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

| Example project | Description | Framework | GitHub |
| :- | :- | :- | :- |
| [Anchor Browser web scraper](https://trigger.dev/docs/guides/example-projects/anchor-browser-web-scraper.md) | Monitor a website and find the cheapest tickets for a show. | — | [View the repo](https://github.com/triggerdotdev/examples/tree/main/anchor-browser-web-scraper) |
| [Ask Trigger chat agent](https://trigger.dev/docs/guides/example-projects/ask-trigger-chat-agent.md) | Teach yourself Trigger.dev with a chat agent that answers by drawing interactive node-graphs, quizzes and cards using `chat.agent()` and generative UI. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/trigger-chat-agent) |
| [Batch LLM Evaluator](https://trigger.dev/docs/guides/example-projects/batch-llm-evaluator.md) | Evaluate multiple LLM models and stream the results to the frontend. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/batch-llm-evaluator) |
| [Claude changelog generator](https://trigger.dev/docs/guides/example-projects/claude-changelog-generator.md) | Automatically generate professional changelogs from git commits using Claude. | — | [View the repo](https://github.com/triggerdotdev/examples/tree/main/changelog-generator) |
| [Claude GitHub wiki agent](https://trigger.dev/docs/guides/example-projects/claude-github-wiki.md) | Generate and maintain GitHub wiki documentation with Claude-powered analysis. | — | [View the repo](https://github.com/triggerdotdev/examples/tree/main/claude-agent-github-wiki) |
| [Claude thinking chatbot](https://trigger.dev/docs/guides/example-projects/claude-thinking-chatbot.md) | Use Vercel's AI SDK and Anthropic's Claude 3.7 model to create a thinking chatbot. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/claude-thinking-chatbot) |
| [ClickHouse chat agent](https://trigger.dev/docs/guides/example-projects/clickhouse-chat-agent.md) | Build a chat agent that answers questions about your ClickHouse data with charts, tables and maps using `chat.agent()` and generative UI. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/clickhouse-chat-agent) |
| [Cursor background agent](https://trigger.dev/docs/guides/example-projects/cursor-background-agent.md) | Run Cursor's headless CLI agent as a background task, streaming live output to the browser. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/cursor-cli-demo) |
| [ElevenLabs Voice agent](https://trigger.dev/docs/guides/example-projects/elevenlabs-voice-agent.md) | Hold a spoken conversation with a voice assistant using streaming ElevenLabs speech-to-text and text-to-speech, on a Trigger.dev `chat.agent()`. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/voice-agent-demo) |
| [Grok AI Teammates](https://trigger.dev/docs/guides/example-projects/grok-ai-teammates.md) | Open-source AI teammates (by Code With Antonio) that each get a cloud sandbox and desktop, hand off work in group chats, and run durable turns on `chat.agent()`. | Next.js | [View the repo](https://github.com/code-with-antonio/ai-teammates) |
| [Human-in-the-loop workflow](https://trigger.dev/docs/guides/example-projects/human-in-the-loop-workflow.md) | Create audio summaries of newspaper articles using a human-in-the-loop workflow built with ReactFlow and Trigger.dev waitpoint tokens. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/article-summary-workflow) |
| [Mastra agents with memory](https://trigger.dev/docs/guides/example-projects/mastra-agents-with-memory.md) | Use Mastra to create a weather agent that can collect live weather data and generate clothing recommendations. | — | [View the repo](https://github.com/triggerdotdev/examples/tree/main/mastra-agents) |
| [OpenAI Agents SDK for Python guardrails](https://trigger.dev/docs/guides/example-projects/openai-agent-sdk-guardrails.md) | Use the OpenAI Agents SDK for Python to create a guardrails system for your AI agents. | — | [View the repo](https://github.com/triggerdotdev/examples/tree/main/openai-agent-sdk-guardrails-examples) |
| [OpenAI Agents SDK for TypeScript playground](https://trigger.dev/docs/guides/example-projects/openai-agents-sdk-typescript-playground.md) | A playground containing 7 AI agents using the OpenAI Agents SDK for TypeScript with Trigger.dev. | — | [View the repo](https://github.com/triggerdotdev/examples/tree/main/openai-agents-sdk-with-trigger-playground) |
| [Product image generator](https://trigger.dev/docs/guides/example-projects/product-image-generator.md) | Transform basic product photos into professional marketing shots using Replicate's image generation models. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/product-image-generator) |
| [Python web crawler](https://trigger.dev/docs/guides/python/python-crawl4ai.md) | Use Python, Crawl4AI and Playwright to create a headless web crawler with Trigger.dev. | — | [View the repo](https://github.com/triggerdotdev/examples/tree/main/python-crawl4ai) |
| [Realtime CSV Importer](https://trigger.dev/docs/guides/example-projects/realtime-csv-importer.md) | Upload a CSV file and see the progress of the task streamed to the frontend. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/realtime-csv-importer) |
| [Realtime Fal.ai image generation](https://trigger.dev/docs/guides/example-projects/realtime-fal-ai.md) | Generate an image from a prompt using Fal.ai and show the progress of the task on the frontend using Realtime. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/realtime-fal-ai-image-generation) |
| [Resend email agent](https://trigger.dev/docs/guides/example-projects/resend-email-agent.md) | An AI agent that drafts replies to a Resend inbox and waits for your approval in Slack before sending, using hosted webhooks and wait tokens. | — | [View the repo](https://github.com/triggerdotdev/examples/tree/main/resend-slack-email-agent) |
| [Smart Spreadsheet](https://trigger.dev/docs/guides/example-projects/smart-spreadsheet.md) | Enrich company data using Exa search and Claude with real-time streaming results. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/smart-spreadsheet) |
| [Turborepo monorepo with Prisma](https://trigger.dev/docs/guides/example-projects/turborepo-monorepo-prisma.md) | Use Prisma in a Turborepo monorepo with Trigger.dev. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/monorepos/turborepo-prisma-tasks-package) |
| [Vercel AI SDK image generator](https://trigger.dev/docs/guides/example-projects/vercel-ai-sdk-image-generator.md) | Use the Vercel AI SDK to generate images from a prompt. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/vercel-ai-sdk-image-generator) |
| [Vercel AI SDK deep research agent](https://trigger.dev/docs/guides/example-projects/vercel-ai-sdk-deep-research.md) | Use the Vercel AI SDK to generate comprehensive PDF reports using a deep research agent. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/vercel-ai-sdk-deep-research-agent) |

## 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 task | Description |
| :- | :- |
| [DALL·E 3 image generation](https://trigger.dev/docs/guides/examples/dall-e3-generate-image.md) | Use OpenAI's GPT-4o and DALL·E 3 to generate an image and text. |
| [Deepgram audio transcription](https://trigger.dev/docs/guides/examples/deepgram-transcribe-audio.md) | Transcribe audio using Deepgram's speech recognition API. |
| [Fal.ai image to cartoon](https://trigger.dev/docs/guides/examples/fal-ai-image-to-cartoon.md) | Convert an image to a cartoon using Fal.ai, and upload the result to Cloudflare R2. |
| [Fal.ai with Realtime](https://trigger.dev/docs/guides/examples/fal-ai-realtime.md) | Generate an image from a prompt using Fal.ai and show the progress of the task on the frontend using Realtime. |
| [FFmpeg video processing](https://trigger.dev/docs/guides/examples/ffmpeg-video-processing.md) | Use FFmpeg to process a video in various ways and save it to Cloudflare R2. |
| [Firecrawl URL crawl](https://trigger.dev/docs/guides/examples/firecrawl-url-crawl.md) | Learn how to use Firecrawl to crawl a URL and return LLM-ready markdown. |
| [LibreOffice PDF conversion](https://trigger.dev/docs/guides/examples/libreoffice-pdf-conversion.md) | Convert a document to PDF using LibreOffice. |
| [Lightpanda](https://trigger.dev/docs/guides/examples/lightpanda.md) | Use Lightpanda browser (or cloud version) to get a webpage's content. |
| [OpenAI with retrying](https://trigger.dev/docs/guides/examples/open-ai-with-retrying.md) | Create a reusable OpenAI task with custom retry options. |
| [PDF to image](https://trigger.dev/docs/guides/examples/pdf-to-image.md) | Use `MuPDF` to turn a PDF into images and save them to Cloudflare R2. |
| [Puppeteer](https://trigger.dev/docs/guides/examples/puppeteer.md) | Use Puppeteer to generate a PDF or scrape a webpage. |
| [React email](https://trigger.dev/docs/guides/examples/react-email.md) | Send an email using React Email. |
| [React to PDF](https://trigger.dev/docs/guides/examples/react-pdf.md) | Use `react-pdf` to generate a PDF and save it to Cloudflare R2. |
| [Resend email sequence](https://trigger.dev/docs/guides/examples/resend-email-sequence.md) | Send a sequence of emails over several days using Resend with Trigger.dev. |
| [Replicate image generation](https://trigger.dev/docs/guides/examples/replicate-image-generation.md) | Learn how to generate images from source image URLs using Replicate and Trigger.dev. |
| [Satori](https://trigger.dev/docs/guides/examples/satori.md) | Generate OG images using React Satori. |
| [Scrape Hacker News](https://trigger.dev/docs/guides/examples/scrape-hacker-news.md) | Scrape Hacker News using BrowserBase and Puppeteer, summarize the articles with ChatGPT and send an email of the summary every weekday using Resend. |
| [Sentry error tracking](https://trigger.dev/docs/guides/examples/sentry-error-tracking.md) | Automatically send errors to Sentry from your tasks. |
| [Sharp image processing](https://trigger.dev/docs/guides/examples/sharp-image-processing.md) | Use Sharp to process an image and save it to Cloudflare R2. |
| [Supabase database operations](https://trigger.dev/docs/guides/examples/supabase-database-operations.md) | Run basic CRUD operations on a table in a Supabase database using Trigger.dev. |
| [Supabase Storage upload](https://trigger.dev/docs/guides/examples/supabase-storage-upload.md) | Download a video from a URL and upload it to Supabase Storage using S3. |
| [Vercel AI SDK](https://trigger.dev/docs/guides/examples/vercel-ai-sdk.md) | Use Vercel AI SDK to generate text using OpenAI. |
| [Vercel sync environment variables](https://trigger.dev/docs/guides/examples/vercel-sync-env-vars.md) | Automatically sync environment variables from your Vercel projects to Trigger.dev. |

> [!NOTE]
>
> 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](https://trigger.dev/discord) and we'll add it to the list.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.