Compare supplier quote PDFs on tax and shipping with Claude Haiku and Slack
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs when someone submits an n8n form (“Compare quotes”). Along the way it connects Anthropic Chat Model and Slack.
How it runs
Trigger: When someone submits an n8n form (“Compare quotes”).
- Config (Edit Fields (Set)): sets 3 fields: tax_rate, timezone, today
- One item per PDF (Code): runs custom JavaScript code
- Extract PDF text (Extract from File): extracts data from a file (pdf)
- Check text was found (Code): runs custom JavaScript code
- Has text? (If): checks a condition and branches into true / false
- Quote amounts and terms (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Haiku 5.
- Mark as unreadable (Code): runs custom JavaScript code
- Verify quotes and add tax (Code): runs custom JavaScript code
- Collect results (Merge): merges the data from its input branches
- Rank and build table (Code): runs custom JavaScript code
…plus 2 more steps. See the full node list below.
Services it uses
Other Anthropic + Slack templates (204)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Extract from File
n8n-nodes-base.extractFromFile - If
n8n-nodes-base.if - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Merge
n8n-nodes-base.merge - Slack
n8n-nodes-base.slack - n8n Form
n8n-nodes-base.form
From the author
Quick overview This workflow lets you upload multiple supplier quote PDFs via an n8n form, extracts key pricing and terms with Anthropic Claude Haiku, normalizes totals to include tax and shipping, ranks comparable quotes, and posts a summary to Slack while…