Skip to main content

Overview

This example demonstrates how to use Trigger.dev to generate a PDF using react-pdf and save it to Cloudflare R2.

Task code

This example must be a .tsx file to use React components.
trigger/generateResumePDF.tsx

Testing your task

To test this task in the dashboard, you can use the following payload: