Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx IO Discussions

Customize and extend the power of Alteryx with SDKs, APIs, custom tools, and more.
SOLVED

Scripted Packaging of Workflow

paul_houghton
12 - Quasar

Im trying to use Github actions to publish workflows to Alteryx server using the v3 API and see the workflows endpoint only accepts yxzp files. Is it possible to convert an Alteryx workflow into a yxzp without using the export function of Alteryx designer?

2 REPLIES 2
tlarsen7572
11 - Bolide
11 - Bolide

Yes, it is certainly possible. A yxzp is basically a specially-formatted ZIP file. Here are 2 threads which discuss it and have some example code:

https://community.alteryx.com/t5/Dev-Space/Invalid-package-file-when-posting-workflow-to-Gallery/td-...

https://community.alteryx.com/t5/Dev-Space/Programmatically-Manually-Create-yxzp/td-p/566918

 

paul_houghton
12 - Quasar

Perfect thanks, it's the special formatting bit that I didn't know about and google foo failed