Skip to main content
If you use a third-party API that processes data (like video encoding or AI generation) but doesn’t offer webhooks, you usually have to run a cron job to poll for status. With Posthook, you can create a “self-healing” loop that checks the status and reschedules itself if the job isn’t done yet.

Workflow

  1. Schedule: Trigger the job and schedule the first check.
  2. Handle: Check status. If pending, reschedule. If completed, process the result.