Overview

As an automation engineer, you may find yourself needing to create a custom variant of an existing package. This automation leverages the Pia API to clone packages, forms and activities allowing you to quickly fork existing code.

This automation requires you to configure an API App ahead of time with the PiaSource.ReadWrite scope. Follow the guide at Pia API | Knowledge @Pia to complete the initial setup.

Note: To clone Pia managed packages, you will need to request an unlocked copy to be deployed to a sandbox in your environment first - until all Pia automations have been migrated to the Automation Hub.

Flow

  1. The engineer selects a Source Sandbox, Destination Sandbox, a Static Name suffix and optionally a DisplayName Prefix.
  2. Pia will collect the Package, forms and activities available in the Source Sandbox and present them to the engineer for selection
  3. Once selections have been made, Pia will locate all dependent forms/activities and packages and propose a new static name. The engineer can opt to proceed without change or adjust the details as neccessary.
  4. The automation will then proceed to Clone the Packages/Activities/Forms into the Destination Sandbox.
  5. Finally, the automation will produce a summary and a detailed report.

More PiaPacks

User Management Sample (Blueprint)

Activity Collection for Active Directory

By Pia 30 Dec 2025
Provides a sample of Active Directory automations which are used within our pre-built automations, allowing you to customise and build your own packages without starting from scratch.
User Management Extension Automation

Add User to Groups for Offboarding

By Pia 29 Oct 2025
Automatically adds users to configured Microsoft 365 groups during automation workflows, eliminating manual steps. Enhances efficiency, prevents missed configurations, and supports seamle...
User Management Smartform
trending-heart

SmartForms: Add/Remove Access to Groups

By Pia 10 Apr 2026
This SmartForm enables self service group access management, reducing service desk tickets, accelerating changes, improving client control, and allowing engineers to focus on complex valu...