The AI chatbot can call your API endpoint to get the order status, or even fetch the PDF document, such as receipt from your API endpoint to show it directly to the user.