AI Auto-Reply

This article explains how to build an AI Auto-Reply chatbot that answers questions by referring to an uploaded PDF document.

What you need beforehand

  • A PDF file that the bot will consult (FAQ, manual, etc.) 


Process overview

  1. Upload a PDF and register it as a data source

  2. Create a chat flow

  3. Add an AI Auto-Reply action and configure its menu

  4. Define follow-up actions for the End / Human hand-off buttons

  5. Save → Enable the flow and run a test


1. Upload the PDF data source

  1. Click Data Sources ▸ Documents in the top navigation.

  2. Click the Upload document button in the upper right.

  3. Choose Select file and pick your PDF.

    • The PDF you upload here becomes the knowledge base the AI consults.

スクリーンショット 2025-04-25 17.11.26

スクリーンショット 2025-04-25 17.05.52


2. Set up the chat flow

  1. Open Communication ▸ Chat Flows and create a new flow.

  2. From Actions, drag AI Auto-Reply onto the canvas.

  3. Click the AI Auto-Reply node and edit the panel on the right.

Main fields on the right-hand panel

Field Description
①AI Role Prompt that defines answer style (e.g., “Reply in ≤ 200 characters…”)
②Data Source Select the PDF you uploaded in step 1
③AI Name Sender name that appears in LINE
④Greeting Message Message sent automatically when AI is invoked
⑤End Button Label Label for the button that ends the conversation
⑥Human Hand-off Button Label Label for switching to a human agent
⑦Hide Human Hand-off Button Check to show only the End button
⑧Save Question / Answer to Property Choose HubSpot properties if you want to log Q&A history

スクリーンショット 2025-04-24 16.25.07

3. Configure button branches

End button (True branch)

Connect the right-side port to Send Message and enter your completion text.

 

Human hand-off button (False branch)

Connect the lower port to Send Message and enter a hand-off notice.

 


4. Enable and test the flow

Toggle the switch in the upper-right corner to ON to publish the flow. 

スクリーンショット 2025-05-20 13.34.13

Related articles