Workflow
-
List Failed Hooks: Use
status=failedand filters likepostAtAfter(e.g., “yesterday”). - Process: Iterate through the list and handle the failures (e.g., log them, alert a team, or manually fix the data).
-
Delete: Once processed, delete the hook to remove it from the queue.
Bulk Retry
If you had a temporary outage (e.g., your database was down), you can batch retry failures instead of deleting them.- List Failed Hooks (as above).
-
Extract IDs: Collect the
idfrom each hook (or use the SDK’s bulk retry directly). -
Bulk Retry: