29/04/2026 Franck Bugnet Trick

Automatically run MagicFormula and MagicEdit every time the file is re-read

Can MagicFormula and MagicEdit be run automatically for each new file, without any manual intervention?
I use the same mapping for every import, so I'd like to apply the same processing to my columns across multiple different files.



Since version 2.0.1 of Merlin BackOffice ® Flex, both tools can indeed be run (independently for each column) automatically every time the file is re-read. To do this, you must check the “Automatic” box (1) when you validate the MagicFormula formula or the MagicEdit settings.



MagicEdit and MagicFormula Automation

These settings are linked to the column AND the mapping template, and are automatically saved with them.

So if you reuse the same template in different tasks, you can retrieve the formulas and settings.

Note also that you can choose to disable these tools (2) globally (without deleting them from the columns), or change the execution order (3)—MagicEdit followed by MagicFormula, or vice versa.
To do this, you need to expand the hidden “Filters” section in step 3 to access these two settings.

As a bonus, you can also specify whether these automated scripts should run before (4) or after synchronization. That is, before or after the system checks for the existence of items based on their synchronization key.

Example: Your file contains a column with only some of the item IDs (123, 456, 333, ...), with the actual SKUs in the format ref123, ref456, ref333. In this case, you can, with a wave of a magic wand, have “ref” added to the beginning of all values in the column BEFORE synchronization, so that the products are correctly searched for and found using their full SKU values.



Category's other articles Import into PrestaShop database

Settings
  • Login
Menu