Inngest example for durable paid workflows
Show one durable Inngest workflow where only the premium step becomes payable through TDM.
Documentation • SDK Repo • GitHub • X/Twitter
████████╗ ██████╗ ███╗ ███╗
╚══██╔══╝ ██╔══██╗ ████╗ ████║
██║ ██║ ██║ ██╔████╔██║
██║ ██║ ██║ ██║╚██╔╝██║
██║ ██████╔╝ ██║ ╚═╝ ██║
╚═╝ ╚═════╝ ╚═╝ ╚═╝
TDM INNGEST [EXAMPLE REPO]
Durable Workflow + Paid Step
Mode: example-first | Docs: todealmarket.com/docs
tdm-inngest is an example-first TDM integration for durable TypeScript
workflows built with Inngest.
The intended story is simple:
- keep your normal Inngest durable function
- wrap only the premium action with TDM
- let authorization happen before the paid step runs
Verified against the current official Inngest docs:
- use
new Inngest(...) - use
inngest.createFunction(...) - keep side effects and external calls inside
step.run(...) - v4 uses
triggersinside the config object
examples/paid-agent-tool.tsguide.md
The best first story here is not a package. It is a durable workflow example
that wraps a paid action inside step.run(...).