> For the complete documentation index, see [llms.txt](https://helpdocumentation.gitbook.io/user/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdocumentation.gitbook.io/user/bot-builder/whatsapp-chatbot/message-blocks/document-message-block.md).

# Document Message Block

The **Document Message Block** inside **Send Message** allows you to automatically send documents such as **PDFs, brochures, invoices, or reports** to users during a chatbot conversation.

#### How to Use the Document Message Block

1. Open your **Chat Flow** in the bot builder.
2. Set the **Trigger or Keyword**.
3. Click **Add Node**.
4. Select **Send Message → Document Message**.

#### Add Document

You can add the document in two ways:

* **Upload the document** directly from your system, or
* Paste the **document URL**.

After uploading, you can also provide a **file name** for the document.

#### Add Caption (Optional)

You can include a caption to explain the document.

5. Click **Start Upload** and then **Save Message**.

Once the flow is triggered, the document will be automatically sent to the user in the chat.

{% embed url="<https://www.youtube.com/watch?v=_Mp1kWt480g>" %}
