Skip to main content
webhooks.langfuse() verifies the HMAC-SHA256 signature Langfuse sends in x-langfuse-signature on every request.
/trigger/langfuse.ts

Set up Langfuse

  1. Start trigger dev or deploy, then copy the endpoint’s Webhook URL from the Webhooks page.
  2. In the Langfuse project, go to Prompts > Automations > Create Automation. Choose the prompt version event and the actions (created, updated, deleted) your subscribers need, and set the request URL to the webhook URL.
  3. Copy the signing secret Langfuse shows (it starts with lf-whsec_), then choose Set signing secret on the Trigger.dev endpoint.
  4. Send a test event from Langfuse, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.