🔧 System Utility

📋 Application Logs

Available Log Files:

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

Contents of: 2026-01-07.log

[2026-01-07 16:34:02] [DEBUG] Webhook received: {"customer_name": "Mr. Goutam Chakraborty", "sender": "919831101730", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 11:04:02", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM5NzA4RTY0Nzc4RERGRDcwREM0NkQwNjVCNEQ0NDgA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Mr. Goutam Chakraborty"}, "wa_id": "919831101730"}], "messages": [{"from": "919831101730", "id": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM5NzA4RTY0Nzc4RERGRDcwREM0NkQwNjVCNEQ0NDgA", "timestamp": "1767783840", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 16:34:02] [INFO] Processing message from 919831101730: EXPLAIN [2026-01-07 16:34:02] [INFO] Sending upload button to 919831101730 [2026-01-07 16:34:02] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 16:34:02] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919831101730","interactive":{"type":"cta_url","body":{"text":"Hello Mr. Goutam Chakraborty! 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=919831101730&name=Mr.+Goutam+Chakraborty"}}}} [2026-01-07 16:34:03] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "6160ab24deb24c6d8c2f3a944c3b1e95", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 16:34:03] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T16:34:02+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM5NzA4RTY0Nzc4RERGRDcwREM0NkQwNjVCNEQ0NDgA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM5NzA4RTY0Nzc4RERGRDcwREM0NkQwNjVCNEQ0NDgA\",\"timestamp\":\"1767783840\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T16:34:02+05:30"} [2026-01-07 16:34:03] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM5NzA4RTY0Nzc4RERGRDcwREM0NkQwNjVCNEQ0NDgA [2026-01-07 16:34:05] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T16:34:02+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM5NzA4RTY0Nzc4RERGRDcwREM0NkQwNjVCNEQ0NDgA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM5NzA4RTY0Nzc4RERGRDcwREM0NkQwNjVCNEQ0NDgA\",\"timestamp\":\"1767783840\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T16:34:02+05:30"} [2026-01-07 16:34:05] [DEBUG] Ignoring event: delivered [2026-01-07 16:34:38] [DEBUG] Webhook received: {"customer_name": "Mr. Goutam Chakraborty", "sender": "919831101730", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 11:04:38", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNDQUM0QjI4NEM1OEUwRDBEQzQ1OTE4NzY4NzE4OTIA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Mr. Goutam Chakraborty"}, "wa_id": "919831101730"}], "messages": [{"from": "919831101730", "id": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNDQUM0QjI4NEM1OEUwRDBEQzQ1OTE4NzY4NzE4OTIA", "timestamp": "1767783876", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 16:34:38] [INFO] Processing message from 919831101730: EXPLAIN [2026-01-07 16:34:38] [INFO] Sending upload button to 919831101730 [2026-01-07 16:34:38] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 16:34:38] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919831101730","interactive":{"type":"cta_url","body":{"text":"Hello Mr. Goutam Chakraborty! 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=919831101730&name=Mr.+Goutam+Chakraborty"}}}} [2026-01-07 16:34:38] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "44f6a3a392af43aa8f3b5d041251a2ac", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 16:34:40] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T16:34:38+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNDQUM0QjI4NEM1OEUwRDBEQzQ1OTE4NzY4NzE4OTIA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNDQUM0QjI4NEM1OEUwRDBEQzQ1OTE4NzY4NzE4OTIA\",\"timestamp\":\"1767783876\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T16:34:39+05:30"} [2026-01-07 16:34:40] [DEBUG] Ignoring event: delivered [2026-01-07 16:34:40] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T16:34:38+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNDQUM0QjI4NEM1OEUwRDBEQzQ1OTE4NzY4NzE4OTIA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNDQUM0QjI4NEM1OEUwRDBEQzQ1OTE4NzY4NzE4OTIA\",\"timestamp\":\"1767783876\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T16:34:39+05:30"} [2026-01-07 16:34:40] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNDQUM0QjI4NEM1OEUwRDBEQzQ1OTE4NzY4NzE4OTIA [2026-01-07 16:34:57] Upload started - Phone: 919831101730, Lang: en [2026-01-07 16:34:57] File saved: rx_695e3dd981d27.jpg [2026-01-07 16:34:57] Serial: 260107011, Starting OpenAI... [2026-01-07 16:35:27] OpenAI success for 260107011 [2026-01-07 16:35:27] Saved to DB: prescription 1 [2026-01-07 16:35:52] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 16:35:52] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","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=919831101730"} [2026-01-07 16:35:53] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "68a190020a5c45e6b733e5272e0f6293", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:13:27] [DEBUG] Webhook received: {"customer_name": "Mr. Goutam Chakraborty", "sender": "919831101730", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 13:43:27", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM3NzYxMDU3MUIxNTdEQjBBQTgzQ0ExMzEyNUVBRjQA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Mr. Goutam Chakraborty"}, "wa_id": "919831101730"}], "messages": [{"from": "919831101730", "id": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM3NzYxMDU3MUIxNTdEQjBBQTgzQ0ExMzEyNUVBRjQA", "timestamp": "1767793404", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 19:13:27] [INFO] Processing message from 919831101730: EXPLAIN [2026-01-07 19:13:27] [INFO] Sending upload button to 919831101730 [2026-01-07 19:13:27] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:13:27] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919831101730","interactive":{"type":"cta_url","body":{"text":"Hello Mr. Goutam Chakraborty! 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=919831101730&name=Mr.+Goutam+Chakraborty"}}}} [2026-01-07 19:13:28] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "d97fbe03067f424ea48f018da027fa64", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:13:31] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:13:27+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM3NzYxMDU3MUIxNTdEQjBBQTgzQ0ExMzEyNUVBRjQA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM3NzYxMDU3MUIxNTdEQjBBQTgzQ0ExMzEyNUVBRjQA\",\"timestamp\":\"1767793404\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:13:30+05:30"} [2026-01-07 19:13:31] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM3NzYxMDU3MUIxNTdEQjBBQTgzQ0ExMzEyNUVBRjQA [2026-01-07 19:13:32] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:13:27+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM3NzYxMDU3MUIxNTdEQjBBQTgzQ0ExMzEyNUVBRjQA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM3NzYxMDU3MUIxNTdEQjBBQTgzQ0ExMzEyNUVBRjQA\",\"timestamp\":\"1767793404\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:13:31+05:30"} [2026-01-07 19:13:32] [DEBUG] Ignoring event: delivered [2026-01-07 19:13:43] Upload started - Phone: 919831101730, Lang: en [2026-01-07 19:13:43] File saved: rx_695e630f91c6b.jpg [2026-01-07 19:13:43] Serial: 260107012, Starting OpenAI... [2026-01-07 19:14:12] OpenAI success for 260107012 [2026-01-07 19:14:12] Saved to DB: prescription 2 [2026-01-07 19:14:26] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:14:26] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260107008\n\ud83d\udcc5 *Date:* 09 Jan 2026\n\u23f0 *Time:* 11:30 AM\n\ud83d\udd2c *Tests:* MP, Widal Test\n\nYou will receive updates on WhatsApp."} [2026-01-07 19:14:26] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "199efe3d991344df8c8b3af7868906d4", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:20:06] [DEBUG] Webhook received: {"customer_name": "Mr. Goutam Chakraborty", "sender": "919831101730", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 13:50:06", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNCQ0Y1NTUwQTNFM0Q1ODFDQTg3NzQ3NDJDRTZBRTMA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Mr. Goutam Chakraborty"}, "wa_id": "919831101730"}], "messages": [{"from": "919831101730", "id": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNCQ0Y1NTUwQTNFM0Q1ODFDQTg3NzQ3NDJDRTZBRTMA", "timestamp": "1767793805", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 19:20:06] [INFO] Processing message from 919831101730: EXPLAIN [2026-01-07 19:20:06] [INFO] Sending upload button to 919831101730 [2026-01-07 19:20:06] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:20:06] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919831101730","interactive":{"type":"cta_url","body":{"text":"Hello Mr. Goutam Chakraborty! 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=919831101730&name=Mr.+Goutam+Chakraborty"}}}} [2026-01-07 19:20:07] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "3777daab93ab45abb0a7631a710c0be3", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:20:08] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:20:06+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNCQ0Y1NTUwQTNFM0Q1ODFDQTg3NzQ3NDJDRTZBRTMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNCQ0Y1NTUwQTNFM0Q1ODFDQTg3NzQ3NDJDRTZBRTMA\",\"timestamp\":\"1767793805\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:20:07+05:30"} [2026-01-07 19:20:08] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNCQ0Y1NTUwQTNFM0Q1ODFDQTg3NzQ3NDJDRTZBRTMA [2026-01-07 19:20:08] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:20:06+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNCQ0Y1NTUwQTNFM0Q1ODFDQTg3NzQ3NDJDRTZBRTMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNCQ0Y1NTUwQTNFM0Q1ODFDQTg3NzQ3NDJDRTZBRTMA\",\"timestamp\":\"1767793805\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:20:07+05:30"} [2026-01-07 19:20:08] [DEBUG] Ignoring event: delivered [2026-01-07 19:20:17] Upload started - Phone: 919831101730, Lang: bn [2026-01-07 19:20:17] File saved: rx_695e649969fcd.jpg [2026-01-07 19:20:17] Serial: 260107013, Starting OpenAI... [2026-01-07 19:20:49] OpenAI success for 260107013 [2026-01-07 19:20:49] Saved to DB: prescription 3 [2026-01-07 19:21:13] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:21:13] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260107009\n\ud83d\udcc5 *Date:* 12 Jan 2026\n\u23f0 *Time:* 01:15 PM\n\ud83d\udd2c *Tests:* CBC\n\nYou will receive updates on WhatsApp."} [2026-01-07 19:21:13] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "0d7455831f6e4496b1346660a2020608", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:23:46] [DEBUG] Webhook received: {"customer_name": "Mr. Goutam Chakraborty", "sender": "919831101730", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 13:53:46", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNFNENBMzU2MEFBNkYzN0FDOEQyNDRFRkNBNUU1NzcA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Mr. Goutam Chakraborty"}, "wa_id": "919831101730"}], "messages": [{"from": "919831101730", "id": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNFNENBMzU2MEFBNkYzN0FDOEQyNDRFRkNBNUU1NzcA", "timestamp": "1767794024", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 19:23:46] [INFO] Processing message from 919831101730: Explain [2026-01-07 19:23:46] [INFO] Sending upload button to 919831101730 [2026-01-07 19:23:46] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:23:46] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919831101730","interactive":{"type":"cta_url","body":{"text":"Hello Mr. Goutam Chakraborty! 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=919831101730&name=Mr.+Goutam+Chakraborty"}}}} [2026-01-07 19:23:47] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "cd7d839d624442158a08b1babc88f289", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:23:47] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:23:46+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNFNENBMzU2MEFBNkYzN0FDOEQyNDRFRkNBNUU1NzcA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNFNENBMzU2MEFBNkYzN0FDOEQyNDRFRkNBNUU1NzcA\",\"timestamp\":\"1767794024\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-07T19:23:47+05:30"} [2026-01-07 19:23:47] [DEBUG] Ignoring event: delivered [2026-01-07 19:23:49] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:23:46+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNFNENBMzU2MEFBNkYzN0FDOEQyNDRFRkNBNUU1NzcA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"Explain","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNFNENBMzU2MEFBNkYzN0FDOEQyNDRFRkNBNUU1NzcA\",\"timestamp\":\"1767794024\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-01-07T19:23:49+05:30"} [2026-01-07 19:23:49] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUNFNENBMzU2MEFBNkYzN0FDOEQyNDRFRkNBNUU1NzcA [2026-01-07 19:23:56] Upload started - Phone: 919831101730, Lang: hi [2026-01-07 19:23:56] File saved: rx_695e6574f1af1.jpg [2026-01-07 19:23:56] Serial: 260107014, Starting OpenAI... [2026-01-07 19:24:24] OpenAI success for 260107014 [2026-01-07 19:24:24] Saved to DB: prescription 4 [2026-01-07 19:24:43] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:24:43] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260107010\n\ud83d\udcc5 *Date:* 10 Jan 2026\n\u23f0 *Time:* 04:30 PM\n\ud83d\udd2c *Tests:* CBC, MP, Widal Test, Dengue NS1\n\nYou will receive updates on WhatsApp."} [2026-01-07 19:24:44] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "8bc7029e84814ee69b478e38c68ed4e0", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:26:41] [DEBUG] Webhook received: {"customer_name": "Suvranil Nath", "sender": "919830946010", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 13:56:40", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMxQTMzOTk4RUIwMUFFNTI4NjE1MjhEMzhFMzVFMDAA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Suvranil Nath"}, "wa_id": "919830946010"}], "messages": [{"from": "919830946010", "id": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMxQTMzOTk4RUIwMUFFNTI4NjE1MjhEMzhFMzVFMDAA", "timestamp": "1767794198", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 19:26:41] [INFO] Processing message from 919830946010: EXPLAIN [2026-01-07 19:26:41] [INFO] Sending upload button to 919830946010 [2026-01-07 19:26:41] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:26:41] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919830946010","interactive":{"type":"cta_url","body":{"text":"Hello Suvranil Nath! 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=919830946010&name=Suvranil+Nath"}}}} [2026-01-07 19:26:41] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "ac08f2de582d41beb00d71c513e0c05c", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:26:42] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:26:40+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMxQTMzOTk4RUIwMUFFNTI4NjE1MjhEMzhFMzVFMDAA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMxQTMzOTk4RUIwMUFFNTI4NjE1MjhEMzhFMzVFMDAA\",\"timestamp\":\"1767794198\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:26:41+05:30"} [2026-01-07 19:26:42] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMxQTMzOTk4RUIwMUFFNTI4NjE1MjhEMzhFMzVFMDAA [2026-01-07 19:26:42] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:26:40+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMxQTMzOTk4RUIwMUFFNTI4NjE1MjhEMzhFMzVFMDAA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMxQTMzOTk4RUIwMUFFNTI4NjE1MjhEMzhFMzVFMDAA\",\"timestamp\":\"1767794198\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:26:42+05:30"} [2026-01-07 19:26:42] [DEBUG] Ignoring event: delivered [2026-01-07 19:27:02] Upload started - Phone: 919830946010, Lang: en [2026-01-07 19:27:02] File saved: rx_695e662edf3b3.jpg [2026-01-07 19:27:02] Serial: 260107015, Starting OpenAI... [2026-01-07 19:27:05] OpenAI success for 260107015 [2026-01-07 19:27:05] Saved to DB: prescription 5 [2026-01-07 19:27:08] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:27:08] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","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=919830946010"} [2026-01-07 19:27:08] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "57b30391567f41fdb2f330407b9329d7", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:27:40] [DEBUG] Webhook received: {"customer_name": "Suvranil Nath", "sender": "919830946010", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 13:57:40", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3MEM3RUZFRTU3QkY4RkQ3OUZEM0FEMUZENjE5QTAA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Suvranil Nath"}, "wa_id": "919830946010"}], "messages": [{"from": "919830946010", "id": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3MEM3RUZFRTU3QkY4RkQ3OUZEM0FEMUZENjE5QTAA", "timestamp": "1767794258", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 19:27:40] [INFO] Processing message from 919830946010: EXPLAIN [2026-01-07 19:27:40] [INFO] Sending upload button to 919830946010 [2026-01-07 19:27:40] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:27:40] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919830946010","interactive":{"type":"cta_url","body":{"text":"Hello Suvranil Nath! 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=919830946010&name=Suvranil+Nath"}}}} [2026-01-07 19:27:40] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "76f007e14d5d4987a5aefebd2fad562e", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:27:44] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:27:40+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3MEM3RUZFRTU3QkY4RkQ3OUZEM0FEMUZENjE5QTAA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3MEM3RUZFRTU3QkY4RkQ3OUZEM0FEMUZENjE5QTAA\",\"timestamp\":\"1767794258\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:27:43+05:30"} [2026-01-07 19:27:44] [DEBUG] Ignoring event: delivered [2026-01-07 19:27:44] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:27:40+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3MEM3RUZFRTU3QkY4RkQ3OUZEM0FEMUZENjE5QTAA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3MEM3RUZFRTU3QkY4RkQ3OUZEM0FEMUZENjE5QTAA\",\"timestamp\":\"1767794258\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:27:43+05:30"} [2026-01-07 19:27:44] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3MEM3RUZFRTU3QkY4RkQ3OUZEM0FEMUZENjE5QTAA [2026-01-07 19:28:08] Upload started - Phone: 919830946010, Lang: en [2026-01-07 19:28:08] File saved: rx_695e66704cd58.jpg [2026-01-07 19:28:08] Serial: 260107016, Starting OpenAI... [2026-01-07 19:28:10] OpenAI success for 260107016 [2026-01-07 19:28:10] Saved to DB: prescription 6 [2026-01-07 19:28:13] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:28:13] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","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=919830946010"} [2026-01-07 19:28:14] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "0b5b2c203bed44b98f7ca2bbbb5b1c7d", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:28:26] [DEBUG] Webhook received: {"customer_name": "Suvranil Nath", "sender": "919830946010", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 13:58:26", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMzMkRBMzIwRDIyRTJBREExNjY4Q0REMkI2NUFBNDEA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Suvranil Nath"}, "wa_id": "919830946010"}], "messages": [{"from": "919830946010", "id": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMzMkRBMzIwRDIyRTJBREExNjY4Q0REMkI2NUFBNDEA", "timestamp": "1767794305", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 19:28:26] [INFO] Processing message from 919830946010: EXPLAIN [2026-01-07 19:28:26] [INFO] Sending upload button to 919830946010 [2026-01-07 19:28:26] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:28:26] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919830946010","interactive":{"type":"cta_url","body":{"text":"Hello Suvranil Nath! 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=919830946010&name=Suvranil+Nath"}}}} [2026-01-07 19:28:27] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "66d0c293e33a4ca496625ba0016ec7e4", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:28:27] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:28:26+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMzMkRBMzIwRDIyRTJBREExNjY4Q0REMkI2NUFBNDEA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMzMkRBMzIwRDIyRTJBREExNjY4Q0REMkI2NUFBNDEA\",\"timestamp\":\"1767794305\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:28:26+05:30"} [2026-01-07 19:28:27] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMzMkRBMzIwRDIyRTJBREExNjY4Q0REMkI2NUFBNDEA [2026-01-07 19:28:27] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:28:26+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMzMkRBMzIwRDIyRTJBREExNjY4Q0REMkI2NUFBNDEA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMzMkRBMzIwRDIyRTJBREExNjY4Q0REMkI2NUFBNDEA\",\"timestamp\":\"1767794305\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:28:27+05:30"} [2026-01-07 19:28:27] [DEBUG] Ignoring event: delivered [2026-01-07 19:28:51] Upload started - Phone: 919830946010, Lang: en [2026-01-07 19:28:51] File saved: rx_695e669b4127e.jpg [2026-01-07 19:28:51] Serial: 260107017, Starting OpenAI... [2026-01-07 19:28:54] OpenAI success for 260107017 [2026-01-07 19:28:54] Saved to DB: prescription 7 [2026-01-07 19:29:02] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:29:02] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","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=919830946010"} [2026-01-07 19:29:02] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "90dc5df74afd46f5abc0436ae409f038", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:30:14] [DEBUG] Webhook received: {"customer_name": "Suvranil Nath", "sender": "919830946010", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 14:00:14", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGODVBMjRGODU3MzJGMDA2QjE0MUQ1RDIzNDhFM0UA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Suvranil Nath"}, "wa_id": "919830946010"}], "messages": [{"from": "919830946010", "id": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGODVBMjRGODU3MzJGMDA2QjE0MUQ1RDIzNDhFM0UA", "timestamp": "1767794412", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 19:30:14] [INFO] Processing message from 919830946010: EXPLAIN [2026-01-07 19:30:14] [INFO] Sending upload button to 919830946010 [2026-01-07 19:30:14] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:30:14] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919830946010","interactive":{"type":"cta_url","body":{"text":"Hello Suvranil Nath! 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=919830946010&name=Suvranil+Nath"}}}} [2026-01-07 19:30:14] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "f0bb6bbaf1ab40ef923b9e22545566c5", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:30:17] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:30:14+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGODVBMjRGODU3MzJGMDA2QjE0MUQ1RDIzNDhFM0UA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGODVBMjRGODU3MzJGMDA2QjE0MUQ1RDIzNDhFM0UA\",\"timestamp\":\"1767794412\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:30:16+05:30"} [2026-01-07 19:30:17] [DEBUG] Ignoring event: delivered [2026-01-07 19:30:19] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:30:14+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGODVBMjRGODU3MzJGMDA2QjE0MUQ1RDIzNDhFM0UA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGODVBMjRGODU3MzJGMDA2QjE0MUQ1RDIzNDhFM0UA\",\"timestamp\":\"1767794412\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:30:18+05:30"} [2026-01-07 19:30:19] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGODVBMjRGODU3MzJGMDA2QjE0MUQ1RDIzNDhFM0UA [2026-01-07 19:30:31] Upload started - Phone: 919830946010, Lang: en [2026-01-07 19:30:31] File saved: rx_695e66ffba25d.jpg [2026-01-07 19:30:31] Serial: 260107018, Starting OpenAI... [2026-01-07 19:31:05] OpenAI success for 260107018 [2026-01-07 19:31:06] Saved to DB: prescription 8 [2026-01-07 19:31:53] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:31:53] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260107011\n\ud83d\udcc5 *Date:* 10 Jan 2026\n\u23f0 *Time:* 08:30 AM\n\ud83d\udd2c *Tests:* MP, Widal Test\n\nYou will receive updates on WhatsApp."} [2026-01-07 19:31:53] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "04f9a286518147b7abde1c82f8296411", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:31:57] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:31:57] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","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=919830946010"} [2026-01-07 19:31:57] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "5b40dcfbebfe42aba6b26d96e312cfc6", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:53:51] [DEBUG] Webhook received: {"customer_name": "Mr. Goutam Chakraborty", "sender": "919831101730", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 14:23:51", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM1MjJDRUY0RTQ4QjE2RTAwQUJBRDY5NDk3NUIzNEIA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Mr. Goutam Chakraborty"}, "wa_id": "919831101730"}], "messages": [{"from": "919831101730", "id": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM1MjJDRUY0RTQ4QjE2RTAwQUJBRDY5NDk3NUIzNEIA", "timestamp": "1767795829", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 19:53:51] [INFO] Processing message from 919831101730: EXPLAIN [2026-01-07 19:53:51] [INFO] Sending upload button to 919831101730 [2026-01-07 19:53:51] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:53:51] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919831101730","interactive":{"type":"cta_url","body":{"text":"Hello Mr. Goutam Chakraborty! 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=919831101730&name=Mr.+Goutam+Chakraborty"}}}} [2026-01-07 19:53:52] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "0e0fd06fdd7e41e89635540443bf2422", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 19:53:53] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:53:51+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM1MjJDRUY0RTQ4QjE2RTAwQUJBRDY5NDk3NUIzNEIA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM1MjJDRUY0RTQ4QjE2RTAwQUJBRDY5NDk3NUIzNEIA\",\"timestamp\":\"1767795829\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:53:52+05:30"} [2026-01-07 19:53:53] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM1MjJDRUY0RTQ4QjE2RTAwQUJBRDY5NDk3NUIzNEIA [2026-01-07 19:53:53] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T19:53:51+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM1MjJDRUY0RTQ4QjE2RTAwQUJBRDY5NDk3NUIzNEIA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM1MjJDRUY0RTQ4QjE2RTAwQUJBRDY5NDk3NUIzNEIA\",\"timestamp\":\"1767795829\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T19:53:52+05:30"} [2026-01-07 19:53:53] [DEBUG] Ignoring event: delivered [2026-01-07 19:54:08] Upload started - Phone: 919831101730, Lang: bn [2026-01-07 19:54:08] File saved: rx_695e6c8832ea0.jpg [2026-01-07 19:54:08] Serial: 260107019, Starting OpenAI... [2026-01-07 19:54:43] OpenAI success for 260107019 [2026-01-07 19:54:43] Saved to DB: prescription 9 [2026-01-07 19:55:21] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 19:55:21] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260107012\n\ud83d\udcc5 *Date:* 08 Jan 2026\n\u23f0 *Time:* 10:00 AM\n\ud83d\udd2c *Tests:* Dengue NS1\n\nYou will receive updates on WhatsApp."} [2026-01-07 19:55:21] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "0127f1a53cdd498b8e85333c97751a47", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 20:22:59] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 20:22:59] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","text":"\u2705 *Booking Update*\n\n\ud83d\udccb *Booking ID:* BK260107012\n\ud83d\udcca *Status:* Confirmed\n\ud83d\udcc5 *Date:* 08 Jan 2026\n\u23f0 *Time:* 10:00 AM\n\ud83d\udd2c *Tests:* Dengue NS1\n\n\ud83d\udcac *Note:* Confirmed done"} [2026-01-07 20:23:00] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "ed67bb01cdb34ce6b48efce90adda5d5", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 21:24:12] [DEBUG] Webhook received: {"customer_name": "Mr. Goutam Chakraborty", "sender": "919831101730", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 15:54:12", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMyREQxNDFBRTEzRTEwMDU2Q0Y0MjFEMTA2RDg1NTMA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Mr. Goutam Chakraborty"}, "wa_id": "919831101730"}], "messages": [{"from": "919831101730", "id": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMyREQxNDFBRTEzRTEwMDU2Q0Y0MjFEMTA2RDg1NTMA", "timestamp": "1767801249", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 21:24:12] [INFO] Processing message from 919831101730: EXPLAIN [2026-01-07 21:24:12] [INFO] Sending upload button to 919831101730 [2026-01-07 21:24:12] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 21:24:12] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919831101730","interactive":{"type":"cta_url","body":{"text":"Hello Mr. Goutam Chakraborty! 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=919831101730&name=Mr.+Goutam+Chakraborty"}}}} [2026-01-07 21:24:12] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "39a9de42dccf4fb6a8e1712b41f0453b", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 21:24:13] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T21:24:12+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMyREQxNDFBRTEzRTEwMDU2Q0Y0MjFEMTA2RDg1NTMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMyREQxNDFBRTEzRTEwMDU2Q0Y0MjFEMTA2RDg1NTMA\",\"timestamp\":\"1767801249\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T21:24:13+05:30"} [2026-01-07 21:24:13] [DEBUG] Ignoring event: delivered [2026-01-07 21:24:13] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T21:24:12+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMyREQxNDFBRTEzRTEwMDU2Q0Y0MjFEMTA2RDg1NTMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMyREQxNDFBRTEzRTEwMDU2Q0Y0MjFEMTA2RDg1NTMA\",\"timestamp\":\"1767801249\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T21:24:13+05:30"} [2026-01-07 21:24:13] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMyREQxNDFBRTEzRTEwMDU2Q0Y0MjFEMTA2RDg1NTMA [2026-01-07 21:24:34] Upload started - Phone: 919831101730, Lang: bn [2026-01-07 21:24:34] File saved: rx_695e81ba72d6e.jpg [2026-01-07 21:24:34] Serial: 260107020, Starting OpenAI... [2026-01-07 21:25:07] OpenAI success for 260107020 [2026-01-07 21:25:07] Saved to DB: prescription 10 [2026-01-07 21:25:33] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 21:25:33] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260107013\n\ud83d\udcc5 *Date:* 15 Jan 2026\n\u23f0 *Time:* 03:30 PM\n\ud83d\udd2c *Tests:* NS1 Antigen Test\n\nYou will receive updates on WhatsApp."} [2026-01-07 21:25:34] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "7271f525d74c4a0faf98d0cdfee0cea1", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 21:25:39] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 21:25:39] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","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=919831101730"} [2026-01-07 21:25:39] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "e6dee5ebe7bc45959803e2511b8b378a", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 21:26:36] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 21:26:36] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","text":"\u274c *Booking Update*\n\n\ud83d\udccb *Booking ID:* BK260107013\n\ud83d\udcca *Status:* Cancelled\n\ud83d\udcc5 *Date:* 15 Jan 2026\n\u23f0 *Time:* 03:30 PM\n\ud83d\udd2c *Tests:* NS1 Antigen Test\n\n\ud83d\udcac *Note:* Sorry, Dr not available"} [2026-01-07 21:26:36] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "ccbd37d76aaa431da7a1fa8b999eb0fd", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 21:56:05] [DEBUG] Webhook received: {"customer_name": "Suvranil Nath", "sender": "919830946010", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 16:26:05", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1MUQ2OTE4MjI2RDI5QjUwRTc1QUU5OEJBRUM3RTYA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Suvranil Nath"}, "wa_id": "919830946010"}], "messages": [{"from": "919830946010", "id": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1MUQ2OTE4MjI2RDI5QjUwRTc1QUU5OEJBRUM3RTYA", "timestamp": "1767803162", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 21:56:05] [INFO] Processing message from 919830946010: EXPLAIN [2026-01-07 21:56:05] [INFO] Sending upload button to 919830946010 [2026-01-07 21:56:05] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 21:56:05] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919830946010","interactive":{"type":"cta_url","body":{"text":"Hello Suvranil Nath! 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=919830946010&name=Suvranil+Nath"}}}} [2026-01-07 21:56:06] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "f7875557ff1743b7af11236d31ecd03a", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 21:56:06] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T21:56:05+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1MUQ2OTE4MjI2RDI5QjUwRTc1QUU5OEJBRUM3RTYA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1MUQ2OTE4MjI2RDI5QjUwRTc1QUU5OEJBRUM3RTYA\",\"timestamp\":\"1767803162\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T21:56:05+05:30"} [2026-01-07 21:56:06] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1MUQ2OTE4MjI2RDI5QjUwRTc1QUU5OEJBRUM3RTYA [2026-01-07 21:56:06] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T21:56:05+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1MUQ2OTE4MjI2RDI5QjUwRTc1QUU5OEJBRUM3RTYA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1MUQ2OTE4MjI2RDI5QjUwRTc1QUU5OEJBRUM3RTYA\",\"timestamp\":\"1767803162\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-07T21:56:05+05:30"} [2026-01-07 21:56:06] [DEBUG] Ignoring event: delivered [2026-01-07 21:56:40] Upload started - Phone: 919830946010, Lang: en [2026-01-07 21:56:40] File saved: rx_695e8940ad148.jpg [2026-01-07 21:56:40] Serial: 260107021, Starting OpenAI... [2026-01-07 21:57:12] OpenAI success for 260107021 [2026-01-07 21:57:12] Saved to DB: prescription 11 [2026-01-07 21:58:08] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 21:58:08] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260107014\n\ud83d\udcc5 *Date:* 12 Jan 2026\n\u23f0 *Time:* 09:00 AM\n\ud83d\udd2c *Tests:* CBC, MP, Widal Test\n\nYou will receive updates on WhatsApp."} [2026-01-07 21:58:08] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "0111d40032e249af96c2b003275f7fc6", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 21:58:16] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 21:58:16] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","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=919830946010"} [2026-01-07 21:58:16] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "9c1bb7a3c6424b5399413e823e1bea1d", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 22:04:23] [DEBUG] Webhook received: {"customer_name": "Sayantan Maji", "sender": "919073922995", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-07 16:34:23", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5MDczOTIyOTk1FQIAEhggQUNDMDc0RjZEN0NEOTdFNzhGODU5RkVCNDUxQkNCMjAA", "direction": 0, "text": "Hi", "contacts": [{"profile": {"name": "Sayantan Maji"}, "wa_id": "919073922995"}], "messages": [{"from": "919073922995", "id": "wamid.HBgMOTE5MDczOTIyOTk1FQIAEhggQUNDMDc0RjZEN0NEOTdFNzhGODU5RkVCNDUxQkNCMjAA", "timestamp": "1767803661", "text": {"body": "Hi"}, "type": "text"}], "template_name": null, "template_language": null} [2026-01-07 22:04:23] [INFO] Processing message from 919073922995: Hi [2026-01-07 22:04:23] [INFO] Sending upload button to 919073922995 [2026-01-07 22:04:23] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-01-07 22:04:23] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919073922995","interactive":{"type":"cta_url","body":{"text":"Hello Sayantan Maji! 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=919073922995&name=Sayantan+Maji"}}}} [2026-01-07 22:04:24] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "de25e2beecb64279985fa8bee1e36ce7", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-01-07 22:04:25] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-07T22:04:23+05:30","customerNumber":"919073922995","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5MDczOTIyOTk1FQIAEhggQUNDMDc0RjZEN0NEOTdFNzhGODU5RkVCNDUxQkNCMjAA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Sayantan Maji","contentType":"text","text":"Hi","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Sayantan Maji\"},\"wa_id\":\"919073922995\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919073922995\",\"id\":\"wamid.HBgMOTE5MDczOTIyOTk1FQIAEhggQUNDMDc0RjZEN0NEOTdFNzhGODU5RkVCNDUxQkNCMjAA\",\"timestamp\":\"1767803661\",\"text\":{\"body\":\"Hi\"},\"type\":\"text\"}]","ts":"2026-01-07T22:04:24+05:30"} [2026-01-07 22:04:25] [DEBUG] Ignoring event: delivered

🗑️ Clear This Log
← Back to Menu

⚠️ SECURITY WARNING: Delete this file (utility.php) after you're done with setup and testing!