/\ ATFGraph /docs
README Downloads
Examples / ATFGraph
Framework reference

This article is retained from the existing framework docs. Self-hosting commands and server-admin access differ from the managed CLI workflow. Start with Get started for the installed product.

Webhook emitter

Directory examples/python/features/webhook_emitter

Record one payment; idempotent per delivery key because the server deduplicates deliveries.

Agent node label hooks, version 1.0.0.

Capabilities

CapabilityKindSignatureModuleSummary
handle_paymenttraversal(payment: Payment, trigger: TriggerContext | None = None) -> dictexamples/python/features/webhook_emitter/agent.pyRecord one payment; idempotent per delivery key because the server deduplicates deliveries.
handle_prtraversal(event: dict, trigger: TriggerContext | None = None) -> dictexamples/python/features/webhook_emitter/agent.pySummarize a GitHub pull_request event; the raw event binds to ``event``.
receiveskill(value: int, trigger: TriggerContext | None = None) -> dictexamples/python/features/webhook_emitter/agent.pyEcho a value plus how it arrived (code binding doubles it; a manual emitter does not).

Commands

Taken from this example's own README and module docstrings.

python -m atfgraph.worker --module examples.python.features.webhook_emitter.agent:app

Files

  • examples/python/features/webhook_emitter/__init__.py
  • examples/python/features/webhook_emitter/agent.py
  • examples/python/features/webhook_emitter/agentnode.yaml
ATFGraph documentationHosted workflow · Framework reference