🌟 News and Releases in Mergado

A new version of Mergado

Deployment date and time

March 18, 2020, 15:00

News and updates

:sunny: You are now able to create your own macros

We introduced the Macro Tool - the ability to run preset actions that let you set up your export quickly and easily - last September. At that time, we ran macros in “users can run macros” mode, where you could use sets of actions that we had already prepared, but you couldn’t create them yourself.

The procedure for creating macros was only available to our team at that time, because it was a quite complex process in test mode. The macro editor and the whole interface around it just needed to be more user-friendly and we wanted to catch as many “flies” before launching.

Now we open creating macros for all our users. :sunglasses:

obrazek

In the top-level menu (i.e. on the main page) there is a new item called Custom macros. Create and manage your macros on this new page.

Go and give it a try! :kite:

  • :four_leaf_clover: A macro is basically a sequence of parametric actions that will do something in Mergado that you, as users, can do by yourself, but a well-built macro will do it for you, without error and much faster - and you can run that macro on different exports.

    • Currently supported macro actions are:
      • Create element (and optionally a standard variable)
      • Create query (input and output)
      • Create rule (currently you can create rules such as override, find and replace, hide product, shorten value, change capitalization, round, set UTM parameters, remove HTML tags and calculate. It is not yet possible to create bulk rules - but we plan to do this over time.)
  • :thinking: What is important to note:

    1. A macro is a general formula and as such has no link to any particular export before it runs.
      • Keep in mind that you might be surprised that when you define the Create Rule action, in the list of queries to which the rule applies, there are no queries from any of your existing exports. The rules defined in the macro can only be applied to queries that are defined in the same macro. (And it works the same for other events.)
    2. Once a macro has run over a particular export and has performed the prescribed actions, the macro still has no relation to that or any other export.
      • In other words, the created elements, queries, and rules are not special - it’s like the user created them himself.
  • :candy: The macro can also define parameters that can be used to change the behavior of a macro for a particular situation before it runs over an export.

    • Each parameter has:
      • Name (e.g. Price element)
      • Type (either text, number or element)
      • Default value (e.g., PRICE_VAT)
  • :pizza: Other macro properties:

    • Name of the macro
    • Macro description (GitHub Flavored Markdown can be used to format)
    • Macro language (specifying the language of your macro)
    • Macro format (where you specify for which formats supported by Mergado your macro will be recommended)
  • What to do with the created macro? :four_leaf_clover:

    1. You can run your macros :wrench: over your Mergado exports (in your export, there is a menu link called Macros).
    2. You can share your macros with other users. :nerd_face:
      obrazek
      They can then import it via a link into their own collection of macros :floppy_disk:. And if you then edit your macro, others will know and may have their copy of the macro updated (or they may ignore the changes).
  • :blue_book: Our blog will soon feature articles about macros to help you with this great new feature. :wink:

Keep in mind that the current options in creating and running macros and managing them are just the beginning, and we’d love to hear your thoughts and comments about this new tool after giving it a try. Our goal is to simplify your work in Mergado. :cherries:

:star2: Rule planner

The rule planner tool has been in test insiders mode since November last year. We would like to thank all the insiders who have tested this “feature” and helped us to discover and solve all kinds of mistakes before the launch. Thanks! :heart:

  • New feature! :upside_down_face:
  • :four_leaf_clover: With the rule planner, you can schedule your rules for when to apply and when to skip.
  • Where do I find the rule planner?
    • On the Rules page, there is a new icon for each rule (the rule type must support scheduling) that takes you to its schedule settings page:
      obrazek
  • How does the rule planner work? :thinking:
    • The rule planner has three levels of settings:
      1. As such, the scheduler is either active :white_check_mark: or inactive :heavy_multiplication_x:.
      2. :spiral_calendar: The plan may be limited to:
        1. Date from (inclusive): The daily planner (see next point) takes effect from that date (including this date). You can also choose to apply the rule by default or always skip before that date.
        2. Date to (inclusive): The daily planner (see next point) has an effect until that date. You can also choose to re-apply the rule after this date or skip it after that date.
      3. :timer_clock: A daily planner through which you can set the rule behavior for each day of the week separately. Each day is further divided into six four-hour periods, where you can choose whether or not to apply the rule.

Please note that the rule must be enabled for the planner to do what you want it to do :warning:. The paused rule is not affected by the planner. In other words, the planner cannot force a paused rule to be applied.

  • Example of rule planner setting:
    • For example, you might want to set up a Set a free gift rule to apply only between April 1, 2020 and April 30, 2020 (included), on Fridays only from 12:00 to 24:00, and then all Saturday and Sunday. However, before April 1, 2020, the rule will always apply by default. And then, as of May 1, the rule will always be skipped.

To set up your planner, follow these steps:

Of course, we will also be glad for your feedback about this feature. We are interested in your experience with this tool. :heart:

More news and fixes

  • many other improvements and bug fixes to improve the stability and performance of the platform.

You may notice minor outages of Mergado during the release time. Thank you for your understanding and patience in deploying the new version.

If you have any questions, please contact us.

2 Likes