A macro that has been exported from the can be imported back into the product.
You cannot import macros that were exported from a later release of the product.
If you are importing a flow into a Production instance of the platform, any macros referenced in the imported flow are expanded into their original steps in the recipes where they are referenced.
Macros cannot be imported, referenced, or viewed directly in a Production instance.
A Production instance is available only if you have enabled the Deployment Manager. For more information, see Overview of Deployment Manager.
Tip: If you re-import a macro into the same instance that still contains the source macro, the imported version is named the same as the source and automatically versioned for you.
Select the JSON file containing the exported macro.
Tip: You can import multiple macros at the same time. Select each JSON file in the dialog box that you wish to import.
The macro is imported and available in the Macros page.
To use an imported macro, enter
macro in the Search panel in the Transform Builder. Select your macro and modify any parameters. For more information, see Apply a Macro.
If you have exported your macro using the APIs, you can import it into a new environment. For more information, see API Macros Package Post v4.