I am working on establishing a standard process for deploying Nintex workflows and forms across Dev, Test, Build, and Prod environments, instead of relying solely on key-based exports. The issue with keys is that they have expiration dates and can expire before QA/UAT approvals are finished, and generating new keys doesn't align with compliance requirements for standard promotion procedures.
To address this, I would like to use the Export/Import packaged workflow APIs. My preference is to export workflows as packages, store them in a Git repository, and then import them from the repo to higher environments as approvals are completed.
I need assistance with saving the response from the Export a packaged workflow API (
https://us.nintex.io/workflows/v1/designs/package/export) and importing it via API (
https://us.nintex.io/workflows/v1/designs/package/import) into higher environments. i am having challenge of preparing query parameter and handling response.