Creating custom macros makes your work in Mergado easier

Lukáš Horák
19. 3. 2020
2 minutes read
Creating custom macros makes your work in Mergado easier

On March 18, two important Mergado features were released. In addition to minor innovations and fixes, the release includes two major tweaks that shorten the working time of online marketers. The first feature enables creating own macros. Learn how to set up your export quickly and easily.

On March 18, two important Mergado features were released. In addition to minor innovations and fixes, the release includes two major tweaks that shorten the working time of online marketers. The first feature enables creating own macros. Learn how to set up your export quickly and easily.

Create custom macros

You can use macros — pre-set actions that will speed up some tasks in Mergado, since last autumn. Until now, however, you could only run macros that were preset by us. That’s why our development team has rebuilt the macro editor and the entire interface, so now you can create macros by yourself.

How does a Mergado macro work?

A properly created macro will perform tasks in Mergado faster and without error. So why would you need to manually set up something in your exports when you can do everything automated?

What macros do:

  • create an element — and optionally a variable
  • create a query — input and output
  • create a rule — currently, you can’t create bulk rules

What is important to know

  1. The macro does not apply to any specific export before it is started — so you will not see queries from any of your existing exports in it: The rules defined in the macro can only be applied to queries that are defined in the same macro.
  2. The macro executes the prescribed actions but is not linked to the export for which it was run.
  3. The function of a macro can be changed for a specific situation by defining the parameters:
  • title (e. g. Price element)
  • type (one of the options: text, number, element)
  • the default value (e. g. PRICE_VAT)

Other macro features

  • Macro name.
  • Macro description (you can use GitHub Flavored Markdown to format it).
  • Macro language (which specifies the language mutation of your macro).
  • Macro format (which you specifies for which formats supported by Mergado your macro will be recommended).

What to do with the created macro?

  1. You can run macros over your exports in Mergado — you can find macros in exports.
  2. You can share macros with other users who can import them into their collections. If you edit a macro, all users who use it will be able to update the macro (or ignore it) according to your changes.

Speed ​​up your workflow with macros in Mergado. Try creating them, it’s very simple. We will inform you about other options for this tool soon. And if you have any feedback on using them, we’ll be happy if you share them.

You could be interested in:

Lukáš Horák

Lukáš takes care of most of the Czech and English communication in Mergado. Through blogs, e‑mail, and social networks, he regularly supplies readers with e‑commerce news and news and tips from Mergado. In his time off, he enjoys simple things like badminton, digging the hidden gems of the 80’s, and seafood served with red wine.