Application Logs

Log Files

[2026-02-05 11:53:46] [DEBUG] Webhook received: {"customer_name": "Mr. Goutam Chakraborty", "sender": "919831101730", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-02-05 06:23:45", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDQ1OTM3MDI2QkQ3OTVGNUJDNAA=", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Mr. Goutam Chakraborty"}, "wa_id": "919831101730"}], "messages": [{"from": "919831101730", "id": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDQ1OTM3MDI2QkQ3OTVGNUJDNAA=", "timestamp": "1770272622", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-02-05 11:53:46] [INFO] Processing message from 919831101730: EXPLAIN [2026-02-05 11:53:46] [INFO] Sending upload button to 919831101730 [2026-02-05 11:53:46] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-05 11:53: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-02-05 11:53:46] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "63a3931b029b43089b778db334b9f012", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-05 11:53:47] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T11:53:45+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDQ1OTM3MDI2QkQ3OTVGNUJDNAA=_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.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDQ1OTM3MDI2QkQ3OTVGNUJDNAA=\",\"timestamp\":\"1770272622\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-02-05T11:53:47+05:30"} [2026-02-05 11:53:47] [DEBUG] Ignoring event: delivered [2026-02-05 11:53:47] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T11:53:45+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDQ1OTM3MDI2QkQ3OTVGNUJDNAA=_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.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDQ1OTM3MDI2QkQ3OTVGNUJDNAA=\",\"timestamp\":\"1770272622\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-02-05T11:53:47+05:30"} [2026-02-05 11:53:47] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDQ1OTM3MDI2QkQ3OTVGNUJDNAA= [2026-02-05 11:54:41] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T11:54:40+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDQ1QkE4ODRCNDhFQzI3MDU4QwA=_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"hello?","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDQ1QkE4ODRCNDhFQzI3MDU4QwA=\",\"timestamp\":\"1770272676\",\"text\":{\"body\":\"hello?\"},\"type\":\"text\"}]","ts":"2026-02-05T11:54:41+05:30"} [2026-02-05 11:54:41] [DEBUG] Ignoring event: delivered [2026-02-05 11:55:46] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T11:55:44+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDY3RkExNTA3NTk1NTFDOEJCOQA=_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"HI!","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDY3RkExNTA3NTk1NTFDOEJCOQA=\",\"timestamp\":\"1770272742\",\"text\":{\"body\":\"HI!\"},\"type\":\"text\"}]","ts":"2026-02-05T11:55:46+05:30"} [2026-02-05 11:55:46] [DEBUG] Ignoring event: delivered [2026-02-05 11:55:59] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T11:55:58+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDVGQTAzNjE5N0MwNUQ0MzE5NQA=_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"are you a doctor?","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhgWM0VCMDVGQTAzNjE5N0MwNUQ0MzE5NQA=\",\"timestamp\":\"1770272756\",\"text\":{\"body\":\"are you a doctor?\"},\"type\":\"text\"}]","ts":"2026-02-05T11:55:59+05:30"} [2026-02-05 11:55:59] [DEBUG] Ignoring event: delivered [2026-02-05 12:30:55] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T12:30:54+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM5OTNGQTA4MUZCNDMzODcyQUMwOTQwREFEQzdCMDUA_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"Hi","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM5OTNGQTA4MUZCNDMzODcyQUMwOTQwREFEQzdCMDUA\",\"timestamp\":\"1770274852\",\"text\":{\"body\":\"Hi\"},\"type\":\"text\"}]","ts":"2026-02-05T12:30:54+05:30"} [2026-02-05 12:30:55] [DEBUG] Ignoring event: delivered [2026-02-05 12:32:47] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T12:32:46+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNFNzRDNzREOURGRkM3RjNFRUUyMjMxMDVCREEzMDgA_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"Hi","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNFNzRDNzREOURGRkM3RjNFRUUyMjMxMDVCREEzMDgA\",\"timestamp\":\"1770274964\",\"text\":{\"body\":\"Hi\"},\"type\":\"text\"}]","ts":"2026-02-05T12:32:46+05:30"} [2026-02-05 12:32:47] [DEBUG] Ignoring event: delivered [2026-02-05 12:35:07] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T12:35:06+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMwMjA2ODc0MjNGMTVDNDQ5OUZDN0E1M0MwQjkzMDIA_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"1","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUMwMjA2ODc0MjNGMTVDNDQ5OUZDN0E1M0MwQjkzMDIA\",\"timestamp\":\"1770275105\",\"text\":{\"body\":\"1\"},\"type\":\"text\"}]","ts":"2026-02-05T12:35:06+05:30"} [2026-02-05 12:35:07] [DEBUG] Ignoring event: delivered [2026-02-05 14:12:50] [DEBUG] Webhook received: {"customer_name": "Suvranil Nath", "sender": "919830946010", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-02-05 08:42:49", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGRTQ3OThBMTkwMkE0M0Q2NTcxODM0NUEwOUIyMEEA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Suvranil Nath"}, "wa_id": "919830946010"}], "messages": [{"from": "919830946010", "id": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGRTQ3OThBMTkwMkE0M0Q2NTcxODM0NUEwOUIyMEEA", "timestamp": "1770280967", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-02-05 14:12:50] [INFO] Processing message from 919830946010: EXPLAIN [2026-02-05 14:12:50] [INFO] Sending upload button to 919830946010 [2026-02-05 14:12:50] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-05 14:12:50] [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-02-05 14:12:50] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "3784e71d9d9949f8a10d3a7b20a6e98f", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-05 14:12:50] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T14:12:49+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGRTQ3OThBMTkwMkE0M0Q2NTcxODM0NUEwOUIyMEEA_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.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGRTQ3OThBMTkwMkE0M0Q2NTcxODM0NUEwOUIyMEEA\",\"timestamp\":\"1770280967\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-02-05T14:12:50+05:30"} [2026-02-05 14:12:50] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGRTQ3OThBMTkwMkE0M0Q2NTcxODM0NUEwOUIyMEEA [2026-02-05 14:12:52] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T14:12:49+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGRTQ3OThBMTkwMkE0M0Q2NTcxODM0NUEwOUIyMEEA_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.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNGRTQ3OThBMTkwMkE0M0Q2NTcxODM0NUEwOUIyMEEA\",\"timestamp\":\"1770280967\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-02-05T14:12:50+05:30"} [2026-02-05 14:12:52] [DEBUG] Ignoring event: delivered [2026-02-05 14:14:18] Upload started - Phone: 919830946010, Lang: bn [2026-02-05 14:14:18] File saved: rx_69845862f2903.jpg [2026-02-05 14:14:18] Serial: 260205001, Starting OpenAI... [2026-02-05 14:14:58] OpenAI success for 260205001 [2026-02-05 14:14:58] Saved to DB: prescription 58 [2026-02-05 14:16:06] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-05 14:16:06] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260205001\n\ud83d\udcc5 *Date:* 05 Feb 2026\n\u23f0 *Time:* 10:00 AM\n\ud83d\udd2c *Tests:* HbsAg, Anti HCV\n\nYou will receive updates on WhatsApp."} [2026-02-05 14:16:06] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "00c40f67ff614430866df1204aa16379", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-05 14:16:10] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-05 14:16:10] [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-02-05 14:16:10] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "cb2ea5e836784db8b9a2c9db1251f75d", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-05 15:35:57] [DEBUG] Webhook received: {"customer_name": "Suvranil Nath", "sender": "919830946010", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-02-05 10:05:56", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1NTNCM0NERTRDMjBEODMxRDhBQTlCRkE5RUQ3Q0YA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Suvranil Nath"}, "wa_id": "919830946010"}], "messages": [{"from": "919830946010", "id": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1NTNCM0NERTRDMjBEODMxRDhBQTlCRkE5RUQ3Q0YA", "timestamp": "1770285955", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-02-05 15:35:57] [INFO] Processing message from 919830946010: EXPLAIN [2026-02-05 15:35:57] [INFO] Sending upload button to 919830946010 [2026-02-05 15:35:57] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-05 15:35:57] [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-02-05 15:35:57] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "bc42cc04ae70450ea727acf0a7dff576", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-05 15:35:57] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T15:35:56+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1NTNCM0NERTRDMjBEODMxRDhBQTlCRkE5RUQ3Q0YA_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.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1NTNCM0NERTRDMjBEODMxRDhBQTlCRkE5RUQ3Q0YA\",\"timestamp\":\"1770285955\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-02-05T15:35:57+05:30"} [2026-02-05 15:35:57] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1NTNCM0NERTRDMjBEODMxRDhBQTlCRkE5RUQ3Q0YA [2026-02-05 15:35:57] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-05T15:35:56+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1NTNCM0NERTRDMjBEODMxRDhBQTlCRkE5RUQ3Q0YA_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.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM1NTNCM0NERTRDMjBEODMxRDhBQTlCRkE5RUQ3Q0YA\",\"timestamp\":\"1770285955\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-02-05T15:35:57+05:30"} [2026-02-05 15:35:57] [DEBUG] Ignoring event: delivered [2026-02-05 15:36:48] Upload started - Phone: 919830946010, Lang: en [2026-02-05 15:36:48] File saved: rx_69846bb8abe04.jpg [2026-02-05 15:36:48] Serial: 260205002, Starting OpenAI... [2026-02-05 15:37:24] OpenAI success for 260205002 [2026-02-05 15:37:24] Saved to DB: prescription 59 [2026-02-05 15:38:38] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-05 15:38:38] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260205002\n\ud83d\udcc5 *Date:* 05 Feb 2026\n\u23f0 *Time:* 10:00 AM\n\ud83d\udd2c *Tests:* LFT, HBsAg\n\nYou will receive updates on WhatsApp."} [2026-02-05 15:38:39] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "51cc08d032b045e1a477ab506ffc8870", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-05 15:38:59] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-05 15:38:59] [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-02-05 15:38:59] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "825bdacf70734dd494bbfdf2df48af10", "message": "Your request is in process, please check delivery report for status"}, "errors": null}

Write Test Log Entry