What This Workflow Does
This workflow makes a smart assistant that answers travel questions fast and right.
It uses a Google Drive document as the only source for answers.
When you run it, it loads the latest travel info from Google Drive and updates the AI assistant.
The assistant then talks with customers with memory of past messages.
Who Should Use This Workflow
Users with many travel customer questions and official docs in Google Drive.
Anyone who wants to stop updating support info by hand weekly.
Also good for teams who want fast, clear, and consistent answers.
Tools and Services Used
- n8n: Automates the whole process with workflows.
- Google Drive API: Downloads travel info files as PDFs.
- OpenAI API: Creates and updates the chat assistant and uploads docs.
- Webhook: Receives user chat messages to the assistant.
Workflow Inputs → Processing → Output
Inputs
- Manual trigger to start the workflow.
- Google Drive file containing travel info (PDF).
- User chat messages sent via webhook.
Processing Steps
- Create a new OpenAI assistant with specific instructions limiting answers to the uploaded travel doc.
- Download the Google Drive document as a PDF.
- Upload the PDF to OpenAI as a knowledge file.
- Update the assistant with the new file to refresh its knowledge.
- Maintain chat memory using a window buffer to keep conversation context.
- Allow live chat interactions via webhook connected to the assistant.
Output
- An updated OpenAI assistant that responds accurately with latest travel info.
- Live chat sessions where user questions get document-backed replies.
Beginner Step-by-Step: How to Use This Workflow in n8n
1. Import the Workflow
- Download the workflow file using the Download button on this page.
- Open the n8n editor where you want to use it.
- Click on “Import from File” and select the downloaded workflow.
2. Configure Credentials and IDs
- Add Google Drive OAuth2 credentials to allow file access.
- Add OpenAI API Key credentials for assistant creation and file uploads.
- Update the Google Drive node with the File ID of your travel document if different.
- Make sure the assistant creation node instructions suit your needs or keep the default.
3. Test the Workflow
- Run the workflow manually from the Manual Trigger node.
- Check if the assistant is created and the travel document uploads correctly.
- Send a test chat message to the Chat Trigger webhook URL to see if assistant replies properly.
4. Activate for Production
- Switch the workflow ON in n8n.
- Share the webhook URL with customers or your team to start live chats.
- Monitor the workflow executions and fix errors if needed.
Following these steps, users can quickly set up a working assistant without deep knowledge.
Customization Ideas
- Change the Google Drive file to any other travel document by updating the File ID.
- Edit the assistant’s instructions to match your agency tone or add new rules.
- Switch the OpenAI model to one that balances cost and quality better.
- Adjust the Window Buffer Memory settings to keep shorter or longer chat history.
Handling Problems and Errors
Problem: “Failed to download file from Google Drive”
Cause: Wrong file ID or expired credentials.
Solution: Check the file ID carefully. Refresh Google Drive OAuth2 credentials in n8n.
Problem: “Assistant update failed due to missing file ID”
Cause: File upload returned no valid file ID to update the assistant.
Solution: Use expressions to reference the file upload node output properly. Confirm node connections are correct.
Pre-Production Checklist
- Confirm Google Drive credentials can read the file.
- Confirm OpenAI API key allows creating and updating assistants.
- Run manual tests to create and update the assistant successfully first.
- Send chat messages through webhook to verify assistant answers.
- Backup existing assistant configs before overwriting.
Deployment Guide
Turn the workflow ON inside n8n after initial setup.
Share the Chat Trigger webhook URL with your chat tools or clients.
Watch for errors in the n8n dashboard and enable logs if needed.
Use self-host n8n if running n8n on your own server.
Summary
→ This workflow gives you an AI assistant that pulls travel info right from Google Drive.
→ It saves several hours every week by updating automatically and stops mistakes from manual updates.
✓ The assistant answers customers fast and correctly with current travel policies.
✓ The chat remembers past talks for better help.
✓ You can adjust files, instructions, and memory easily for your needs.
