Templates / Automated trip expense claim form with OpenAI agent & Google Drive

Automated trip expense claim form with OpenAI agent & Google Drive

Ready for 3.0

by Trung Tran ✓ · 976 views · created 2025-08-02 · Invoice Processing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 12 nodes and runs when someone submits an n8n form (“Business Trip Claim Submission”). Along the way it connects Google Drive, Google Sheets and OpenAI Chat Model.

How it runs

Trigger: When someone submits an n8n form (“Business Trip Claim Submission”).

  1. Handle multiple files (Code): runs custom JavaScript code
  2. Upload file (Google Drive): uses Google Drive
  3. Extract from File: extracts data from a file (pdf)
  4. Transform invoice record (Code): runs custom JavaScript code
  5. DocClaim Assistant Agent (AI Agent): runs an AI agent, with model: GPT; output parser: Structured Output Parser
  6. Append row in sheet (Google Sheets): append
  7. Transform Output (Code): runs custom JavaScript code
  8. Create HTML Email Template (Code): runs custom JavaScript code
  9. Send trip expense request to finance team (Send Email): sends an email over SMTP

Services it uses

Google DriveGoogle SheetsOpenAI Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

🧾 Automated Trip Expense Claim Form With OpenAI Agent & Google Drive Watch the demo video below: > This workflow is designed for employees who need to submit expense claims for business trips. It automates the process of extracting data from…

Excerpt from Trung Tran's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.