Skip to content

Docs/apify webhook example#177

Merged
bobakemamian merged 2 commits intomainfrom
docs/apify-webhook-example
Apr 26, 2026
Merged

Docs/apify webhook example#177
bobakemamian merged 2 commits intomainfrom
docs/apify-webhook-example

Conversation

@bobakemamian
Copy link
Copy Markdown
Contributor

No description provided.

bobakemamian and others added 2 commits April 21, 2026 10:22
Captures the exact flow validated against real Apify infrastructure on
2026-04-21: two buttons (scrape launcher + dataset fetcher) + one
drawer with webhook trigger. Real trip time: ~15s from press to
`[serve] drawer on-apify-done ok`.

Exercises the whole webhook surface in one walk-through:
  - batteries for the Apify token (globally scoped, stays out of repos)
  - `buttons webhook setup` with the cert.pem flow, apex guard, and
    zone-drift detection
  - alternative --api-token path for multi-zone / headless
  - `${inputs.webhook.body.resource.defaultDatasetId}` CEL resolution
  - auto-declared `webhook` input on trigger drawers
  - drawer-level retry policy on transient upstream 502s
  - listener drain + process-group kill on Ctrl-C
  - dry-run via `press --webhook-body` without running the listener

Flags a known gap: `drawer NAME set on_failure.*` is not yet wired;
direct JSON edit of drawer.json is the current path. Worth a follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Promotes the examples folder out of docs/ to the repo root so it's
discoverable alongside README/CLAUDE.md without spelunking into the
Mintlify docs tree. Both walk-throughs move:

- examples/apify-to-snowflake.md       (drawer composition reference)
- examples/apify-webhook-scrape.md     (just-added webhook reference)

Updates the single CLAUDE.md reference to the new paths.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@bobakemamian bobakemamian merged commit 5420260 into main Apr 26, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant