RestauRent Photo Conversion Worker
Headless automation service — no UI beyond this status page.
WORKFLOWS
- convert-photos —
POST /api/convert
Trigger: Airtable automations (per table, watching the source attachment field or “Run Cloudinary”)
Action: sharp → Cloudinary WebP → write the table's WebP attachments + URLs fields
TABLES
- Venues Table: Photo Gallery → Photo Gallery WebP URLs
- Sub Listings: Photo Gallery → Photo Gallery WebP URLs
- Venue Types: Compressed Photos → WebP Photos URLs
- Event Types: Compressed Photos → WebP Photos URLs
- host-profile: Compressed Logo → WebP Photo URL
- Regions: compressed photo → WebP Photo URLs
- Venue Media: Media Images → Photo Gallery WebP URLs
- Thumbtack Dynamic Pages: Converted Photos → WebP Photos URLs
- Cloudinary Transformations: Photo Gallery → Photo Gallery WebP URLs
- Blogs: Featured Image → Photo Gallery WebP URLs
HEALTH
Config: ok
Required: AIRTABLE_API_KEY, AIRTABLE_BASE_ID, CLOUDINARY_CLOUD_NAME, CLOUDINARY_API_KEY, CLOUDINARY_API_SECRET, WORKER_SHARED_TOKEN · see /api/health