# Inspections

You can see an example inspection created by Keyfax within Civica CX below\...

<figure><img src="/files/seMjYY4EFyae074OG4FN" alt=""><figcaption></figcaption></figure>

To create Inspections within Civica CX from the Keyfax and Civica CX integration you must first define a list of available Inspection Types within your CxMappings.xml file as shown below\...

```
<Admin active="1">    
    <List id="inspectionTypes">
      <Item value="0">Service</Item>
      <Item value="1">Pre Inspection</Item>
      <Item value="2">Post Inspection</Item>
    </List>
  </Admin>
```

When editing a service within Keyfax Administrator Tools with the Keyfax and Civica CX integration enabled a new "Service Type" drop down list will be available for each service.&#x20;

You can change the service type via this drop down list for any existing service to one of the configured inspection types obtained from the `CxMappings.xml` file to ensure an inspection is created when Keyfax completes and not a works order.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/integrations/host-systems/civica/civica-cx/inspections.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
