Check freee expense deals with Gemini, kintone, Google Drive and Chatwork
Quick overview This workflow runs daily and pulls recent expense deals from freee, asks Google Gemini to flag anything unusual, logs the deal and AI comment to kintone, archives a JSON summary to Google Drive, and notifies your accounting team in Chatwork.
How it works Runs every day at 9:00 on a scheduled trigger. Loads configuration values (freee company ID, kintone app details, Gemini model, Google Drive folder ID, and Chatwork room ID). Fetches up to 50 expense deals from freee for the previous day (or the last three days when run on Monday). Sends the first returned deal’s date, amount, and account item ID to Google Gemini and generates a short Japanese review comment. Creates a kintone record containing the deal details and the Gemini comment. Uploads a JSON file with the same summary into a specified Google Drive folder. Posts a message to a Chatwork room with the deal details and AI comment to notify the accounting team.
Setup Connect credentials for freee (OAuth2), Google Gemini (API key via header auth), kintone (API token via header auth), Google Drive (OAuth2), and Chatwork (X-ChatWorkToken via header auth). Update the Config values with your freee company ID, kintone subdomain and app ID, Chatwork room ID, Gemini model name, and Google Drive folder ID. Ensure your kintone app has field codes that match what the workflow sends (発行日, 金額, 取引ID, AI所見コメント, 勘定科目ID), or edit the request body to match your field codes.
Related Templates
AI Weather Forecasts with MCP Integration
Real-time Weather Forecasts with MCP Tools This n8n workflow demonstrates how to integrate real-time weather intelligen...
Google Sheets UI for n8n Workflow
Google Sheets UI for Workflow Control This n8n template provides a practical and efficient way to manage your n8n workf...
Demo Workflow - How to use workflowStaticData()
This workflow demonstrates how to use the workflowStaticData() function to set any type of variable that will persist wi...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments