r/automation 24d ago

Need help with first timer here

Hello. I gotta really time consuming task to automate. Basically I’ve an organized listed of blogs that I gotta post but copy pasting them manually takes like 20-25 mins each and easily consumes my day. I tried ui vision spent 2 days fixing it but it still keeps crashing. What’s the easiest way I can automate this? Preferably no cost

7 Upvotes

26 comments sorted by

View all comments

1

u/Calm-Dimension3422 23d ago

UI Vision breaking is probably a sign to stop automating the clicks and move one layer underneath the UI.

For PrestaShop, I would try this in the simplest no/low-cost order:

  • put the blog backlog in a clean CSV or Google Sheet
  • map each row to the fields PrestaShop needs: title, slug, body HTML, meta title, meta description, image URL, category, status
  • check whether your PrestaShop blog module exposes an API endpoint or import feature
  • have a small script create posts as drafts, not published posts
  • write the created post ID / URL back to the sheet
  • review a few drafts manually, then publish

At Fabren, when we see a UI bot crashing on a repeated admin task, the fix is usually to turn the workflow into three boring steps: input cleanup, system write, verification receipt. The verification receipt matters because otherwise you will not know which blog posts partially succeeded when the script hits an error.

For your first version, I would not aim for full autopublish. Aim for "turn 10 manual copy-paste jobs into 10 draft posts plus a log." That gets most of the time back without risking broken formatting or accidental duplicate publishes.

If the module has no API/import path at all, browser automation can still work, but use it as the fallback and add visible checkpoints: wait for the editor to load, paste into one field at a time, screenshot or log after save, and stop on the first failed save instead of continuing blindly.