<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/5565858fc50c48da9567f13ecb94d3de&quot; frameborder=&quot;0&quot; width=&quot;1108&quot; height=&quot;831&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>831</height><width>1108</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>831</thumbnail_height><thumbnail_width>1108</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/5565858fc50c48da9567f13ecb94d3de-86f646df2ed1bad0.gif</thumbnail_url><duration>322.761</duration><title>Webhook JSON Classification with Redis Queue 🚀</title><description>I built a webhook that accepts any JSON payload event, queues it to Redis, and processes it with a worker. The worker uses LangChain with structured output and LLM logic to classify each event as shipment, invoice, or unclassified, then stores results in PostgreSQL tables. I also added retry handling with requeue and wait for 10 seconds on errors. I demoed running the repo with docker compose, testing via Swagger and a script that generates random payloads, and checking job status, task ID, and stored shipment data. There was no action requested from viewers.</description></oembed>