# Deliver a document from the Intake Bot

When the conversation ends, the bot hands the person a PDF made from one of your templates, in the web chat, in step by step and on WhatsApp, and can ask them to sign it.

The document block hands the person a PDF made from one of your templates as soon as the conversation ends: a quote, a proposal, an application. It is built from the case, so the bot must take the conversation to a Process Board.

> **Before you start:** You need a template in your FlowApp that prints from a case. See [Documents with AI](https://iozen.ai/docs/ai-documents#design-a-template-with-ai).

## 1. Add the block

Open your FlowApp, go to “Intake Bots” and pick the bot. Between two questions, tap the + button and choose “Document block”. It also goes inside an option's follow-up questions, so each path can get its own document. It isn't offered inside a repeat group.

The block runs only if the conversation went through it. A block inside the follow-up questions of an option sends its PDF only to people who picked that option. See [Conditional questions](https://iozen.ai/docs/conditional-questions).

## 2. Pick the template

Under “Template”, pick one of this FlowApp's templates. Only templates that print from the case show. The block takes the template's name as its title.

The bot doesn't publish while a document block has no template, or its template no longer exists or doesn't print from a case.

## 3. Write the message

In “Message with the PDF”, write what the person reads with the document. Left empty, it says *Here is your quote.*, with your template's name, in the template's language.

## 4. Ask for a signature (optional)

Turn on “Ask for a signature” and a “Sign” button shows under the PDF. The person signs on a signing page and the signed copy reaches the case. See [Send for signature](https://iozen.ai/docs/send-for-signature).

## 5. Send it only sometimes (optional)

Under “Send only if…”, add conditions on the answers. The bot prints and sends the PDF only when they're met.

## What the person sees

![When the conversation ends, the chat hands over the quote with “Download” and “Sign”.](https://iozen.ai/docs/shots/en/bot-document-chat-document-desktop.webp)

- **Web chat**: after the last answer, a card with the document's name, “Download” and, if you asked for it, “Sign”.
- **Step by step**: the same card on the end screen. See [Step by step](https://iozen.ai/docs/step-by-step).
- **WhatsApp**: the PDF arrives as a WhatsApp document with your message. If you asked for a signature, a second message carries the signing link. See [Connect WhatsApp](https://iozen.ai/docs/connect-whatsapp).

Each document block sends its own PDF, up to 5 per conversation. If a phase already generated the same template for the case and it's still waiting in the Outbox, the bot delivers that one instead of printing it again.

## In the case and the Outbox

The document stays in the case and in the “Outbox” as sent by the bot. If WhatsApp couldn't deliver it, it waits in the Outbox for your team to send. Once the signing link goes out, the case shows it's waiting for the signature. See [Documents with AI](https://iozen.ai/docs/ai-documents).

## Credits

Each PDF uses 10 credits and each completed signature 50. Test and sample cases are free. See [Plans and credits](https://iozen.ai/docs/plans-and-credits).

The bot only prints when the workspace has the document's full credits:

- The person sees nothing about it: the conversation ends as usual, with no PDF.
- The workspace's owners and admins get a notification that links to the case. See [Notifications](https://iozen.ai/docs/your-notifications).
- The case shows “Document pending: not enough credits”, with the template's name.

The same goes for the signature: without a signature's full credits, “Sign” doesn't show and no link goes out.

## Frequently asked questions

### Can one conversation get more than one document?

Yes. Each document block the conversation went through sends its own PDF, up to 5 per conversation.

### Does it use credits?

Each PDF uses 10 credits and each completed signature 50. Test and sample cases are free.

### What does the person see when the workspace is out of credits?

Nothing about it. The conversation ends as usual, with no PDF. Your owners and admins get a notification and the case says why.

### Do test conversations show the PDF?

No. A test conversation shows no PDF card, but its test case still gets the document, free.
