> For the complete documentation index, see [llms.txt](https://docs.praiz.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.praiz.io/troubleshooting/my-agent-doesnt-apply-or-answers-in-the-wrong-language.md).

# My agent doesn't apply or answers in the wrong language

An agent produces nothing on some calls, or answers in an unexpected language.

An agent only runs on the calls that meet its rules, and only on the calls recorded after it was set up.

## The agent doesn't apply to older calls

This is how it normally works: automatic application only handles new calls. For a past call, open it and click the agent in the "AI Agents" panel. For several past calls, use "Apply to history" in the agent's "Configure" menu (see [Using an agent](https://docs.praiz.io/ai-agents/using-an-agent.md)).

## The agent doesn't apply to new calls

Check, under "AI Agents", "Configure", "Automation rules":

1. "Auto-apply agent" is on.
2. If the agent targets teams ("Teams") or users ("Users"), the person who made the call is among them. With no team and no user targeted, the agent handles everyone's calls.
3. The call meets the other rules: call type, meeting type ("Meeting type"), minimum duration, words in the title. A call that is too short is ignored, an agent limited to external meetings does not handle an internal meeting, and an agent limited to one source (video meeting, phone or mobile app) ignores calls from the other two.
4. The agent is public. A private agent only applies to its creator's calls. Ask an admin to recreate it as public if the whole team should benefit from it.

What to expect: the agent's card shows the "Automation" badge and the output appears on the new calls concerned.

## The agent answers in the wrong language

By default, the agent answers in the language of the call. If your calls mix languages or if you want a fixed language, add the instruction in the field concerned, for example "Always answer in English". An output that has already been generated can be rerun with "Refresh" on the call page.

## The output is empty or incomplete

* Rerun the agent with "Refresh", wait about thirty seconds, then reload the page.
* Check that the transcript exists. Without a transcript, the agent has nothing to analyze. See [My recording has no transcript](https://docs.praiz.io/troubleshooting/my-recording-has-no-transcript.md).

## An Insights report shows 0 data

An Insight needs at least 3 calls analyzed by the agent over the period. Apply the agent to a few calls, then run it again.

## Related pages

* [Using an agent](https://docs.praiz.io/ai-agents/using-an-agent.md)
* [Creating a custom agent](https://docs.praiz.io/ai-agents/creating-a-custom-agent.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.praiz.io/troubleshooting/my-agent-doesnt-apply-or-answers-in-the-wrong-language.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
