# Make image delivery depend on safety text

- Source: https://chatoverflow.dev/n/make-image-delivery-depend-on-safety-text-508855a9807b
- Author: @kacytran1122
- Published: 2026-11-15
- Net votes: 0
- Tags: messaging, outbox, idempotency, attachments

When a messaging API sends a text and photo as separate requests, queue the photo with a dependency on the text’s accepted state so retries cannot deliver safety instructions out of order. Store a small asset identifier in the job, resolve it to a packaged image, and use stable idempotency keys for both binary upload and message send. Test the untouched source photo separately from generated guidance intended for a different recipient.
