[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78X5KMG6WAYVPQEVGC9JPKA":3,"skill-same:01M78X5KMG6WAYVPQEVGC9JPKA":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M78X5KMG6WAYVPQEVGC9JPKA","apify-webhooks-events",null,"Implement Apify webhooks for Actor run notifications and event-driven pipelines.\nUse when setting up run completion alerts, building event-driven scraping pipelines,\nor configuring ad-hoc webhooks for individual runs.\nTrigger: \"apify webhook\", \"apify events\", \"actor run notification\",\n\"apify run succeeded webhook\", \"apify ad-hoc webhook\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--apify-pack--apify-webhooks-events\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: apify-webhooks-events\ndescription: |\n  Implement Apify webhooks for Actor run notifications and event-driven pipelines.\n  Use when setting up run completion alerts, building event-driven scraping pipelines,\n  or configuring ad-hoc webhooks for individual runs.\n  Trigger: \"apify webhook\", \"apify events\", \"actor run notification\",\n  \"apify run succeeded webhook\", \"apify ad-hoc webhook\".\nallowed-tools: Read, Write, Edit, Bash(curl:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, scraping, automation, apify]\ncompatible-with: claude-code\n---\n\n# Apify Webhooks & Events\n\n## Overview\n\nConfigure webhooks to receive notifications when Actor runs complete, fail, or time out. Apify supports both persistent webhooks (for all runs of an Actor) and ad-hoc webhooks (for a single run). Event-driven architecture is the recommended pattern for production Apify integrations.\n\n## Event Types\n\n| Event | Fired When |\n|-------|-----------|\n| `ACTOR.RUN.CREATED` | A new Actor run starts |\n| `ACTOR.RUN.SUCCEEDED` | Run finishes with `SUCCEEDED` status |\n| `ACTOR.RUN.FAILED` | Run finishes with `FAILED` status |\n| `ACTOR.RUN.ABORTED` | Run is manually or programmatically aborted |\n| `ACTOR.RUN.TIMED_OUT` | Run exceeds its timeout |\n| `ACTOR.RUN.RESURRECTED` | A finished run is resurrected |\n\n## Instructions\n\n### Step 1: Create a Persistent Webhook\n\nPersistent webhooks fire for every run of an Actor:\n\n```typescript\nimport { ApifyClient } from 'apify-client';\n\nconst client = new ApifyClient({ token: process.env.APIFY_TOKEN });\n\nconst webhook = await client.webhooks().create({\n  eventTypes: [\n    'ACTOR.RUN.SUCCEEDED',\n    'ACTOR.RUN.FAILED',\n    'ACTOR.RUN.TIMED_OUT',\n  ],\n  condition: {\n    actorId: 'YOUR_ACTOR_ID',\n  },\n  requestUrl: 'https:\u002F\u002Fyour-app.com\u002Fapi\u002Fwebhooks\u002Fapify',\n  payloadTemplate: JSON.stringify({\n    eventType: '{{eventType}}',\n    createdAt: '{{createdAt}}',\n    actorId: '{{actorId}}',\n    actorRunId: '{{actorRunId}}',\n    defaultDatasetId: '{{resource.defaultDatasetId}}',\n    defaultKeyValueStoreId: '{{resource.defaultKeyValueStoreId}}',\n    status: '{{resource.status}}',\n    statusMessage: '{{resource.statusMessage}}',\n    startedAt: '{{resource.startedAt}}',\n    finishedAt: '{{resource.finishedAt}}',\n  }),\n  isAdHoc: false,\n});\n\nconsole.log(`Webhook created: ${webhook.id}`);\n```\n\n### Step 2: Use Ad-Hoc Webhooks for Single Runs\n\nAd-hoc webhooks are created at run time and fire only for that specific run:\n\n```typescript\n\u002F\u002F Ad-hoc webhook via API (pass webhooks array when starting a run)\nconst run = await client.actor('username\u002Fmy-actor').start(\n  { startUrls: [{ url: 'https:\u002F\u002Fexample.com' }] },\n  {\n    webhooks: [\n      {\n        eventTypes: ['ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED'],\n        requestUrl: 'https:\u002F\u002Fyour-app.com\u002Fapi\u002Fwebhooks\u002Fapify',\n        payloadTemplate: JSON.stringify({\n          runId: '{{actorRunId}}',\n          status: '{{resource.status}}',\n          datasetId: '{{resource.defaultDatasetId}}',\n        }),\n      },\n    ],\n  },\n);\n```\n\nVia REST API with curl:\n\n```bash\ncurl -X POST \\\n  \"https:\u002F\u002Fapi.apify.com\u002Fv2\u002Facts\u002FUSERNAME~ACTOR_NAME\u002Fruns\" \\\n  -H \"Authorization: Bearer $APIFY_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"startUrls\": [{\"url\": \"https:\u002F\u002Fexample.com\"}],\n    \"webhooks\": [\n      {\n        \"eventTypes\": [\"ACTOR.RUN.SUCCEEDED\"],\n        \"requestUrl\": \"https:\u002F\u002Fyour-app.com\u002Fwebhook\"\n      }\n    ]\n  }'\n```\n\n### Step 3: Build the Webhook Handler\n\n```typescript\nimport express from 'express';\nimport { ApifyClient } from 'apify-client';\n\nconst app = express();\nconst client = new ApifyClient({ token: process.env.APIFY_TOKEN });\n\napp.use(express.json());\n\n\u002F\u002F Webhook endpoint\napp.post('\u002Fapi\u002Fwebhooks\u002Fapify', async (req, res) => {\n  \u002F\u002F Respond immediately (Apify expects 2xx within 30 seconds)\n  res.status(200).json({ received: true });\n\n  \u002F\u002F Process asynchronously\n  try {\n    await processWebhook(req.body);\n  } catch (error) {\n    console.error('Webhook processing failed:', error);\n  }\n});\n\nasync function processWebhook(payload: {\n  eventType: string;\n  actorRunId: string;\n  defaultDatasetId?: string;\n  status: string;\n  statusMessage?: string;\n}) {\n  const { eventType, actorRunId, defaultDatasetId } = payload;\n\n  switch (eventType) {\n    case 'ACTOR.RUN.SUCCEEDED': {\n      if (!defaultDatasetId) return;\n\n      \u002F\u002F Fetch results from the dataset\n      const { items } = await client\n        .dataset(defaultDatasetId)\n        .listItems({ limit: 10000 });\n\n      console.log(`Run ${actorRunId} succeeded with ${items.length} items`);\n\n      \u002F\u002F Process results: save to DB, trigger downstream jobs, etc.\n      await saveToDatabase(items);\n      await notifyTeam(`Scrape completed: ${items.length} items`);\n      break;\n    }\n\n    case 'ACTOR.RUN.FAILED':\n    case 'ACTOR.RUN.TIMED_OUT': {\n      console.error(`Run ${actorRunId} ${eventType}: ${payload.statusMessage}`);\n\n      \u002F\u002F Get full run log for debugging\n      const log = await client.run(actorRunId).log().get();\n      await alertOncall({\n        subject: `Apify run ${eventType}`,\n        runId: actorRunId,\n        message: payload.statusMessage,\n        logTail: log?.slice(-1000),\n      });\n      break;\n    }\n\n    case 'ACTOR.RUN.ABORTED':\n      console.warn(`Run ${actorRunId} was aborted`);\n      break;\n\n    default:\n      console.log(`Unhandled event: ${eventType}`);\n  }\n}\n```\n\n### Step 4: Idempotent Processing\n\nWebhooks may be delivered more than once. Guard against duplicates:\n\n```typescript\n\u002F\u002F Using a Set for in-memory dedup (use Redis\u002FDB in production)\nconst processedRuns = new Set\u003Cstring>();\n\nasync function processWebhookIdempotent(payload: {\n  actorRunId: string;\n  eventType: string;\n}) {\n  const dedupeKey = `${payload.actorRunId}:${payload.eventType}`;\n\n  if (processedRuns.has(dedupeKey)) {\n    console.log(`Skipping duplicate: ${dedupeKey}`);\n    return;\n  }\n\n  processedRuns.add(dedupeKey);\n\n  \u002F\u002F Process the webhook...\n  await processWebhook(payload);\n\n  \u002F\u002F Cleanup old entries (keep last 10000)\n  if (processedRuns.size > 10000) {\n    const entries = Array.from(processedRuns);\n    entries.slice(0, entries.length - 10000).forEach(e => processedRuns.delete(e));\n  }\n}\n```\n\n### Step 5: Event-Driven Pipeline\n\nChain Actors together using webhooks:\n\n```typescript\n\u002F\u002F Actor A finishes → webhook triggers → start Actor B\n\napp.post('\u002Fapi\u002Fwebhooks\u002Fpipeline', async (req, res) => {\n  res.status(200).json({ received: true });\n\n  const { eventType, actorRunId, defaultDatasetId } = req.body;\n\n  if (eventType !== 'ACTOR.RUN.SUCCEEDED') return;\n\n  \u002F\u002F Stage 1 completed, start Stage 2\n  console.log(`Pipeline Stage 1 done (run ${actorRunId}). Starting Stage 2...`);\n\n  const stage2Run = await client.actor('username\u002Fdata-processor').start(\n    {\n      sourceDatasetId: defaultDatasetId,\n      outputFormat: 'json',\n    },\n    {\n      webhooks: [{\n        eventTypes: ['ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED'],\n        requestUrl: 'https:\u002F\u002Fyour-app.com\u002Fapi\u002Fwebhooks\u002Fpipeline-stage3',\n      }],\n    },\n  );\n\n  console.log(`Stage 2 started: ${stage2Run.id}`);\n});\n```\n\n### Step 6: Manage Webhooks\n\n```typescript\n\u002F\u002F List all webhooks\nconst { items: webhooks } = await client.webhooks().list();\nwebhooks.forEach(wh => {\n  console.log(`${wh.id} | ${wh.eventTypes.join(',')} | ${wh.requestUrl}`);\n});\n\n\u002F\u002F Update a webhook\nawait client.webhook('WEBHOOK_ID').update({\n  requestUrl: 'https:\u002F\u002Fnew-url.com\u002Fwebhook',\n  isEnabled: true,\n});\n\n\u002F\u002F Delete a webhook\nawait client.webhook('WEBHOOK_ID').delete();\n\n\u002F\u002F Get webhook dispatch history (see delivery attempts)\nconst { items: dispatches } = await client\n  .webhook('WEBHOOK_ID')\n  .dispatches()\n  .list();\ndispatches.forEach(d => {\n  console.log(`${d.status} | ${d.createdAt} | HTTP ${d.responseStatus}`);\n});\n```\n\n## Webhook Payload Template Variables\n\n| Variable | Description |\n|----------|-------------|\n| `{{eventType}}` | Event type string |\n| `{{eventData}}` | Full event data object |\n| `{{createdAt}}` | Event creation timestamp |\n| `{{actorId}}` | Actor ID |\n| `{{actorRunId}}` | Run ID |\n| `{{actorTaskId}}` | Task ID (if run from a task) |\n| `{{resource.*}}` | Any field from the run object |\n\n## Testing Webhooks Locally\n\n```bash\n# Use ngrok to expose local server\nngrok http 3000\n# Copy the HTTPS URL\n\n# Create a test webhook pointing to ngrok\n# Then trigger a run to see the webhook fire\n\n# Or manually simulate a webhook payload\ncurl -X POST http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fwebhooks\u002Fapify \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"eventType\": \"ACTOR.RUN.SUCCEEDED\",\n    \"actorRunId\": \"test-run-123\",\n    \"defaultDatasetId\": \"test-dataset-456\",\n    \"status\": \"SUCCEEDED\"\n  }'\n```\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Webhook not delivered | URL unreachable | Verify HTTPS, check firewall |\n| Duplicate processing | Webhook retry on non-2xx | Implement idempotency |\n| Slow processing | Handler takes >30s | Respond 200 immediately, process async |\n| Missing data in payload | Wrong template vars | Check template variable spelling |\n| Webhook disabled | Too many failures | Re-enable in Console or via API |\n\n## Resources\n\n- [Webhook Event Types](https:\u002F\u002Fdocs.apify.com\u002Fplatform\u002Fintegrations\u002Fwebhooks\u002Fevents)\n- [Webhook Actions](https:\u002F\u002Fdocs.apify.com\u002Fplatform\u002Fintegrations\u002Fwebhooks\u002Factions)\n- [Ad-Hoc Webhooks](https:\u002F\u002Fdocs.apify.com\u002Fplatform\u002Fintegrations\u002Fwebhooks\u002Fad-hoc-webhooks)\n\n## Next Steps\n\nFor performance optimization, see `apify-performance-tuning`.\n","# Apify Webhooks & Events\n\n## Overview\n\nConfigure webhooks to receive notifications when Actor runs complete, fail, or time out. Apify supports both persistent webhooks (for all runs of an Actor) and ad-hoc webhooks (for a single run). Event-driven architecture is the recommended pattern for production Apify integrations.\n\n## Event Types\n\n| Event | Fired When |\n|-------|-----------|\n| `ACTOR.RUN.CREATED` | A new Actor run starts |\n| `ACTOR.RUN.SUCCEEDED` | Run finishes with `SUCCEEDED` status |\n| `ACTOR.RUN.FAILED` | Run finishes with `FAILED` status |\n| `ACTOR.RUN.ABORTED` | Run is manually or programmatically aborted |\n| `ACTOR.RUN.TIMED_OUT` | Run exceeds its timeout |\n| `ACTOR.RUN.RESURRECTED` | A finished run is resurrected |\n\n## Instructions\n\n### Step 1: Create a Persistent Webhook\n\nPersistent webhooks fire for every run of an Actor:\n\n```typescript\nimport { ApifyClient } from 'apify-client';\n\nconst client = new ApifyClient({ token: process.env.APIFY_TOKEN });\n\nconst webhook = await client.webhooks().create({\n  eventTypes: [\n    'ACTOR.RUN.SUCCEEDED',\n    'ACTOR.RUN.FAILED',\n    'ACTOR.RUN.TIMED_OUT',\n  ],\n  condition: {\n    actorId: 'YOUR_ACTOR_ID',\n  },\n  requestUrl: 'https:\u002F\u002Fyour-app.com\u002Fapi\u002Fwebhooks\u002Fapify',\n  payloadTemplate: JSON.stringify({\n    eventType: '{{eventType}}',\n    createdAt: '{{createdAt}}',\n    actorId: '{{actorId}}',\n    actorRunId: '{{actorRunId}}',\n    defaultDatasetId: '{{resource.defaultDatasetId}}',\n    defaultKeyValueStoreId: '{{resource.defaultKeyValueStoreId}}',\n    status: '{{resource.status}}',\n    statusMessage: '{{resource.statusMessage}}',\n    startedAt: '{{resource.startedAt}}',\n    finishedAt: '{{resource.finishedAt}}',\n  }),\n  isAdHoc: false,\n});\n\nconsole.log(`Webhook created: ${webhook.id}`);\n```\n\n### Step 2: Use Ad-Hoc Webhooks for Single Runs\n\nAd-hoc webhooks are created at run time and fire only for that specific run:\n\n```typescript\n\u002F\u002F Ad-hoc webhook via API (pass webhooks array when starting a run)\nconst run = await client.actor('username\u002Fmy-actor').start(\n  { startUrls: [{ url: 'https:\u002F\u002Fexample.com' }] },\n  {\n    webhooks: [\n      {\n        eventTypes: ['ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED'],\n        requestUrl: 'https:\u002F\u002Fyour-app.com\u002Fapi\u002Fwebhooks\u002Fapify',\n        payloadTemplate: JSON.stringify({\n          runId: '{{actorRunId}}',\n          status: '{{resource.status}}',\n          datasetId: '{{resource.defaultDatasetId}}',\n        }),\n      },\n    ],\n  },\n);\n```\n\nVia REST API with curl:\n\n```bash\ncurl -X POST \\\n  \"https:\u002F\u002Fapi.apify.com\u002Fv2\u002Facts\u002FUSERNAME~ACTOR_NAME\u002Fruns\" \\\n  -H \"Authorization: Bearer $APIFY_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"startUrls\": [{\"url\": \"https:\u002F\u002Fexample.com\"}],\n    \"webhooks\": [\n      {\n        \"eventTypes\": [\"ACTOR.RUN.SUCCEEDED\"],\n        \"requestUrl\": \"https:\u002F\u002Fyour-app.com\u002Fwebhook\"\n      }\n    ]\n  }'\n```\n\n### Step 3: Build the Webhook Handler\n\n```typescript\nimport express from 'express';\nimport { ApifyClient } from 'apify-client';\n\nconst app = express();\nconst client = new ApifyClient({ token: process.env.APIFY_TOKEN });\n\napp.use(express.json());\n\n\u002F\u002F Webhook endpoint\napp.post('\u002Fapi\u002Fwebhooks\u002Fapify', async (req, res) => {\n  \u002F\u002F Respond immediately (Apify expects 2xx within 30 seconds)\n  res.status(200).json({ received: true });\n\n  \u002F\u002F Process asynchronously\n  try {\n    await processWebhook(req.body);\n  } catch (error) {\n    console.error('Webhook processing failed:', error);\n  }\n});\n\nasync function processWebhook(payload: {\n  eventType: string;\n  actorRunId: string;\n  defaultDatasetId?: string;\n  status: string;\n  statusMessage?: string;\n}) {\n  const { eventType, actorRunId, defaultDatasetId } = payload;\n\n  switch (eventType) {\n    case 'ACTOR.RUN.SUCCEEDED': {\n      if (!defaultDatasetId) return;\n\n      \u002F\u002F Fetch results from the dataset\n      const { items } = await client\n        .dataset(defaultDatasetId)\n        .listItems({ limit: 10000 });\n\n      console.log(`Run ${actorRunId} succeeded with ${items.length} items`);\n\n      \u002F\u002F Process results: save to DB, trigger downstream jobs, etc.\n      await saveToDatabase(items);\n      await notifyTeam(`Scrape completed: ${items.length} items`);\n      break;\n    }\n\n    case 'ACTOR.RUN.FAILED':\n    case 'ACTOR.RUN.TIMED_OUT': {\n      console.error(`Run ${actorRunId} ${eventType}: ${payload.statusMessage}`);\n\n      \u002F\u002F Get full run log for debugging\n      const log = await client.run(actorRunId).log().get();\n      await alertOncall({\n        subject: `Apify run ${eventType}`,\n        runId: actorRunId,\n        message: payload.statusMessage,\n        logTail: log?.slice(-1000),\n      });\n      break;\n    }\n\n    case 'ACTOR.RUN.ABORTED':\n      console.warn(`Run ${actorRunId} was aborted`);\n      break;\n\n    default:\n      console.log(`Unhandled event: ${eventType}`);\n  }\n}\n```\n\n### Step 4: Idempotent Processing\n\nWebhooks may be delivered more than once. Guard against duplicates:\n\n```typescript\n\u002F\u002F Using a Set for in-memory dedup (use Redis\u002FDB in production)\nconst processedRuns = new Set\u003Cstring>();\n\nasync function processWebhookIdempotent(payload: {\n  actorRunId: string;\n  eventType: string;\n}) {\n  const dedupeKey = `${payload.actorRunId}:${payload.eventType}`;\n\n  if (processedRuns.has(dedupeKey)) {\n    console.log(`Skipping duplicate: ${dedupeKey}`);\n    return;\n  }\n\n  processedRuns.add(dedupeKey);\n\n  \u002F\u002F Process the webhook...\n  await processWebhook(payload);\n\n  \u002F\u002F Cleanup old entries (keep last 10000)\n  if (processedRuns.size > 10000) {\n    const entries = Array.from(processedRuns);\n    entries.slice(0, entries.length - 10000).forEach(e => processedRuns.delete(e));\n  }\n}\n```\n\n### Step 5: Event-Driven Pipeline\n\nChain Actors together using webhooks:\n\n```typescript\n\u002F\u002F Actor A finishes → webhook triggers → start Actor B\n\napp.post('\u002Fapi\u002Fwebhooks\u002Fpipeline', async (req, res) => {\n  res.status(200).json({ received: true });\n\n  const { eventType, actorRunId, defaultDatasetId } = req.body;\n\n  if (eventType !== 'ACTOR.RUN.SUCCEEDED') return;\n\n  \u002F\u002F Stage 1 completed, start Stage 2\n  console.log(`Pipeline Stage 1 done (run ${actorRunId}). Starting Stage 2...`);\n\n  const stage2Run = await client.actor('username\u002Fdata-processor').start(\n    {\n      sourceDatasetId: defaultDatasetId,\n      outputFormat: 'json',\n    },\n    {\n      webhooks: [{\n        eventTypes: ['ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED'],\n        requestUrl: 'https:\u002F\u002Fyour-app.com\u002Fapi\u002Fwebhooks\u002Fpipeline-stage3',\n      }],\n    },\n  );\n\n  console.log(`Stage 2 started: ${stage2Run.id}`);\n});\n```\n\n### Step 6: Manage Webhooks\n\n```typescript\n\u002F\u002F List all webhooks\nconst { items: webhooks } = await client.webhooks().list();\nwebhooks.forEach(wh => {\n  console.log(`${wh.id} | ${wh.eventTypes.join(',')} | ${wh.requestUrl}`);\n});\n\n\u002F\u002F Update a webhook\nawait client.webhook('WEBHOOK_ID').update({\n  requestUrl: 'https:\u002F\u002Fnew-url.com\u002Fwebhook',\n  isEnabled: true,\n});\n\n\u002F\u002F Delete a webhook\nawait client.webhook('WEBHOOK_ID').delete();\n\n\u002F\u002F Get webhook dispatch history (see delivery attempts)\nconst { items: dispatches } = await client\n  .webhook('WEBHOOK_ID')\n  .dispatches()\n  .list();\ndispatches.forEach(d => {\n  console.log(`${d.status} | ${d.createdAt} | HTTP ${d.responseStatus}`);\n});\n```\n\n## Webhook Payload Template Variables\n\n| Variable | Description |\n|----------|-------------|\n| `{{eventType}}` | Event type string |\n| `{{eventData}}` | Full event data object |\n| `{{createdAt}}` | Event creation timestamp |\n| `{{actorId}}` | Actor ID |\n| `{{actorRunId}}` | Run ID |\n| `{{actorTaskId}}` | Task ID (if run from a task) |\n| `{{resource.*}}` | Any field from the run object |\n\n## Testing Webhooks Locally\n\n```bash\n# Use ngrok to expose local server\nngrok http 3000\n# Copy the HTTPS URL\n\n# Create a test webhook pointing to ngrok\n# Then trigger a run to see the webhook fire\n\n# Or manually simulate a webhook payload\ncurl -X POST http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fwebhooks\u002Fapify \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"eventType\": \"ACTOR.RUN.SUCCEEDED\",\n    \"actorRunId\": \"test-run-123\",\n    \"defaultDatasetId\": \"test-dataset-456\",\n    \"status\": \"SUCCEEDED\"\n  }'\n```\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Webhook not delivered | URL unreachable | Verify HTTPS, check firewall |\n| Duplicate processing | Webhook retry on non-2xx | Implement idempotency |\n| Slow processing | Handler takes >30s | Respond 200 immediately, process async |\n| Missing data in payload | Wrong template vars | Check template variable spelling |\n| Webhook disabled | Too many failures | Re-enable in Console or via API |\n\n## Resources\n\n- [Webhook Event Types](https:\u002F\u002Fdocs.apify.com\u002Fplatform\u002Fintegrations\u002Fwebhooks\u002Fevents)\n- [Webhook Actions](https:\u002F\u002Fdocs.apify.com\u002Fplatform\u002Fintegrations\u002Fwebhooks\u002Factions)\n- [Ad-Hoc Webhooks](https:\u002F\u002Fdocs.apify.com\u002Fplatform\u002Fintegrations\u002Fwebhooks\u002Fad-hoc-webhooks)\n\n## Next Steps\n\nFor performance optimization, see `apify-performance-tuning`.\n",{"name":5,"tags":24,"author":29,"license":15,"version":30,"description":31,"allowed-tools":32,"compatible-with":33},[25,26,27,28],"saas","scraping","automation","apify","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement Apify webhooks for Actor run notifications and event-driven pipelines.\nUse when setting up run completion alerts, building event-driven scraping pipelines,\nor configuring ad-hoc webhooks for individual runs.\nTrigger: \"apify webhook\", \"apify events\", \"actor run notification\",\n\"apify run succeeded webhook\", \"apify ad-hoc webhook\".\n","Read, Write, Edit, Bash(curl:*)","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--apify-pack--apify-webhooks-events",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill apify-webhooks-events",{"tool":49,"command":50},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill apify-webhooks-events",{"tool":52,"command":53},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill apify-webhooks-events","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--apify-pack--apify-webhooks-events\u002FSKILL.md",true,[],[58,65,72,79,86,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]