{"product_id":"n8n-workflow-polish-contractor-due-diligence-vat-krs-ai","title":"n8n Workflow: Polish Contractor Due Diligence (VAT \u0026 KRS) AI","description":"\u003ch3\u003eVerify Polish contractors fast: VAT \u0026amp; KRS due diligence with AI in n8n\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow lets you run a chat-based due-diligence check for Polish contractors by automatically querying the Ministry of Finance VAT whitelist (VAT status + official details + bank accounts) and, when available, the KRS register—then returns a clear risk verdict and a readable summary.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cp\u003eBuilt for practical \u003cstrong\u003ePolish contractor due diligence\u003c\/strong\u003e, the workflow works like this:\u003c\/p\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChat request → identifier extraction:\u003c\/strong\u003e You ask a question in the n8n chat (typically including a Polish \u003cstrong\u003eNIP\u003c\/strong\u003e, and optionally a \u003cstrong\u003ebank account number\u003c\/strong\u003e). The workflow uses an Anthropic chat model with conversation memory to extract the NIP and any bank account data needed.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eVAT whitelist lookup (Ministry of Finance):\u003c\/strong\u003e It queries \u003cstrong\u003ewl-api.mf.gov.pl\u003c\/strong\u003e to retrieve the contractor’s VAT status, registered details, and official bank accounts for today’s date.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOptional KRS enrichment:\u003c\/strong\u003e If the VAT response contains a \u003cstrong\u003eKRS number\u003c\/strong\u003e, it queries the Polish \u003cstrong\u003eNational Court Register (KRS)\u003c\/strong\u003e API (\u003cstrong\u003eapi-krs.ms.gov.pl\u003c\/strong\u003e) to fetch legal form and management\/shareholder information.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBank account matching:\u003c\/strong\u003e If you provided an account number, it compares it against \u003cstrong\u003eaccountNumbers\u003c\/strong\u003e from the VAT whitelist response to determine whether it matches.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStructured risk verdict + chat output:\u003c\/strong\u003e The workflow produces an overall verdict (\u003cstrong\u003eOK\u003c\/strong\u003e, \u003cstrong\u003eCHECK_FIRST\u003c\/strong\u003e, or \u003cstrong\u003eDO_NOT_PAY\u003c\/strong\u003e) with key findings, then formats it into readable chat output while preserving the raw report data.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eProcurement teams screening Polish suppliers before contract onboarding.\u003c\/li\u003e\n  \u003cli\u003eAccounts payable workflows validating vendor VAT status and official bank details.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators building compliance checks for merchants\/contractors across Poland.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers adding a reusable “VAT \u0026amp; KRS check” chat capability to their n8n projects.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8nn8n-nodes-langchainchat trigger\u003c\/strong\u003e (chat-based interaction)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8nn8n-nodes-langchainlm chat anthropic\u003c\/strong\u003e (Anthropic model with conversation memory)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8nn8n-nodes-langchainagent\u003c\/strong\u003e and \u003cstrong\u003ecode\u003c\/strong\u003e nodes for processing\/report structure\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHTTP Request\u003c\/strong\u003e nodes to \u003cstrong\u003ewl-api.mf.gov.pl\u003c\/strong\u003e and \u003cstrong\u003eapi-krs.ms.gov.pl\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003eOutbound HTTP access required from n8n to both Polish APIs; configure Anthropic credentials (or swap the model node to another supported provider).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45785641910451,"sku":"N8N-17917","price":19.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/2Oe1OHVSVaz_Gfd5PaE4Y_2CgyoILt.png?v=1786180053","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-polish-contractor-due-diligence-vat-krs-ai","provider":"N8N Commerce","version":"1.0","type":"link"}