Reply to unread Whatsapp messages by attaching to each a file named as the message's text

I need a smartphone app OR a windows pc software (using whatsapp desktop or web) to answer with 1 click to ALL Whatsapp until that moment UNREAD messages received. These messages will contain only a code or a name .

When I launch the software to respond to received unread messages: for each message, if the code or name contained in the message is equal to the name (excluding the suffix) of a file in a certain directory (chosen by me) where it will be searched, then it will be sent a reply to the sender with a standard message (editable by me) BUT ALSO ATTACHING THE EXACT FILE FOUND. If no file was found the reply will be only another standard message (always editable by me)

I WOULD ALSO ADD this control for each calling number: I have a directory named ,say, "A" where I put files that are named (excluding the suffix) each with a mobile phone number. If among these files there is one named (excluding the suffix) as the number of who wrote the message, then the search for the code contained in the message, to attach then the corresponding file, will be done among the files in the directory, say, "B", otherwise the search for the code contained in the message will be done among the files of another directory "C". In this way I can manage senders numbers to enable them at 2 different levels.

Answering to Whatsapp Message with a specific attached file

I need a smartphone app or a windows pc software to automatically answer to a Whatsapp message containing only a code or a name received on smartphone or on pc trough whatsapp desktop or web. If this code or name is equal to the name of a file in a certain directory where it will be searched (of the pc or of the smartphone) the automatic reply will be sent to the sender attaching the file in question. Otherwise the automatic reply will be the message: "file not available until today"