ProfileClaw
ResumeOpportunity WorkspacePricing
ProfileClaw
ProfileClawCareer Graph OS
ProfileClaw Data Layer

Build once. Keep your context alive everywhere.

ProfileClaw keeps your assessments, materials, and long-term context ready for products like OpenClaw, Claude Work, and Nanobot, so AI can work with memory instead of starting cold.

© 2026 ProfileClaw. All rights reserved.

沪ICP备2026012738号

【工业和信息化部】尊敬的用户路承龙,您的ICP备案申请已通过审核,备案/许可证编号为:沪ICP备2026012738号,审核通过日期:2026-04-09。特此通知!【工信部ICP备案】

Product

  • Home
  • Assessments
  • Reports
  • Resume
  • Opportunity Workspace
  • Pricing
  • About

Assessments

  • Assessments
  • RIASEC
  • Work Style
  • Values
  • Skills & Talents
  • Collaboration & Conflict
  • Stress & Regulation
  • Expression Style
  • Current State Pulse

Developers

  • Developer Center
  • Docs
  • Quickstart
  • API Reference
  • Agents
  • Integrations

My

  • My
  • Reports
  • Opportunity Workspace
  • Job Preferences
  • Resume
  • Purchases & Credits
  • API Keys
  • Auth
Open QuickstartOpen the quickstart to see how ProfileClaw data connects to docs, APIs, and agent workflows.
Get StartedCreate your account, start the assessments, and build a capability profile AI can keep using.
All systems operational
HomePricingDocsPrivacyTerms
HomeAssessmentsReportsMy
ProfileClaw Docs
Home
Pricing
Agents OverviewAgent QuickstartAgent AuthCachingClosed Loop ArchitectureRetriesAgent WebhooksGuides OverviewAssessment GuideIntegrations OverviewOpenClaw Integration
DocsAgentsWebhooks

Agent Webhooks

Wake workflows at the right moment instead of polling forever

Webhooks matter when a workflow needs to continue after a later user or system event. They should trigger fresh reads and deterministic continuation, not become a mysterious second source of truth.

Format: AI-first docs
Source: DocsAgentsWebhooksPage
Info

Do not start with webhooks unless the workflow is truly asynchronous

Polling is simpler at the beginning. Webhooks become valuable once timing and continuity are product requirements.

Webhook Responsibilities

Treat events as triggers, not as the full business payload.

Trigger

The event tells the runtime that something changed and a workflow may need to resume.

  • Use profile and assessment events to wake up the right jobs.
  • Keep event routing explicit in the runtime.
  • Do not put business logic in the delivery layer.

Re-fetch

After delivery, read fresh state from the canonical API surface before acting.

  • Use webhooks to decide when to fetch, not what to trust blindly.
  • Re-read context or a narrower endpoint before taking action.
  • Keep delivery idempotent so duplicates are harmless.

Operations

Subscriptions need visibility, ownership, and cleanup.

  • Track which workflow owns which webhook URL.
  • Audit subscriptions outside the model loop.
  • Delete stale subscriptions when a workflow is retired.

Use webhooks for continuation, not for basic reads

A webhook is most useful when the agent needs to continue work after some later event. It is usually unnecessary for simple read-only flows.

  • Keep early integrations on direct reads until the event model is proven.
  • Use webhooks when user progress or system changes need timed follow-up.
  • Prefer explicit continuation flows over hidden background behavior.

Always pair delivery with a fresh contract read

The event payload should usually wake the workflow up, then the runtime should fetch canonical state before making a user-facing decision.

  • Use the event to route the workflow, not to replace the data layer.
  • Keep idempotency visible in runtime code and logs.
  • Store enough metadata to debug duplicate or delayed delivery.

Webhook Comparison

Use event-driven continuation only where it clearly beats direct polling.

PatternBest forAvoid when
Direct readsSimple request-response flows and first integrations.The workflow must resume after later external events.
PollingShort-lived interim checks while proving an event model.The workflow becomes wasteful or time-sensitive.
WebhooksLong-running workflows that need deterministic wake-up behavior.You still have no clear event ownership or re-fetch plan.

Decision Matrix

Use these rules to decide when a webhook-based design is the right next step.

Situation

The workflow can finish in one interaction

Action

Stay on direct reads.

Why

Adding event infrastructure would add cost without improving outcomes.

Situation

The workflow needs to react to later user progress

Action

Create a webhook subscription and re-fetch state on delivery.

Why

It is the cleanest way to resume with fresh data.

Situation

Delivery duplicates or delays occur

Action

Keep continuation idempotent and log every delivery attempt.

Why

Event systems are reliable when duplication is safe, not when it is impossible.

Webhook lifecycle examples

Create subscriptions explicitly, then list or inspect them from runtime tooling.

Create subscription
1curl -X POST "https://profileclaw.cn/api/v1/webhooks" -H "Authorization: Bearer $PROFILECLAW_API_KEY" -H "Content-Type: application/json" -d '{"url":"https://example.com/profileclaw/webhooks","events":["profile.updated","assessment.completed"]}'
List subscriptions
1curl "https://profileclaw.cn/api/v1/webhooks" -H "Authorization: Bearer $PROFILECLAW_API_KEY"

Next surfaces

Once the event model is clear, validate the exact contract and failure branches too.

Open Webhooks API
Open Error Types
Open Reference