Application Logs
error.log
api_2026-02-25.log
api_2026-02-14.log
api_2026-02-05.log
api_2026-02-04.log
api_2026-02-03.log
api_2026-01-27.log
api_2026-01-25.log
api_2026-01-24.log
api_2026-01-23.log
api_2026-01-21.log
api_2026-01-19.log
api_2026-01-18.log
api_2026-01-17.log
api_2026-01-14.log
api_2026-01-13.log
api_2026-01-12.log
api_2026-01-10.log
api_2026-01-09.log
api_2026-01-08.log
api_2026-01-07.log
2026-02-25.log
2026-02-23.log
2026-02-17.log
2026-02-16.log
2026-02-14.log
2026-02-12.log
2026-02-10.log
2026-02-09.log
2026-02-08.log
2026-02-07.log
2026-02-06.log
2026-02-05.log
2026-02-04.log
2026-02-03.log
2026-02-02.log
2026-01-31.log
2026-01-29.log
2026-01-28.log
2026-01-27.log
2026-01-26.log
2026-01-25.log
2026-01-24.log
2026-01-23.log
2026-01-22.log
2026-01-21.log
2026-01-20.log
2026-01-19.log
2026-01-18.log
2026-01-17.log
2026-01-16.log
2026-01-14.log
2026-01-13.log
2026-01-12.log
2026-01-11.log
2026-01-10.log
2026-01-09.log
2026-01-08.log
2026-01-07.log
[2026-01-13 13:27:53] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T13:27:41+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDA4N0E1ODk1QzZCMTM4MTlDMwA=_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"Humm","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDA4N0E1ODk1QzZCMTM4MTlDMwA=\",\"timestamp\":\"1768291059\",\"text\":{\"body\":\"Humm\"},\"type\":\"text\"}]","ts":"2026-01-13T13:27:52+05:30"}
[2026-01-13 13:27:53] [DEBUG] Ignoring event: delivered
[2026-01-13 13:30:04] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T13:29:50+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMEFGRTgwMEJCM0VDMjMzRDFEMwA=_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"I want to know, if I give you a image or screenshot of a prescription, can you OCR it and explain the details ??","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMEFGRTgwMEJCM0VDMjMzRDFEMwA=\",\"timestamp\":\"1768291188\",\"text\":{\"body\":\"I want to know, if I give you a image or screenshot of a prescription, can you OCR it and explain the details ??\"},\"type\":\"text\"}]","ts":"2026-01-13T13:30:03+05:30"}
[2026-01-13 13:30:04] [DEBUG] Ignoring event: delivered
[2026-01-13 13:31:03] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T13:30:51+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMEFDNkYzNDQ0MDQwQzE5RDJENAA=_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"file","text":"","latitude":"","longitude":"","caption":"Can you OCR it and explain in Bengali, pl?ease","filename":"Prescription1.jpg","url":"https://whatsappstatus.phone91.com/whatsapp-haptik-media/917596048865/1383457326855070","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMEFDNkYzNDQ0MDQwQzE5RDJENAA=\",\"timestamp\":\"1768291249\",\"type\":\"document\",\"document\":{\"caption\":\"Can you OCR it and explain in Bengali, pl?ease\",\"filename\":\"Prescription1.jpg\",\"mime_type\":\"image/jpeg\",\"sha256\":\"R34g9UFZ5YhghM0fXoyNT+w2Ii0chFP9bibxK9WrANw=\",\"id\":\"1383457326855070\",\"url\":\"https://lookaside.fbsbx.com/whatsapp_business/attachments/?mid=1383457326855070&source=webhook&ext=1768291550&hash=ARl8xPntEKPYw2xBj6OujTBtk4RyeRGgsEMAJ2cS8Qu4Ig\"}}]","ts":"2026-01-13T13:31:02+05:30"}
[2026-01-13 13:31:03] [DEBUG] Ignoring event: delivered
[2026-01-13 13:32:14] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T13:32:08+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDg2OUQ4QzVDM0RDQTY1RjIwOAA=_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"file","text":"","latitude":"","longitude":"","caption":"Please, can you OCR it and fully explain it in Bengali?","filename":"Prescription1.jpg","url":"https://whatsappstatus.phone91.com/whatsapp-haptik-media/917596048865/1566272624494024","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDg2OUQ4QzVDM0RDQTY1RjIwOAA=\",\"timestamp\":\"1768291326\",\"type\":\"document\",\"document\":{\"caption\":\"Please, can you OCR it and fully explain it in Bengali?\",\"filename\":\"Prescription1.jpg\",\"mime_type\":\"image/jpeg\",\"sha256\":\"R34g9UFZ5YhghM0fXoyNT+w2Ii0chFP9bibxK9WrANw=\",\"id\":\"1566272624494024\",\"url\":\"https://lookaside.fbsbx.com/whatsapp_business/attachments/?mid=1566272624494024&source=webhook&ext=1768291626&hash=ARkwd_6RwXWlLob7LLcjHXaRHpID3hWusLbG31Cv_P7Vmw\"}}]","ts":"2026-01-13T13:32:12+05:30"}
[2026-01-13 13:32:14] [DEBUG] Ignoring event: delivered
[2026-01-13 13:33:34] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T13:33:27+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDc4RTY3OTFFQjQ1QkRDRUMyRAA=_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"I request you to explain in Bengali language","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDc4RTY3OTFFQjQ1QkRDRUMyRAA=\",\"timestamp\":\"1768291406\",\"text\":{\"body\":\"I request you to explain in Bengali language\"},\"type\":\"text\"}]","ts":"2026-01-13T13:33:33+05:30"}
[2026-01-13 13:33:34] [DEBUG] Ignoring event: delivered
[2026-01-13 14:35:40] [DEBUG] Webhook received: {"customer_name": "Sandeepa", "sender": "916290347593", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 09:05:40", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUwRDE2N0M5MzNDMjcwNTZFNkM2RDk2N0MyMzc1M0EA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Sandeepa"}, "wa_id": "916290347593"}], "messages": [{"from": "916290347593", "id": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUwRDE2N0M5MzNDMjcwNTZFNkM2RDk2N0MyMzc1M0EA", "timestamp": "1768295137", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 14:35:40] [INFO] Processing message from 916290347593: Explain
[2026-01-13 14:35:40] [INFO] Sending upload button to 916290347593
[2026-01-13 14:35:40] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 14:35:40] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"916290347593","interactive":{"type":"cta_url","body":{"text":"Hello Sandeepa! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=916290347593&name=Sandeepa"}}}}
[2026-01-13 14:35:40] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "210dc8e94af6496ab77bdef639da644b", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 14:35:44] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T14:35:40+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUwRDE2N0M5MzNDMjcwNTZFNkM2RDk2N0MyMzc1M0EA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUwRDE2N0M5MzNDMjcwNTZFNkM2RDk2N0MyMzc1M0EA\",\"timestamp\":\"1768295137\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T14:35:43+05:30"}
[2026-01-13 14:35:44] [DEBUG] Ignoring event: delivered
[2026-01-13 14:35:52] Upload started - Phone: 916290347593, Lang: en
[2026-01-13 14:35:52] File saved: rx_69660af06e81e.jpg
[2026-01-13 14:35:52] Serial: 260113001, Starting OpenAI...
[2026-01-13 14:36:26] OpenAI success for 260113001
[2026-01-13 14:36:26] Saved to DB: prescription 31
[2026-01-13 15:03:48] Upload started - Phone: 916290347593, Lang: en
[2026-01-13 15:03:48] File saved: rx_6966117c207c2.jpg
[2026-01-13 15:03:48] Serial: 260113002, Starting OpenAI...
[2026-01-13 15:04:23] OpenAI success for 260113002
[2026-01-13 15:04:23] Saved to DB: prescription 32
[2026-01-13 15:05:15] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:05:15] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"916290347593","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=916290347593"}
[2026-01-13 15:05:16] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "9d4eb53b574247039ac77b6f49812221", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:05:20] [DEBUG] Webhook received: {"customer_name": "Sandeepa", "sender": "916290347593", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 09:35:20", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4QThFOEQ0MUI2NTNGMkE5NDE3Q0JERTUzQkMxMkUA", "direction": 0, "text": "Thank you for your message. We're unavailable right now, but will respond as soon as possible.", "contacts": [{"profile": {"name": "Sandeepa"}, "wa_id": "916290347593"}], "messages": [{"from": "916290347593", "id": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4QThFOEQ0MUI2NTNGMkE5NDE3Q0JERTUzQkMxMkUA", "timestamp": "1768296919", "text": {"body": "Thank you for your message. We're unavailable right now, but will respond as soon as possible."}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 15:05:20] [INFO] Processing message from 916290347593: Thank you for your message. We're unavailable right now, but will respond as soon as possible.
[2026-01-13 15:05:20] [INFO] Sending instructions to 916290347593
[2026-01-13 15:05:20] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:05:20] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"916290347593","text":"Hi! To get your prescription explained, please send:\n\nEXPLAIN\n\nI'll send you a link to upload your prescription."}
[2026-01-13 15:05:20] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "684ff924f3bd4b6c98c6fcedf78cd48b", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:05:24] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:05:20+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4QThFOEQ0MUI2NTNGMkE5NDE3Q0JERTUzQkMxMkUA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Thank you for your message. We're unavailable right now, but will respond as soon as possible.","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4QThFOEQ0MUI2NTNGMkE5NDE3Q0JERTUzQkMxMkUA\",\"timestamp\":\"1768296919\",\"text\":{\"body\":\"Thank you for your message. We're unavailable right now, but will respond as soon as possible.\"},\"type\":\"text\"}]","ts":"2026-01-13T15:05:23+05:30"}
[2026-01-13 15:05:24] [DEBUG] Ignoring event: delivered
[2026-01-13 15:05:26] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:05:20+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4QThFOEQ0MUI2NTNGMkE5NDE3Q0JERTUzQkMxMkUA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Thank you for your message. We're unavailable right now, but will respond as soon as possible.","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4QThFOEQ0MUI2NTNGMkE5NDE3Q0JERTUzQkMxMkUA\",\"timestamp\":\"1768296919\",\"text\":{\"body\":\"Thank you for your message. We're unavailable right now, but will respond as soon as possible.\"},\"type\":\"text\"}]","ts":"2026-01-13T15:05:25+05:30"}
[2026-01-13 15:05:26] [DEBUG] Duplicate message ignored: wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4QThFOEQ0MUI2NTNGMkE5NDE3Q0JERTUzQkMxMkUA
[2026-01-13 15:06:08] [DEBUG] Webhook received: {"customer_name": "Sandeepa", "sender": "916290347593", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 09:36:08", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUzNDMzRUQ5MkJCNDMzMEU4NTVBQTFCNUVCQkJDQjYA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Sandeepa"}, "wa_id": "916290347593"}], "messages": [{"from": "916290347593", "id": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUzNDMzRUQ5MkJCNDMzMEU4NTVBQTFCNUVCQkJDQjYA", "timestamp": "1768296966", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 15:06:08] [INFO] Processing message from 916290347593: EXPLAIN
[2026-01-13 15:06:08] [INFO] Sending upload button to 916290347593
[2026-01-13 15:06:08] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:06:08] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"916290347593","interactive":{"type":"cta_url","body":{"text":"Hello Sandeepa! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=916290347593&name=Sandeepa"}}}}
[2026-01-13 15:06:08] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "0a2be81b7da048c68be24a8bc83f5221", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:06:12] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:06:08+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUzNDMzRUQ5MkJCNDMzMEU4NTVBQTFCNUVCQkJDQjYA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUzNDMzRUQ5MkJCNDMzMEU4NTVBQTFCNUVCQkJDQjYA\",\"timestamp\":\"1768296966\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-13T15:06:09+05:30"}
[2026-01-13 15:06:12] [DEBUG] Ignoring event: delivered
[2026-01-13 15:06:14] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:06:14] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"916290347593","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=916290347593"}
[2026-01-13 15:06:14] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "fb11be37ee584355848d063fd21a1a91", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:06:16] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:06:08+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUzNDMzRUQ5MkJCNDMzMEU4NTVBQTFCNUVCQkJDQjYA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUzNDMzRUQ5MkJCNDMzMEU4NTVBQTFCNUVCQkJDQjYA\",\"timestamp\":\"1768296966\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-13T15:06:14+05:30"}
[2026-01-13 15:06:16] [DEBUG] Duplicate message ignored: wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTUzNDMzRUQ5MkJCNDMzMEU4NTVBQTFCNUVCQkJDQjYA
[2026-01-13 15:06:51] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:06:51] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"916290347593","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=916290347593"}
[2026-01-13 15:06:51] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "7ff07c62df5945cf9cd2269f0709182d", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:07:16] [DEBUG] Webhook received: {"customer_name": "Sandeepa", "sender": "916290347593", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 09:37:15", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU3Qzc5RjU5MTk5NThCRTdENDFGMUNGODE4NjdFNjIA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Sandeepa"}, "wa_id": "916290347593"}], "messages": [{"from": "916290347593", "id": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU3Qzc5RjU5MTk5NThCRTdENDFGMUNGODE4NjdFNjIA", "timestamp": "1768297034", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 15:07:16] [INFO] Processing message from 916290347593: Explain
[2026-01-13 15:07:16] [INFO] Sending upload button to 916290347593
[2026-01-13 15:07:16] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:07:16] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"916290347593","interactive":{"type":"cta_url","body":{"text":"Hello Sandeepa! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=916290347593&name=Sandeepa"}}}}
[2026-01-13 15:07:16] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "2e2386a3218047e99bdb22c18a07b55d", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:07:17] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:07:15+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU3Qzc5RjU5MTk5NThCRTdENDFGMUNGODE4NjdFNjIA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU3Qzc5RjU5MTk5NThCRTdENDFGMUNGODE4NjdFNjIA\",\"timestamp\":\"1768297034\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T15:07:16+05:30"}
[2026-01-13 15:07:17] [DEBUG] Duplicate message ignored: wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU3Qzc5RjU5MTk5NThCRTdENDFGMUNGODE4NjdFNjIA
[2026-01-13 15:07:17] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:07:15+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU3Qzc5RjU5MTk5NThCRTdENDFGMUNGODE4NjdFNjIA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU3Qzc5RjU5MTk5NThCRTdENDFGMUNGODE4NjdFNjIA\",\"timestamp\":\"1768297034\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T15:07:16+05:30"}
[2026-01-13 15:07:17] [DEBUG] Ignoring event: delivered
[2026-01-13 15:09:06] [DEBUG] Webhook received: {"customer_name": "Sandeepa", "sender": "916290347593", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 09:39:06", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU2RjdFOTg3OThCQUNFRDMxMjUwNzQ4QjE2MEY5QjYA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Sandeepa"}, "wa_id": "916290347593"}], "messages": [{"from": "916290347593", "id": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU2RjdFOTg3OThCQUNFRDMxMjUwNzQ4QjE2MEY5QjYA", "timestamp": "1768297144", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 15:09:06] [INFO] Processing message from 916290347593: Explain
[2026-01-13 15:09:06] [INFO] Sending upload button to 916290347593
[2026-01-13 15:09:06] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:09:06] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"916290347593","interactive":{"type":"cta_url","body":{"text":"Hello Sandeepa! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=916290347593&name=Sandeepa"}}}}
[2026-01-13 15:09:06] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "3fc7dbc93b5f412aa40d2ddbab5eb9be", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:09:07] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:09:06+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU2RjdFOTg3OThCQUNFRDMxMjUwNzQ4QjE2MEY5QjYA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU2RjdFOTg3OThCQUNFRDMxMjUwNzQ4QjE2MEY5QjYA\",\"timestamp\":\"1768297144\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T15:09:06+05:30"}
[2026-01-13 15:09:07] [DEBUG] Ignoring event: delivered
[2026-01-13 15:09:07] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:09:06+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU2RjdFOTg3OThCQUNFRDMxMjUwNzQ4QjE2MEY5QjYA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU2RjdFOTg3OThCQUNFRDMxMjUwNzQ4QjE2MEY5QjYA\",\"timestamp\":\"1768297144\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T15:09:06+05:30"}
[2026-01-13 15:09:07] [DEBUG] Duplicate message ignored: wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU2RjdFOTg3OThCQUNFRDMxMjUwNzQ4QjE2MEY5QjYA
[2026-01-13 15:11:04] [DEBUG] Webhook received: {"customer_name": "Mouktick Dasgupta", "sender": "919903368417", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 09:41:03", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUM2QzkzMkUwMjAzODNBMTQ3QTY1MDVCMEUxQ0ZEQzMA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Mouktick Dasgupta"}, "wa_id": "919903368417"}], "messages": [{"from": "919903368417", "id": "wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUM2QzkzMkUwMjAzODNBMTQ3QTY1MDVCMEUxQ0ZEQzMA", "timestamp": "1768297261", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 15:11:04] [INFO] Processing message from 919903368417: Explain
[2026-01-13 15:11:04] [INFO] Sending upload button to 919903368417
[2026-01-13 15:11:04] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:11:04] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919903368417","interactive":{"type":"cta_url","body":{"text":"Hello Mouktick Dasgupta! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919903368417&name=Mouktick+Dasgupta"}}}}
[2026-01-13 15:11:04] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "e023166a0a7646be95cb42d2e4fb8b3b", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:11:04] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:11:03+05:30","customerNumber":"919903368417","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUM2QzkzMkUwMjAzODNBMTQ3QTY1MDVCMEUxQ0ZEQzMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mouktick Dasgupta","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mouktick Dasgupta\"},\"wa_id\":\"919903368417\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919903368417\",\"id\":\"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUM2QzkzMkUwMjAzODNBMTQ3QTY1MDVCMEUxQ0ZEQzMA\",\"timestamp\":\"1768297261\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T15:11:04+05:30"}
[2026-01-13 15:11:04] [DEBUG] Ignoring event: delivered
[2026-01-13 15:11:08] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:11:03+05:30","customerNumber":"919903368417","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUM2QzkzMkUwMjAzODNBMTQ3QTY1MDVCMEUxQ0ZEQzMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mouktick Dasgupta","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mouktick Dasgupta\"},\"wa_id\":\"919903368417\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919903368417\",\"id\":\"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUM2QzkzMkUwMjAzODNBMTQ3QTY1MDVCMEUxQ0ZEQzMA\",\"timestamp\":\"1768297261\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T15:11:06+05:30"}
[2026-01-13 15:11:08] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUM2QzkzMkUwMjAzODNBMTQ3QTY1MDVCMEUxQ0ZEQzMA
[2026-01-13 15:15:36] Upload started - Phone: 919903368417, Lang: en
[2026-01-13 15:15:36] File saved: rx_69661440629a3.jpg
[2026-01-13 15:15:36] Serial: 260113003, Starting OpenAI...
[2026-01-13 15:15:38] OpenAI success for 260113003
[2026-01-13 15:15:38] Saved to DB: prescription 33
[2026-01-13 15:15:45] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:15:45] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919903368417","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=919903368417"}
[2026-01-13 15:15:46] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "7ff04ded363342709a9bd60272f996c6", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:15:47] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:15:47] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919903368417","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=919903368417"}
[2026-01-13 15:15:47] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "dbb78947ceb84e2d855b786701ccc60d", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:35:55] [DEBUG] Webhook received: {"customer_name": "Mouktick Dasgupta", "sender": "919903368417", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 10:05:53", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMzRTY1RTM1MDlCMTA1NTJGMTU5RjFFMDQ0QTMxRTkA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Mouktick Dasgupta"}, "wa_id": "919903368417"}], "messages": [{"from": "919903368417", "id": "wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMzRTY1RTM1MDlCMTA1NTJGMTU5RjFFMDQ0QTMxRTkA", "timestamp": "1768298752", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 15:35:55] [INFO] Processing message from 919903368417: Explain
[2026-01-13 15:35:55] [INFO] Sending upload button to 919903368417
[2026-01-13 15:35:55] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:35:55] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919903368417","interactive":{"type":"cta_url","body":{"text":"Hello Mouktick Dasgupta! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919903368417&name=Mouktick+Dasgupta"}}}}
[2026-01-13 15:35:55] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "ade4ee88096048d5b2e93f88d94c692b", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:36:00] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:35:53+05:30","customerNumber":"919903368417","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMzRTY1RTM1MDlCMTA1NTJGMTU5RjFFMDQ0QTMxRTkA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mouktick Dasgupta","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mouktick Dasgupta\"},\"wa_id\":\"919903368417\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919903368417\",\"id\":\"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMzRTY1RTM1MDlCMTA1NTJGMTU5RjFFMDQ0QTMxRTkA\",\"timestamp\":\"1768298752\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T15:35:59+05:30"}
[2026-01-13 15:36:00] [DEBUG] Ignoring event: delivered
[2026-01-13 15:36:00] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:35:53+05:30","customerNumber":"919903368417","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMzRTY1RTM1MDlCMTA1NTJGMTU5RjFFMDQ0QTMxRTkA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mouktick Dasgupta","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mouktick Dasgupta\"},\"wa_id\":\"919903368417\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919903368417\",\"id\":\"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMzRTY1RTM1MDlCMTA1NTJGMTU5RjFFMDQ0QTMxRTkA\",\"timestamp\":\"1768298752\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T15:35:59+05:30"}
[2026-01-13 15:36:00] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMzRTY1RTM1MDlCMTA1NTJGMTU5RjFFMDQ0QTMxRTkA
[2026-01-13 15:36:05] Upload started - Phone: 919903368417, Lang: en
[2026-01-13 15:36:05] File saved: rx_6966190dc8b9d.jpg
[2026-01-13 15:36:05] Serial: 260113004, Starting OpenAI...
[2026-01-13 15:36:09] OpenAI success for 260113004
[2026-01-13 15:36:09] Saved to DB: prescription 34
[2026-01-13 15:36:12] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:36:12] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919903368417","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=919903368417"}
[2026-01-13 15:36:12] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "b47814c2c0144dae91565f0e3e41485e", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:37:04] [DEBUG] Webhook received: {"customer_name": "Mouktick Dasgupta", "sender": "919903368417", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 10:07:04", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMwQzYxN0M2RkNGN0M3MzA2RTk0NzdCMTM0QUQ0NzAA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Mouktick Dasgupta"}, "wa_id": "919903368417"}], "messages": [{"from": "919903368417", "id": "wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMwQzYxN0M2RkNGN0M3MzA2RTk0NzdCMTM0QUQ0NzAA", "timestamp": "1768298822", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 15:37:04] [INFO] Processing message from 919903368417: Explain
[2026-01-13 15:37:04] [INFO] Sending upload button to 919903368417
[2026-01-13 15:37:04] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 15:37:04] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919903368417","interactive":{"type":"cta_url","body":{"text":"Hello Mouktick Dasgupta! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919903368417&name=Mouktick+Dasgupta"}}}}
[2026-01-13 15:37:04] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "dbf999edc3d64990ba1a8ac40ea28bd5", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 15:37:05] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:37:04+05:30","customerNumber":"919903368417","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMwQzYxN0M2RkNGN0M3MzA2RTk0NzdCMTM0QUQ0NzAA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mouktick Dasgupta","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mouktick Dasgupta\"},\"wa_id\":\"919903368417\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919903368417\",\"id\":\"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMwQzYxN0M2RkNGN0M3MzA2RTk0NzdCMTM0QUQ0NzAA\",\"timestamp\":\"1768298822\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T15:37:05+05:30"}
[2026-01-13 15:37:05] [DEBUG] Ignoring event: delivered
[2026-01-13 15:37:05] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T15:37:04+05:30","customerNumber":"919903368417","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMwQzYxN0M2RkNGN0M3MzA2RTk0NzdCMTM0QUQ0NzAA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mouktick Dasgupta","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mouktick Dasgupta\"},\"wa_id\":\"919903368417\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919903368417\",\"id\":\"wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMwQzYxN0M2RkNGN0M3MzA2RTk0NzdCMTM0QUQ0NzAA\",\"timestamp\":\"1768298822\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T15:37:05+05:30"}
[2026-01-13 15:37:05] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5OTAzMzY4NDE3FQIAEhggQUMwQzYxN0M2RkNGN0M3MzA2RTk0NzdCMTM0QUQ0NzAA
[2026-01-13 22:30:51] [DEBUG] Webhook received: {"customer_name": "Sandeepa", "sender": "916290347593", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 17:00:51", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTVGRUVCMjIyMzBEMEEwRDQ0OTUzMENCREUwNkQwMjMA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Sandeepa"}, "wa_id": "916290347593"}], "messages": [{"from": "916290347593", "id": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTVGRUVCMjIyMzBEMEEwRDQ0OTUzMENCREUwNkQwMjMA", "timestamp": "1768323649", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 22:30:51] [INFO] Processing message from 916290347593: Explain
[2026-01-13 22:30:51] [INFO] Sending upload button to 916290347593
[2026-01-13 22:30:51] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 22:30:51] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"916290347593","interactive":{"type":"cta_url","body":{"text":"Hello Sandeepa! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=916290347593&name=Sandeepa"}}}}
[2026-01-13 22:30:52] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "10ca50b61a59450198340ce8f9bf2e17", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 22:30:52] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T22:30:51+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTVGRUVCMjIyMzBEMEEwRDQ0OTUzMENCREUwNkQwMjMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTVGRUVCMjIyMzBEMEEwRDQ0OTUzMENCREUwNkQwMjMA\",\"timestamp\":\"1768323649\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T22:30:52+05:30"}
[2026-01-13 22:30:52] [DEBUG] Duplicate message ignored: wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTVGRUVCMjIyMzBEMEEwRDQ0OTUzMENCREUwNkQwMjMA
[2026-01-13 22:30:58] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T22:30:51+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTVGRUVCMjIyMzBEMEEwRDQ0OTUzMENCREUwNkQwMjMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTVGRUVCMjIyMzBEMEEwRDQ0OTUzMENCREUwNkQwMjMA\",\"timestamp\":\"1768323649\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T22:30:57+05:30"}
[2026-01-13 22:30:58] [DEBUG] Ignoring event: delivered
[2026-01-13 22:31:37] Upload started - Phone: 916290347593, Lang: en
[2026-01-13 22:31:37] File saved: rx_69667a71daa04.jpg
[2026-01-13 22:31:37] Serial: 260113005, Starting OpenAI...
[2026-01-13 22:31:41] OpenAI success for 260113005
[2026-01-13 22:31:41] Saved to DB: prescription 35
[2026-01-13 22:31:48] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 22:31:48] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"916290347593","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=916290347593"}
[2026-01-13 22:31:48] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "6cb9172b616a4aefa5152efe3e3bf8e1", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 22:31:56] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 22:31:56] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"916290347593","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=916290347593"}
[2026-01-13 22:31:56] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "5594ad53f82b40a3a77f62556c7612db", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 22:32:17] [DEBUG] Webhook received: {"customer_name": "Sandeepa", "sender": "916290347593", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 17:02:17", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU1MDQyOUVENDk5QzVBN0U0RkVBQzI1NUJFRTU4MDcA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Sandeepa"}, "wa_id": "916290347593"}], "messages": [{"from": "916290347593", "id": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU1MDQyOUVENDk5QzVBN0U0RkVBQzI1NUJFRTU4MDcA", "timestamp": "1768323735", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 22:32:17] [INFO] Processing message from 916290347593: Explain
[2026-01-13 22:32:17] [INFO] Sending upload button to 916290347593
[2026-01-13 22:32:17] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 22:32:17] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"916290347593","interactive":{"type":"cta_url","body":{"text":"Hello Sandeepa! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=916290347593&name=Sandeepa"}}}}
[2026-01-13 22:32:17] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "f5bbc606dfb44129bdb04ec0995f5e31", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 22:32:25] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T22:32:17+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU1MDQyOUVENDk5QzVBN0U0RkVBQzI1NUJFRTU4MDcA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU1MDQyOUVENDk5QzVBN0U0RkVBQzI1NUJFRTU4MDcA\",\"timestamp\":\"1768323735\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T22:32:24+05:30"}
[2026-01-13 22:32:25] [DEBUG] Duplicate message ignored: wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU1MDQyOUVENDk5QzVBN0U0RkVBQzI1NUJFRTU4MDcA
[2026-01-13 22:32:25] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T22:32:17+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU1MDQyOUVENDk5QzVBN0U0RkVBQzI1NUJFRTU4MDcA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU1MDQyOUVENDk5QzVBN0U0RkVBQzI1NUJFRTU4MDcA\",\"timestamp\":\"1768323735\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T22:32:24+05:30"}
[2026-01-13 22:32:25] [DEBUG] Ignoring event: delivered
[2026-01-13 22:32:39] Upload started - Phone: 916290347593, Lang: en
[2026-01-13 22:32:39] File saved: rx_69667aaf831ee.jpg
[2026-01-13 22:32:39] Serial: 260113006, Starting OpenAI...
[2026-01-13 22:32:42] OpenAI success for 260113006
[2026-01-13 22:32:42] Saved to DB: prescription 36
[2026-01-13 22:32:48] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 22:32:48] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"916290347593","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=916290347593"}
[2026-01-13 22:32:48] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "5a2e9e94416c42cdb16aed0d8c241507", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 22:33:01] [DEBUG] Webhook received: {"customer_name": "Sandeepa", "sender": "916290347593", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-13 17:03:01", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4Njg1NTVEQUIzRjJDRUMzNDc1QjY5MjNERjU3MjcA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Sandeepa"}, "wa_id": "916290347593"}], "messages": [{"from": "916290347593", "id": "wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4Njg1NTVEQUIzRjJDRUMzNDc1QjY5MjNERjU3MjcA", "timestamp": "1768323780", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-13 22:33:01] [INFO] Processing message from 916290347593: Explain
[2026-01-13 22:33:01] [INFO] Sending upload button to 916290347593
[2026-01-13 22:33:01] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 22:33:01] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"916290347593","interactive":{"type":"cta_url","body":{"text":"Hello Sandeepa! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=916290347593&name=Sandeepa"}}}}
[2026-01-13 22:33:02] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "3900156d5063427f869134167358a9c6", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 22:33:03] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T22:33:01+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4Njg1NTVEQUIzRjJDRUMzNDc1QjY5MjNERjU3MjcA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4Njg1NTVEQUIzRjJDRUMzNDc1QjY5MjNERjU3MjcA\",\"timestamp\":\"1768323780\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T22:33:02+05:30"}
[2026-01-13 22:33:03] [DEBUG] Duplicate message ignored: wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4Njg1NTVEQUIzRjJDRUMzNDc1QjY5MjNERjU3MjcA
[2026-01-13 22:33:03] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-13T22:33:01+05:30","customerNumber":"916290347593","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4Njg1NTVEQUIzRjJDRUMzNDc1QjY5MjNERjU3MjcA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sandeepa","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sandeepa\"},\"wa_id\":\"916290347593\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"916290347593\",\"id\":\"wamid.HBgMOTE2MjkwMzQ3NTkzFQIAEhggQTU4Njg1NTVEQUIzRjJDRUMzNDc1QjY5MjNERjU3MjcA\",\"timestamp\":\"1768323780\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-13T22:33:02+05:30"}
[2026-01-13 22:33:03] [DEBUG] Ignoring event: delivered
[2026-01-13 22:33:05] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-13 22:33:05] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"916290347593","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=916290347593"}
[2026-01-13 22:33:05] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "e4204ef7a43c4a27ae3815c0966fc5f3", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-13 22:33:18] Upload started - Phone: 916290347593, Lang: en
[2026-01-13 22:33:18] File saved: rx_69667ad61da32.jpg
[2026-01-13 22:33:18] Serial: 260113007, Starting OpenAI...
[2026-01-13 22:33:48] OpenAI success for 260113007
[2026-01-13 22:33:48] Saved to DB: prescription 37