WordPress plugin: automatic rules

Make the plugin do a job for you every time something happens, such as compressing each new image.
Guide
3 min read
Updated Dec 5, 2026

Automatic rules make the Davix H2I plugin do a job for you every time something happens on your site, for example every new image gets compressed and described. You find them under Davix H2I > Automatic.

How a rule works

The Automatic screen has one New rule button and one table of every rule, which you can filter. A rule always starts with what starts it. The side panel then lists only the actions that make sense for that start.

Starts when What you can do
An image is uploaded Make it smaller, change its format or size, add a watermark, remove the background, write its alt text and more. The settings are the same as in the Media Library sidebar.
A PDF is uploaded Compress it, stamp it, protect it, make pictures of its pages, write a summary and more.
Another file is uploaded Work on Word, Excel and PowerPoint documents, text and CSV files, and the files other actions can use.
A post or a page is published or updated Work on the post itself, or on the pictures, PDFs and other files it uses.
A product is published or updated (only when WooCommerce is active) Work on the product, its pictures, gallery, PDFs and other files.
A template is published or updated The same, for Elementor, Bricks and block-theme templates.

AI rules for new files

  • Alt text, caption, tags and title for new images.
  • Search texts: a search title, description and keywords for new images and PDFs.
  • Summary of every new PDF or text file.
  • Safety check that looks for unsafe content in new images.

Rules that write the text of a post

When a post, page, product or template is published or updated, a rule can write its title, excerpt, body text or search engine texts. The text can be written when it is empty, corrected, rewritten, shortened, lengthened, summarized or translated. A text is only changed if it is still what the rule saw, and a text a rule already did is not done again, so your own later edits are not overwritten.

If you use Yoast, Rank Math or Davix SEO, the search title, description and keywords are put into that plugin.

Good to know

  • Work that takes time runs in the background, driven by your site’s scheduled tasks (WordPress cron). You can follow it under Activity > Background jobs. Results that wait for your approval are under Activity > Review.
  • Every rule uses your allowance and is limited by your plan. If an action is not in your plan it is shown as unavailable.
  • Before a file or a text is changed its original is kept, and History can put it back for as long as you keep originals (Settings > Privacy and data).

Back to Davix H2I plugin for WordPress.

Checked against the Davix H2I plugin source code.

Was this article helpful?
Thanks for your feedback.
ON THIS PAGE
NEED A HAND?
Cannot find what you need? Our team replies fast.
Contact support
Still stuck?

Talk to a human

Send us a message and we will get back to you quickly.