Registration closes in 4 d 10 h 45 minAfter that, subscriptions and Stars can't be bought — only renewed by those already inside. 30% off all plans right now.Join now

Practical guide · August 4, 2026

How to connect documents to an AI bot in Telegram

How to connect documents to an AI bot in Telegram

Documents are for when there is too much information for a short FAQ: price lists, detailed instructions, manuals, decks, partnership terms and descriptions of individual services. Here is what you can upload to HeadHack, how to spread it across profiles and which mistakes to avoid.

Short answer. A profile can carry .pdf, .docx, .txt or a public link. Attach only the material that belongs to that profile's job: the price list and terms to clients, instructions to support, the company deck to partners. Keep one current version only, remove anything that contradicts the FAQ, and never upload passwords, payment details or unnecessary personal data.

This is part of the guide “A free Telegram auto-reply: how to connect it without Premium”. This page is only about documents.

What you can add

A profile accepts:

  • .pdf;
  • .docx;
  • .txt;
  • a public web page;
  • an open link to a document.

Before adding anything, make sure it is reachable, current and carries no private information.

Why spread documents across profiles

Load everything into one shared base and the assistant has a harder time keeping topics apart. A technical support instruction should not turn up in an answer to a partner, and a job description should not turn up in an answer to a client. More on splitting clients, support, partners and personal messages into separate profiles is in the article “Profiles in HeadHack”.

ProfileDocuments that fit
ClientsPrice list, service descriptions, booking terms, payment rules
SupportInstructions, a list of known errors, the user manual
PartnersThe company deck, partnership terms
CandidatesJob descriptions, requirements, the hiring stages
A single serviceDocumentation and terms for that service

An example split

The “Clients” profile
  • the current price list;
  • service descriptions;
  • payment rules;
  • booking terms.
The “Support” profile
  • the user manual;
  • a list of common errors;
  • a troubleshooting guide.
The “Partners” profile
  • the company deck;
  • the formats of partnership on offer;
  • how to send a proposal.

How to prepare a document

Keep one current version

Do not upload the old price list alongside the new one. With two versions of your terms in a profile, the assistant may quote the outdated one.

Give it a clear structure

A document needs headings, sections and unambiguous wording. Keep services, prices, limits and procedures apart.

Remove contradictions

If the FAQ says one thing and the document another, the answers become inconsistent. Compare every source before uploading.

Do not turn a document into a dumping ground

Several focused documents per profile beat one file holding every line of business, your personal notes, job openings and technical instructions.

Using a price list

A price list belongs to the profile that answers client questions. It needs current items and unambiguous terms.

If the price depends on the job, do not make the assistant pick a number at random. Add a line such as:

The price is confirmed once we know what the job involves.

And a next step:

Describe briefly what you need and we will prepare a quote.

Using support instructions

For a “Support” profile these are useful:

  • the user manual;
  • a list of common errors;
  • what information to collect;
  • the order of checks;
  • when to pass an enquiry to a specialist.

The system prompt should forbid inventing the cause of an error or promising a fix without confirmed facts.

Using decks for partners

The “Partners” profile can hold the company deck and a description of the partnership formats you offer.

The assistant can:

  • clarify the format of a proposal;
  • say what information to send;
  • explain what happens next;
  • pass the enquiry to the owner.

It must not decide on a partnership by itself unless the prompt gives it that authority.

Keeping documents current

Review the material whenever these change:

  • prices;
  • services;
  • payment rules;
  • your schedule;
  • contact details;
  • technical instructions;
  • requirements for candidates;
  • partnership terms.

Delete the old version rather than leaving it next to the new one. After an update, ask again the questions whose answers depend on what changed.

Data safety

Do not upload:

  • passwords;
  • secret keys;
  • payment details;
  • unnecessary personal data;
  • medical data;
  • confidential documents you do not need there.
Add only what the assistant genuinely needs in order to answer. If a document has both a public and a confidential part, prepare a shortened version for the profile.

Checking that it works

Ask questions whose answers sit in different materials:

  • a price question from the price list;
  • a service question from the description;
  • an error question from the instructions;
  • a partnership question from the deck;
  • a question that is in no document at all.

Then check:

  1. whether the assistant picked the right profile;
  2. whether it found the right material;
  3. whether it used something from another profile;
  4. whether it quoted an outdated version;
  5. whether it said the data was missing instead of guessing;
  6. whether it offered a sensible next step.

Open @Head_Hack_bot, pick a profile and attach the first document — a price list or an instruction — then check the answer on a real question.

In short

Documents add detail on top of the FAQ and the facts. Spread them across profiles, keep only current versions, remove contradictions, and leave confidential data out.