WhatsApp Message Processing System Fix
Budget: $30 – $250 USD
I need a WhatsApp forwarding system with automatic price processing
Create an intermediary system that captures WhatsApp messages from multiple sellers (from individual conversations AND WhatsApp groups), applies specific processing (including price increases), and forwards them to a destination WhatsApp group. You can use Baileys or any other WhatsApp web API. Essential Features (Detailed)
1. WhatsApp Message Capture
o Monitor conversations with specific WhatsApp numbers (individual sellers)
o Also monitor specific WhatsApp groups where sellers can post
o Detect new messages (text and images) from both sources
o Extract text content and associated images
o Identify the sender even in a group context
2. Message Processing
o Detect prices in text using regular expressions
o Support different formats (1200 CFA francs, 1,200.00 francs, 1200 k, k meaning 1000 in our jargon, etc.)
o Apply a specific markup per seller (configurable, default 10%)
o Round up the increased price to the nearest whole number (round up in steps of 100 CFA francs (explain to me if you understood this part correctly))
o Replace the original price with the increased price in Message text
3. Seller identification
o Associate a unique code with each seller (e.g., "VORD", "VLAP")
o Add this code to forwarded messages
o Add a watermark with this code to forwarded images
o For messages from groups, identify the seller by their phone number
4. Forwarding to WhatsApp
o Forward processed messages to a configured recipient WhatsApp group
o For text messages with prices: add a direct order link (preferably behind an order button if the API allows it)
o The link must direct to a WhatsApp conversation with a pre-filled message (message containing the seller's code, text, price, image or video, all to the admin number of the destination WhatsApp group for all messages (please let me know if you understand this part because it's important))
o Forward images without permanent storage after adding the watermark
5. Administration interface
o Secure login page
o Dashboard with basic statistics
o Login page WhatsApp to scan the QR code
o Vendor configuration (adding, editing, deleting)
o Source group configuration to monitor
o System settings (recipient group, default rate, etc.)
o Notifications will always be sent to the admin number of the destination WhatsApp group (you define what you find relevant in a notification). I tried to write the code with an AI (GPT chat), but I'm having trouble getting it to work properly in my VPS (too many bugs that I don't understand). So, my goal is either to fix my code or to rewrite it so it works as I want it to.
Create an intermediary system that captures WhatsApp messages from multiple sellers (from individual conversations AND WhatsApp groups), applies specific processing (including price increases), and forwards them to a destination WhatsApp group. You can use Baileys or any other WhatsApp web API. Essential Features (Detailed)
1. WhatsApp Message Capture
o Monitor conversations with specific WhatsApp numbers (individual sellers)
o Also monitor specific WhatsApp groups where sellers can post
o Detect new messages (text and images) from both sources
o Extract text content and associated images
o Identify the sender even in a group context
2. Message Processing
o Detect prices in text using regular expressions
o Support different formats (1200 CFA francs, 1,200.00 francs, 1200 k, k meaning 1000 in our jargon, etc.)
o Apply a specific markup per seller (configurable, default 10%)
o Round up the increased price to the nearest whole number (round up in steps of 100 CFA francs (explain to me if you understood this part correctly))
o Replace the original price with the increased price in Message text
3. Seller identification
o Associate a unique code with each seller (e.g., "VORD", "VLAP")
o Add this code to forwarded messages
o Add a watermark with this code to forwarded images
o For messages from groups, identify the seller by their phone number
4. Forwarding to WhatsApp
o Forward processed messages to a configured recipient WhatsApp group
o For text messages with prices: add a direct order link (preferably behind an order button if the API allows it)
o The link must direct to a WhatsApp conversation with a pre-filled message (message containing the seller's code, text, price, image or video, all to the admin number of the destination WhatsApp group for all messages (please let me know if you understand this part because it's important))
o Forward images without permanent storage after adding the watermark
5. Administration interface
o Secure login page
o Dashboard with basic statistics
o Login page WhatsApp to scan the QR code
o Vendor configuration (adding, editing, deleting)
o Source group configuration to monitor
o System settings (recipient group, default rate, etc.)
o Notifications will always be sent to the admin number of the destination WhatsApp group (you define what you find relevant in a notification). I tried to write the code with an AI (GPT chat), but I'm having trouble getting it to work properly in my VPS (too many bugs that I don't understand). So, my goal is either to fix my code or to rewrite it so it works as I want it to.