The flow
Starts it 1Model 3Logic 4Service 9
The steps in the order they run, from what starts it.
- 1Invoice Field SchemaOutput Parser StructuredModel
- 2LLMLm Chat GroqModel
- 3Monitor InboxGmail triggerStarts it
- 4AI Extract InvoiceChain LlmModel
- 5Fetch Email AttachmentsGmailService
- 6Fetch Tax RulesNotionService
- 7Format AI OutputSetLogic
- 8Lookup PO DetailsGoogle SheetsService
- 9Read PDF ContentExtract From FileService
- 10Consolidate Validation DataMergeLogic
- 11Compliance EngineCodeLogic
- 12Log Audit EntryNotionService
- 13Check Compliance StatusIfLogic
- 14Slack: Notify ApprovalSlackService
- 15Slack: Alert AP Team (Block)SlackService
- 16Archive to Google DriveGoogle DriveService
- 17Email: Notify Supplier of RejectionGmailService
How it's built
- Starts on
- An arriving email
- Steps
- 17, with 1 branch
- Size
- Medium: a working afternoon
- Connects to
- Gmail, Google Drive, Google Sheets, Notion, Slack
- Model
- Groq
Questions
What does it need to run?
An n8n account, plus your own Gmail, Google Drive, Google Sheets, Notion and Slack accounts, and a key for Groq. You connect your own accounts after importing it; none are included.
What starts it?
It starts on an arriving email.
Does it use AI?
Yes. It calls Groq. Model calls are billed by the provider, not by n8n.
How long does it take to set up?
Plan an afternoon. 17 steps is enough that you should read each one before running it.
How do I import it?
Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.
Before you run itNothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 17 steps before you point it at anything that matters.