---
isPublished: true
knowledgeIndex: false
hidden: true
noindex: true
template: "page.peb"
title: "Site Definition Utils Flow Action"
description: "Create example Site Definition data for administrative setup."
contentType: "reference"
audience: "admin,developer"
---

# Site Definition Utils

Create example Site Definition data for administrative setup.
The namespaced Apex action name is `rooms__SiteDefinitionUtils`.
Check action availability and input fields in your installed package.

## Transaction summary

| Effect | Behavior |
| --- | --- |
| API callout | No immediate API callout is required by this action. |
| Record writes | Creates an Example Site and associated File/template data. Updates Site Definition and enablement-rule data. |
| Queued work | No background job is explicitly submitted by the action. |
| Email | No email is sent. |

Administrative action. It creates Example Site data; it is not a read-only inspection or generic repair action.
The supplied Site / Room Template ID does not select a record for this creation step.
Submit one request only. The action processes the first request.
Do not add it to ordinary business-record Flows.

## Inputs

**Required** describes the Flow input setting. The processing rules above also apply.

| API name | Flow label | Required | Default or guidance |
| --- | --- | --- | --- |
| `siteDefinitionID` | Site / Room Template ID | No | Retained input. It does not select an existing template for the example-site creation operation. |

## Outputs

| API name | Flow label | Meaning |
| --- | --- | --- |
| `success` | Success | Administrative setup result. |
| `message` | Error Message | Setup error details. |
| `siteDefinitionID` | Site Definition ID | The created example Site Definition reference when available. |

## Configure the Flow

1. Confirm that example-site creation is the intended administrative operation.
2. Submit one request from the approved setup process.
3. Store Success, Error Message and Site Definition ID. Inspect the resulting setup records.

Review the Flow context, Apex action access and the object and field permissions needed by this operation.
Record writes can run other Salesforce automation.
For API work, also review the configured Salesforce API connection user's required access.

## Troubleshooting

**The existing template is not repaired.** This action creates Example Site data; it does not perform a targeted repair selected by the input.

**Repeated example records appear.** Each invocation can create another example. Review existing setup records before repeating.

**A later callout fails.** The setup operation writes records in the current transaction.

See the [Flow action index](/content/build/flows/index.md) for transaction guidance and related actions.
