I Built a WhatsApp Bot by Codex to Store Documents on My Computer Instantly [Totally Free]

Share

What the bot does?

Receipts and supporting documents often arrive when I am away from my computer. Instead of keeping them somewhere and missed to record at last, I can now send them to the WhatsApp bot immediately and choose the folder to store in my local computer right the way.

Two real use cases

Store a file in an existing folder

  1. I photograph or forward a document to a specific number in WhatsApp (your own number is ok too).
  2. The WhatsApp bot confirms that the file is waiting safely.
  3. I send an existing folder name, such as meal.
  4. The bot stores the file and replies with a success message.
  5. If I chose the wrong folder, I can send UNDO within 30 minutes.
A real receipt-storage conversation with private details blurred

A real receipt workflow. The document details, account identity and unique filename are anonymised.

Create a folder when it does not exist

  1. I send a folder name that the bot cannot find.
  2. The bot asks whether it should create the folder.
  3. I reply CREATE.
  4. The bot creates the folder, stores the waiting file and confirms success.
A real conversation showing the bot creating a missing folder

You can set which number the bot would responds to, to share this WhatsApp bot to your designated colleagues or friend.

What the bot handles

  • Files can be sent before the folder is chosen.
  • Folder searches include nested folders and ignore capitalisation.
  • If several folders have the same name, the bot shows a numbered list instead of guessing.
  • A new folder requires confirmation. I can also use CREATE Parent/Child to create it under an existing folder.
  • Files stay on my computer and are not sent to a language model or external document platform.

What I learned

  • The first version expected the folder name before the files. Real mobile use was the opposite, so I changed the workflow.
  • A container marked as running does not always mean messages are reaching the bot. The monitor now checks the complete service.
  • Moving a file between storage locations can fail. The bot checks the new copy before removing the waiting copy.

Current limits

  • The computer and storage folder must be available.
  • An expired WhatsApp login still needs manual authorisation.
  • The monitor can restart services, but it will not request a login QR code by itself.

The result is simple: send a document immediately, choose where it belongs, and receive a clear reply when it is safely stored.

If you think this is useful and would like to know how to build it, leave a comment and I’ll write a follow-up guide.

Read more

我用Codex做了一個 WhatsApp Bot,把文件直接存到電腦[完全免費]

這個 Bot 可以幫我做甚麼? 日常工作及出差時,很容易突然有一張收據或文件要儲存,偏偏自己又不在電腦旁邊,很容易最終忘記了。我的解決方法是:通過 WhatsApp 把文件立即儲存到電腦特定的folder。 兩個實際用法 放進已有的資料夾 1. 先把收據相片、PDF 或其他文件傳給某WhatsApp 號碼(可以用自己本身的號碼)。 2. WhatsApp Bot 回覆已收到,文件會先安全保存在電腦的待處理區。 3. 我再輸入資料夾名稱,例如 meal。 4. Bot 找到資料夾後便會存檔,並回覆儲存成功。 5. 如果選錯位置,可在 30 分鐘內輸入 UNDO,重新選擇。 資料夾不存在,就即時建立 1. 如果輸入的資料夾不存在,Bot 不會自行決定放在哪裏。 2. 它會先問我是否需要建立新資料夾。 3. 我回覆 CREATE

By Terry Ng

Hull Moving Average (HMA) 赫爾移動平均線 - 策略回測設定

技術指標策略 Hull Moving Average (HMA) 赫爾移動平均線 - 策略回測設定 策略來源與指標意思 Hull Moving Average (HMA) 根據 Incredible Charts 的指標說明轉化成 long-only 入場訊號。本策略的買入核心為:13 日 HMA 由跌轉升,並只在較長期的 52 日 HMA 同樣向上時買入。 所有成交都用 adjusted open,訊號與估值都維持同一 total-return adjusted price basis。 資料來源:Incredible Charts - Hull Moving Average 指標 策略重點 * 指標名稱保留英文:Hull Moving Average

By Terry Ng

Exponential Moving Average (EMA) 指數移動平均線 - 策略回測設定

技術指標策略 Exponential Moving Average (EMA) 指數移動平均線 - 策略回測設定 策略來源與指標意思 Exponential Moving Average (EMA) 根據 Incredible Charts 的指標說明轉化成 long-only 入場訊號。本策略的買入核心為:21 日 EMA 由跌轉升,並要求收市價位於 EMA 之上,以反映短期趨勢已轉強。 所有成交都用 adjusted open,訊號與估值都維持同一 total-return adjusted price basis。 資料來源:Incredible Charts - Exponential Moving Average 指標 策略重點 * 指標名稱保留英文:Exponential Moving Average (EMA)

By Terry Ng