>nougates
← all case studies
automation

WhatsApp automation: publish photos to your website

Automate business website publishing from WhatsApp photos and messages with Astro and AI. The workflow, cost items and checks before content goes live.

  • Astro
  • Hetzner
  • LLM
  • Node.js/Python

Updating a business website should not require a control panel, a seven-step ritual or the moon in the correct phase. This WhatsApp automation starts with a photo and a short description: it prepares the content and starts the website publishing workflow.

The problem: website content never makes it out of the phone

For a small business, time is the scarcest resource. Ask someone to “log into the CMS, upload the photo, crop it, fill in the fields and press publish” and the website may still show last year’s work.

The usual answer is a small apartment block of tools: subscriptions to connect two apps, plugins and another dashboard to learn. All of that to move a photo and two lines from a phone to a website.

The goal is to remove that manual step. The person describes the work they have just finished; ordinary code prepares the files the website can publish.

The solution: WhatsApp automation for website publishing

WhatsApp becomes the entry point for content. There is no CMS dashboard to open for every new item.

  1. The message: the person sends a photo and a short description to a dedicated number. The workflow must accept content only from authorised senders.
  2. The webhook: the messaging integration passes the content to a script running on a virtual machine. This connects the chat to publishing; it is not an automatic feature of every WhatsApp account.
  3. The image: the script resizes and compresses the photo, for example as WebP. File type and size need checking before processing.
  4. The text: a language model tidies the description and suggests a title and tags. It should not invent work, results or details missing from the message.
  5. Publishing: the script generates a Markdown file with the metadata Astro needs. The pipeline rebuilds the static website and publishes the new version after the required checks.

AI tidies the text; code decides where to save it and how to build the page. Publishing time depends on processing, the build and the hosting platform. This is not a promise that every update takes a few seconds.

The foundation is the same as Small business website costs: domain and free hosting: the public website can stay static while the automation script runs on separate infrastructure. A website without an application server does not mean the entire workflow has no servers to manage.

Publishing costs: what remains without a CMS dashboard

Pay for infrastructure, not unnecessary steps. But a useful cost comparison needs every item, not just the virtual machine.

Item What to assess
Development WhatsApp integration, file processing, error handling and the publishing pipeline.
Messaging Access to the chosen integration and rates applicable to the intended use.
Automation Virtual machine, updates, backups and workflow monitoring.
AI Model, text length and number of requests.
Public website Domain, hosting plan limits and any additional features.

The static website can use free hosting within plan limits. That does not make development, the domain or the WhatsApp integration free. Usage-based costs also need measuring on the actual workflow.

A small script may be enough for one path. If the number of integrations grows, a visual tool such as n8n may be worth considering. It is a management choice, not a requirement for publishing a photograph.

Owning the code makes individual parts easier to replace. Dependencies on messaging, hosting and the AI model remain: platform prices, availability and rules do not become fixed just because the dashboard has gone.

Before publishing: correct content and necessary data

The workflow must distinguish new content from a correction, avoid duplicates and stop when information is missing. A failed build should not replace the working website with incomplete content.

For material that needs review, the workflow can prepare a draft for approval before publication. Automation should not decide which photographs or details the person wants to make public.

Images can contain faces, addresses or documents. Select material intended for the website and send only necessary data to the model, with clear access and retention rules. A convenient chat does not remove responsibility for what gets published.

The result: publishing starts from the phone

Before, updating the website needs a moment at a computer. Afterwards, the photo and description can enter the workflow while the work is still fresh. The system prepares the content; the person keeps editorial control.

Complexity does not disappear. It moves from the person updating the site into the code that manages files, errors and publication. Fewer screens to navigate, with a workflow small enough to understand and maintain.

For stable information such as phone numbers and opening hours, Local SEO: align your website, Google Maps and Gemini explains how to keep the website and Google profile consistent. Publishing a photograph and changing a contact number are different updates: the workflow needs to tell them apart.

The best technology removes steps without removing your control.

Got a similar problem?

If this made you think of a task you postpone, repeat, chase, or double-check, send it over. Sometimes removing one step changes the whole day.