> For the complete documentation index, see [llms.txt](https://docs.harmony.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.harmony.io/faq/faq/ai-agent.md).

# AI Agent

## Does the AI work the same way over email as it does in Slack or Microsoft Teams?

No. Email channels are designed for legacy support and do not support AI-powered responses. AI assistance is only available through Slack and Microsoft Teams.

If your team uses email for support, tickets will still be created and routed correctly, but AI responses will not be generated automatically.

***

## Can I configure the AI agent to ask follow-up questions before creating a ticket?

Yes. Use the **Service Catalog** to define what information the agent should collect for specific request types.

1. Go to **Settings > Service Catalog**.
2. Create or edit a catalog item for the relevant request type.
3. Define the fields or questions the agent should ask before proceeding.

This gives you full control over the agent's behavior per request type, without any custom development.

***

## Why can't the AI find information from a PDF I uploaded to the knowledge base?

This usually happens when the PDF contains image-based text rather than selectable text (e.g., scanned documents).

### How to check

Hover over the text in the PDF. If your cursor changes to a text selection cursor, the text is readable. If it stays as a pointer, the text is embedded as an image and cannot be extracted.

### What to do

1. Use an OCR tool to convert the PDF to a text-readable format.
2. Re-upload the converted file to the knowledge base.
3. Re-test your query after the document has been processed.

{% hint style="warning" %}
PDFs that contain data primarily in tables may not parse correctly. If answers seem incomplete, consider reformatting the table content as plain text before uploading.
{% endhint %}

***

## Can users view the full conversation with the bot after a ticket is created?

Yes. When a ticket is created, the AI-generated summary appears in the ticket description and the full conversation transcript is included in the ticket body. Users can rely on the summary by default while still being able to review the full interaction when needed.

***


---

# 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://docs.harmony.io/faq/faq/ai-agent.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.
