Skill / SKILL.md

Automation Sandbox Post Copy Configure

forcedotcom/sf-skills

Apply a Salesforce sandbox post-copy automation JSON config against a target org. Use when the user asks to apply, run, execute, dry-run, or preview a post-copy or post-refresh config file (e.g. `post-copy-config.json`) against a sandbox — including activating/deactivating a Flow (PATCH `FlowDefinition.Metadata.activeVersionNumber` to the version, or `null`), re-pointing an OBM endpoint, updating a RemoteSiteSetting URL, or re-scheduling a ScheduledApex job after refresh. Also trigger for phrasings like "apply post-copy config", "run post-copy automation", "activate Flow <name> post-refresh", "deactivate Flow <name>", "re-point outbound messages after refresh", or "configure sandbox after refresh". Per entry, derive the Tooling API sobject, verify via describe, resolve the Id via SOQL, then PATCH the compound `Metadata` field (`ScheduledApex` uses anonymous Apex). DO NOT TRIGGER for generating config JSON from an SOP (use `automation-sandbox-post-copy-config-generate`) or for deploying metadata XML.
2 views 1,199 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Apply a Salesforce sandbox post-copy automation JSON config against a target org. Use when the user asks to apply, run, execute, dry-run, or preview a post-copy or post-refresh config file (e.g. `post-copy-config.json`) against a sandbox — including activating/deactivating a Flow (PATCH `FlowDefinition.Metadata.activeVersionNumber` to the version, or `null`), re-pointing an OBM endpoint, updating a RemoteSiteSetting URL, or re-scheduling a ScheduledApex job after refresh. Also trigger for phrasings like "apply post-copy config", "run post-copy automation", "activate Flow <name> post-refresh", "deactivate Flow <name>", "re-point outbound messages after refresh", or "configure sandbox after refresh". Per entry, derive the Tooling API sobject, verify via describe, resolve the Id via SOQL, then PATCH the compound `Metadata` field (`ScheduledApex` uses anonymous Apex). DO NOT TRIGGER for generating config JSON from an SOP (use `automation-sandbox-post-copy-config-generate`) or for deploying metadata XML.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/forcedotcom/sf-skills' skill-source

Use the complete skill-source/plugins/builder/dx-org-lifecycle/skills/automation-sandbox-post-copy-configure directory with your client’s skill installer.

  • plugins/builder/dx-org-lifecycle/skills/automation-sandbox-post-copy-configure

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/builder/dx-org-lifecycle/skills/automation-sandbox-post-copy-configure

Compatibility & requirements

Declared tools

Bash Read Write

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
16 included files
Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
eb4b0acbc08ef647341cffbad394145a4fadc9fd6ecbd396f0a267394a1274b3
Format validation findings
  • Metadata requires string values.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills