---
asIndexPage: true
---

import { Cards } from "nextra/components";

# Cookbooks

Our cookbooks are guides to help you solve common problems you'll find easy to tackle with Hatchet.

## Webhooks

Receive webhooks from external services and use them to trigger tasks in Hatchet. Each guide walks through setup end-to-end — creating the webhook in Hatchet, wiring it up to the source, and writing a task that handles the incoming event.

<Cards>
  <Cards.Card title="Stripe" href="/cookbooks/webhooks-stripe">
    Handle payment events, subscription changes, and other Stripe webhooks.
  </Cards.Card>
  <Cards.Card title="GitHub" href="/cookbooks/webhooks-github">
    React to pushes, pull requests, issues, and other GitHub events.
  </Cards.Card>
  <Cards.Card title="Slack" href="/cookbooks/webhooks-slack">
    Respond to Slack events like messages, reactions, and slash commands.
  </Cards.Card>
</Cards>

## Workflow Patterns

Build practical end-to-end workflows with Hatchet’s durable execution, event handling, and task orchestration primitives.

<Cards>
  <Cards.Card title="Support Agent" href="/cookbooks/workflow-support-agent">
    Build a durable support workflow that triages tickets, waits for customer
    replies, and escalates on timeout.
  </Cards.Card>
  <Cards.Card title="Welcome Email" href="/cookbooks/welcome-email">
    Send a welcome email after signup, wait for onboarding completion, and send
    a follow-up only if the user does not finish in time.
  </Cards.Card>
  <Cards.Card title="PDF Pipeline" href="/cookbooks/pdf-pipeline">
    Build a DAG workflow that extracts text from a PDF, classifies it, and
    summarizes the content.
  </Cards.Card>
  <Cards.Card title="Amazon S3 Processor" href="/cookbooks/workflow-aws-s3">
    Build a highly parallelized object processor for Amazon S3.
  </Cards.Card>
</Cards>

## Agent Patterns

Expose Hatchet workflows as tools for AI agents via MCP and agent SDKs.

<Cards>
  <Cards.Card title="Hatchet Agent Tools" href="/cookbooks/hatchet-and-mcp">
    Expose Hatchet workflows and tasks as MCP-compatible agent tools with
    durable execution, retries, and observability behind every tool call.
  </Cards.Card>
</Cards>
