đź’¬ Build an OpenAI assistant with Google Drive integration

⚡ 14,827 views · 💬 Support Chatbots

Description

Workflow Overview

This workflow automates the creation and management of a custom OpenAI Assistant for a travel agency (“Travel with us”), leveraging Google Drive for document storage.


How It Works

1. Create the OpenAI Assistant

2. Upload Agency Document

3. Update the Assistant with the Document

4. Chat Interaction


Set Up Steps

  1. Prepare the Document:

    • Store your travel agency guide in Google Drive (e.g., as a Google Doc).
    • Update the Google Drive node with your document’s ID.
  2. Configure Credentials:

    • Google Drive: Connect via OAuth2 (googleDriveOAuth2Api).
    • OpenAI: Add your API key to all OpenAI nodes.
  3. Customize the Assistant:

    • Modify the instructions in the OpenAI node to reflect your agency’s needs.
    • Ensure the document includes FAQs, policies, and travel info.
  4. Test the Workflow:

    • Trigger manually (“Test workflow”) to create the assistant and upload the file.
    • Send a chat message (e.g., “What are your travel packages?”) to test responses.

Dependencies


Need help customizing?

Contact me for consulting and support or add me on Linkedin.

đź”— Nodes Used

Google Drive, Simple Memory, Chat Trigger, OpenAI

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup