{"product_id":"n8n-cash-position-forecast-workflow-webhook-apis","title":"n8n Cash Position Forecast Workflow (Webhook + APIs)","description":"\u003ch3\u003eProject cash flow with an n8n cash position forecast—powered by banking, invoices, and payment schedules\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n Cash Position Forecast Workflow\u003c\/strong\u003e exposes a \u003cstrong\u003ePOST webhook\u003c\/strong\u003e that collects banking balances, outstanding invoices, and upcoming payment schedules via HTTP APIs—then returns a \u003cstrong\u003eday-by-day cash-position projection\u003c\/strong\u003e (with optional FX enrichment) as JSON, including a \u003cstrong\u003edata-source status audit trail\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives forecast requests:\u003c\/strong\u003e Listens on a webhook endpoint for POST requests (the “cash-forecast” path).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates inputs:\u003c\/strong\u003e Checks request fields such as \u003cstrong\u003ehorizon days\u003c\/strong\u003e and \u003cstrong\u003ebase currency\u003c\/strong\u003e, then prepares downstream endpoint URLs and parameters.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches banking data:\u003c\/strong\u003e Calls a \u003cstrong\u003ebanking API over HTTP\u003c\/strong\u003e to retrieve current balances and transaction context for the requested accounts.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches accounts receivable:\u003c\/strong\u003e Calls an \u003cstrong\u003eaccounts-receivable API over HTTP\u003c\/strong\u003e to pull outstanding invoices and expected collection timing within the forecast horizon.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches upcoming outflows:\u003c\/strong\u003e Calls a \u003cstrong\u003epayment-schedules API over HTTP\u003c\/strong\u003e for expected outflows (e.g., AP, payroll, taxes, and recurring payments), and can optionally call an \u003cstrong\u003eFX\/enrichment API\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAggregates \u0026amp; projects cash:\u003c\/strong\u003e Combines the results into a daily forecast, computes summary metrics, and returns the JSON response with an HTTP status indicating \u003cstrong\u003efull or partial data availability\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS operators forecasting runway by combining bank balances, invoice collections, and scheduled payments.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers generating an API-driven cash forecast for finance dashboards and internal tools.\u003c\/li\u003e\n  \u003cli\u003eTeams needing visibility into daily liquidity risk across a configurable horizon in a single webhook call.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n workflow nodes:\u003c\/strong\u003e code, wait, webhook, sticky note, http request, respond to webhook.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput:\u003c\/strong\u003e Forecast JSON with a \u003cstrong\u003edata-source status audit trail\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e HTTP APIs for banking, accounts receivable, payment schedules, and optional FX\/enrichment (replace placeholder httpbin.org URLs with real endpoints).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46232399347891,"sku":"N8N-21061","price":7.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/PquKTKJd8vriujEGEluvW_4AhGbJXm.png?v=1792141736","url":"https:\/\/buyflowscripts.com\/products\/n8n-cash-position-forecast-workflow-webhook-apis","provider":"N8N Commerce","version":"1.0","type":"link"}