Extract and Organize Colombian Invoices with Gmail, GPT-4o & Google Workspace โ n8n ์ํฌํ๋ก
๊ฐ์
๐งพ Personal Invoice Processor
This N8N workflow automates the extraction and organization of personal invoices in Colombia received via Gmail. It includes the following key steps:
๐ Flow Summary
Email Trigger Polls Gmail every 30 minutes for emails with .zip attachments (assumed to contain invoices). Expects ZIP file following DIAN standards.
ZIP File Handling Extracts all files. Filters only PDF and XML files for processing.
Data Extraction & Processing Uses LangChain Agent +
์ฌ์ฉ๋ ๋ ธ๋
์ํฌํ๋ก ๋ฏธ๋ฆฌ๋ณด๊ธฐ
์๋ ์๋ฆฌ
- 1
ํธ๋ฆฌ๊ฑฐ
์ํฌํ๋ก๋ ํธ๋ฆฌ๊ฑฐ ํธ๋ฆฌ๊ฑฐ๋ก ์์ํฉ๋๋ค.
- 2
์ฒ๋ฆฌ
๋ฐ์ดํฐ๊ฐ 22๊ฐ์ ๋ ธ๋๋ฅผ ํตํด ํ๋ฆ ๋๋ค, connecting agent, aggregate, code.
- 3
์ถ๋ ฅ
์ํฌํ๋ก๊ฐ ์๋ํ๋ฅผ ์๋ฃํ๊ณ ๊ตฌ์ฑ๋ ๋์์ ๊ฒฐ๊ณผ๋ฅผ ์ ๋ฌํฉ๋๋ค.
๋ ธ๋ ์ธ๋ถ ์ ๋ณด (22)
Google Sheets
googleSheets
Google Drive
googleDrive
Compression
compression
Code
code
AI Agent
n8n-nodes-langchain.agent
OpenAI Chat Model
n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
n8n-nodes-langchain.outputParserStructured
Calculator
n8n-nodes-langchain.toolCalculator
์ด ์ํฌํ๋ก ๊ฐ์ ธ์ค๋ ๋ฐฉ๋ฒ
- 1์ค๋ฅธ์ชฝ์ JSON ๋ค์ด๋ก๋ ๋ฒํผ์ ํด๋ฆญํ์ฌ ์ํฌํ๋ก ํ์ผ์ ์ ์ฅํฉ๋๋ค.
- 2n8n ์ธ์คํด์ค๋ฅผ ์ด๊ณ ์ํฌํ๋ก โ ์๋ก ๋ง๋ค๊ธฐ โ ํ์ผ์์ ๊ฐ์ ธ์ค๊ธฐ๋ก ์ด๋ํฉ๋๋ค.
- 3๋ค์ด๋ก๋๋
extract-and-organize-colombian-invoices-with-gmail-gpt-4o-google-workspaceํ์ผ์ ์ ํํ๊ณ ๊ฐ์ ธ์ค๊ธฐ๋ฅผ ํด๋ฆญํฉ๋๋ค. - 4๊ฐ ์๋น์ค ๋ ธ๋์ ๋ํ ์๊ฒฉ ์ฆ๋ช ๏ผAPI ํค, OAuth ๋ฑ๏ผ์ ์ค์ ํฉ๋๋ค.
- 5์ํฌํ๋ก ํ ์คํธ๋ฅผ ํด๋ฆญํ์ฌ ๋ชจ๋ ๊ฒ์ด ์๋ํ๋์ง ํ์ธํ ํ ํ์ฑํํฉ๋๋ค.
๋๋ n8n โ JSON์์ ๊ฐ์ ธ์ค๊ธฐ์ ์ง์ ๋ถ์ฌ๋ฃ๊ธฐ:
ํตํฉ
์ด ์ํฌํ๋ก ๊ฐ์ ธ์ค๊ธฐ
ํ ๋ฒ์ ํด๋ฆญ์ผ๋ก ๋ค์ด๋ก๋ ๋ฐ ๊ฐ์ ธ์ค๊ธฐ
JSON ๋ค์ด๋ก๋n8n.io์์ ๋ณด๊ธฐ์ ์์
Juan Sanchez
@juansave
ํ๊ทธ
n8n์ ์ฒ์ ์ฌ์ฉํ์๋์?
n8n์ ๋ฌด๋ฃ ์คํ์์ค ์ํฌํ๋ก ์๋ํ ๋๊ตฌ์ ๋๋ค. ์์ฒด ํธ์คํ ํ๊ฑฐ๋ ํด๋ผ์ฐ๋ ๋ฒ์ ์ ์ฌ์ฉํ์ธ์.
n8n ๋ฌด๋ฃ๋ก ์์ํ๊ธฐ โ