Published 8 days ago
This n8n workflow automates Yape payment receipt processing, integrating Telegram bot, AI-powered OCR, and Google Sheets automation. By leveraging ChatGPT Vision Computing, it extracts and structures transaction details, eliminating the need for manual entry. Ideal for freelancers, businesses, and finance teams, this workflow ensures error-free, real-time financial tracking. The AI agent powered by DeepSeek refines and formats the extracted text, storing it in Google Sheets for easy accessibility and reporting. Users can track payments, monitor cash flow, and generate financial reports without any manual work. This seamless integration boosts efficiency, reduces errors, and automates financial record-keeping with 100% accuracy.
β
n8n β Workflow orchestrator.
β
Telegram β Handles image reception and notifications.
β
Google Drive β Manages file creation and storage.
β
Google Sheets β Automatically logs extracted data into spreadsheets.
β
ChatGPT Vision Computing β Performs OCR on payment receipts.
β
DeepSeek AI β Organizes and converts extracted data into a structured format.
π© A Telegram Bot
β Must be created to receive images. Setup Guide
π Google Sheets API Key
β Required to store extracted data. Setup Guide
βοΈ ChatGPT API Key
β Used for OCR and AI text extraction. Get it here
π DeepSeek API Key
β Processes extracted text into structured data. Get it here
The user attaches a Yape payment receipt image to the Telegram bot conversation. π€³π»
A βοΈChatGPT Vision Computing model processes the image and extracts all visible text, ensuring high-accuracy OCR for structured data extraction.
Intelligent Data Processing with AI π€
The extracted text is sent to a πDeepSeek-based AI agent that:
Identifies and structures key transaction details (amount, date, sender, transaction ID, etc.).
Converts the data into a structured JSON format.
Google Drive integration is established.
If the Google Sheets file does not exist, it is automatically created.
Extracted data is automatically recorded in the corresponding spreadsheet, enabling effortless tracking and streamlined financial organization.
β
Time-saving β Eliminates manual payment processing.
β
Error-free data entry β Reduces human mistakes in record-keeping.
β
100% automation β No manual intervention required.
β
Seamless integration β Easily connects with other workflows.
π‘NOTE: The extracted transaction data will be stored in a Google Sheets file with the following columns:
Column Name | Description |
---|---|
id | Unique identifier for each transaction. |
beneficiaryName | Name of the recipient of the payment. |
amount | Payment amount in the specified currency. |
currency | Currency used for the transaction (e.g., PEN, USD). |
company | The entity or service handling the transaction. |
date | Date of the transaction in a human-readable format. |
hour | Time of the transaction. |
originalDate | The exact date extracted from the receipt. |
dateToISO | Standardized ISO 8601 date format. |
operation | Type of financial operation (e.g., deposit, transfer). |
operationNumber | Unique operation number provided by the payment system. |
beneficiaryNumber | Account or phone number of the recipient. |
commission | Any commission or fee charged for the transaction. |
account | Account number or reference used for the payment. |
channel | Payment method used (e.g., app, POS, bank transfer). |
agentCode | Identifier of the agent or entity processing the payment. |
This workflow is perfect for businesses, freelancers, and individuals who need a fully automated solution to process Yape payment receipts efficiently. By leveraging AI-powered OCR and structured data extraction, it eliminates manual effort, reduces errors, and ensures that all transactions are accurately logged in Google Sheets. Whether you're managing personal finances, freelance payments, or business transactions, this system provides a seamless, hands-free approach to financial tracking, allowing you to focus on what truly matters.