Let’s Get Certified
Module 12 / 14 · Testing, deployment, and maintenance

Promote agent and template versions

Carry metadata, dependencies and access configuration into the target org and verify activation.

Promote agent and template versions

Work through the decision

A warranty agent works in a sandbox. After a release to production its new topic appears but fails when generating the reply. What should the release owner compare between orgs?

Check your reasoning

Build a dependency inventory covering the agent definition and subagents, actions, flows, prompt templates and referenced fields. Check required permissions, target-org connections, approved model and data library configuration. Deploy prerequisites with the referencing metadata using the supported release mechanism, then verify the intended versions are active and accessible in the target.

Watch the source lesson at 1:43:56

Compare the choices

Metadata dependency inventory
List referenced actions, templates, flows and schema before packaging a release. Include target-specific configuration that must be established separately.
Target-org configuration
Verify local prerequisites such as service enablement, credentials, permissions and data source associations in the destination. Use the intended target principal.
Version activation
Confirm the intended deployed agent or prompt version is active where it will be called. Test callers after switching versions.
Target smoke test
Run a representative end-to-end request with the target user and known data. Record routing, action output and response before increasing exposure.

Test the decision

Run a smoke test with the real production role and a permitted test record. Verify the rendered prompt and source data. If activation or authorization fails, preserve the prior working configuration and record the precise missing dependency for the next release.

Practice the guide skills

  1. Inventory agent metadata, referenced flows, permission sets, runtime user and channel configuration. Test the deployed agent in the target org with a representative role. Watch 1:43:56
  2. Promote a prompt template together with its referenced fields, data and flow dependencies. Check its active version, access and generated output in the target org. Watch 1:45:26

Official objectives for this lesson

Related lesson · Govern data and promote a solution

Knowledge check

Promote agent and template versions quiz

Answer 3 questions. Check each answer for an explanation.