Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / E-Mail-Automatisierung

E-Mail-Automatisierung

Extract consultant hours from PDF timesheets with Azure OpenAI and Excel

When a chat message arrives, it handles email with OpenAI / ChatGPT and Azure OpenAI using Azure OpenAI, Data Table, Excel, Outlook.

Was sie bewirkt

## Extract consultant hours from PDF timesheets to Excel and an n8n Data Table Upload PDF timesheets in the n8n chat and get onsite, remote, and unknown hours per consultant, written to Excel and an n8n Data Table. ## Who's it for Project managers, consulting teams, and controlling staff who collect timesheets as PDFs and want to stop typing hours into spreadsheets by hand. ## How it works 1. Upload one or more PDF timesheets in the chat. 2. Each PDF becomes its own item and is converted to plain text. 3. An AI agent classifies every entry as onsite, remote, or unknown and returns the consultant's name with total hours per category as JSON. 4. One row per timesheet is appended to an Excel worksheet and saved to an n8n Data Table. 5. An Outlook email confirms that processing is finished. ## How to set up 1. Add credentials for the chat model, Microsoft Excel, and Microsoft Outlook. 2. Create an Excel workbook with the columns name, onsite, remote, unknown and select it in the Excel node. 3. Create a Data Table with the same four columns and select it in the Insert row node. 4. Enter your own email address in the Outlook node. 5. Open the chat, upload a test PDF, and check the result. ## Requirements - n8n version with Data Tables - Account for an OpenAI-compatible or Azure OpenAI model - Microsoft 365 account for Excel and Outlook - PDFs with a text layer (scanned files need OCR first) ## How to customize - Swap the chat model for OpenAI, Anthropic, or another provider. - Adjust the categories in the AI Agent system prompt. - Replace Excel and Outlook with Google Sheets and Gmail. AI results can contain errors. Review the extracted hours before using them for billing.

Die Schritte

  1. Get binaries out of chat
  2. Extract data from pdfs
  3. When chat message received
  4. JSON Parser
  5. Timesheet Analyzer Agent
  6. Insert time recordings
  7. Send a message with excel time sheet
  8. Append timesheet data to sheet
  9. Companion Model

Ähnliche Automatisierungen