> For the complete documentation index, see [llms.txt](https://help.metaforms.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.metaforms.ai/open-end-cleaning-and-coding/open-end-coding.md).

# Open-End Coding

Open-End Coding uses AI to generate code frames and assign codes to open-ended responses. You can change the frame structure, edit or reorganize codes, reassign individual responses, validate the coding with AI-assisted QA, and export the results.

### Before you begin

Complete OE Setup, including:

* Confirmed open-ended questions
* Saved response-column mapping
* Confirmed entity glossary

If you want to code cleaned responses, complete and confirm Open-End Cleaning first.

### Choose what to code

When you open **Open-End Coding**, Metaforms asks which input to use:

* **Code from cleaned responses:** uses the completed output from Open-End Cleaning.
* **Code directly from Open-End workflow:** skips cleaning and codes the response file from OE Setup.

Choose the direct option only when the uploaded respondent file is already clean. If the direct option says mapping is required, return to OE Setup and save the response-column mapping.

Open-End Coding contains five stages:

1. Configure Coding
2. Code Frame Review
3. Coding Summary
4. QA & Validation
5. Export


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.metaforms.ai/open-end-cleaning-and-coding/open-end-coding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
