Skip to main content

Export Macro

As needed, you can export a macro from Alteryx Analytics Cloud. An exported macro is stored in a JSON file that contains all of the information required to use the macro in any instance of the product.


Only the creator of a macro can export it.

Exported macros can be imported into the same system or different systems. Macro export is useful for:

  • Backups of work in progress


    You cannot import macros into an earlier release of the product.

  • Archiving of completed development work

  • Migrating macros from one instance to another



  1. From the left navigation bar, select Library for Data.

  2. In the Library for Data page, click Macros.

  3. In the Macro page, locate the macro that you wish to export. In its context menu, select Export.

  4. The JSON file is downloaded to the default download location on your local desktop.

When you import a macro, you import this JSON file.

Export via API

You can export macro definitions using the APIs.


This method is useful for publishing macro definitions across all deployments in your organization.

For more information, see Designer Cloud Powered by Trifacta: API Reference docs