Add n8n procurement vendor-risk cookbook#30
Draft
s-jag wants to merge 3 commits intoparallel-web:mainfrom
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the full n8n procurement vendor-risk cookbook under
typescript-recipes/parallel-n8n-procurement.This now includes both parts of the end-to-end app:
n8n-workflows/workflow-combined.json: canonical single-import n8n workflow.dashboard/: live-data Next.js dashboard for overview, attention queue, portfolio manager, feed, Observe topology, and vendor detail pages.The dashboard is now read/write for portfolio add, CSV upload, and reset. Runtime reads still come from the
procurement-dashboard-snapshotwebhook, and writes go through the local Next.jsPOST /api/portfolio/mutationproxy to the n8nprocurement-portfolio-mutationwebhook. Next sendsx-procurement-dashboard-token; n8n validates it againstPROCUREMENT_DASHBOARD_WRITE_TOKENbefore writing to Google Sheets.Details
workflow-combined.jsonas the primary import path; individual workflow JSON files remain advanced/reference artifacts.website/cookbook.json.PROCUREMENT_DASHBOARD_SNAPSHOT_URL.PROCUREMENT_DASHBOARD_MUTATION_URLandPROCUREMENT_DASHBOARD_WRITE_TOKEN.Vendors/Registry, validates the shared secret, builds normalized rows, writes both tabs, and returns a mutation result.Snapshot: Build Payloadso theprocurement-dashboard-snapshotwebhook returns the dashboard view model derived from Registry, Audit Log, and Monitors tabs.relationship_owner,region,risk_score,next_research_date,last_synced_at, anddashboard_managed.The combined workflow now has 56 nodes, 49 connection sources, 6 webhook triggers, 2 schedule triggers, and zero
executeWorkflow/executeWorkflowTriggernodes.Validation
Main recipe:
npm ci npm run check npm test npm run generate:workflowsDashboard:
cd dashboard npm ci npm run check npm run build npm run test:e2eObserved results:
package-lock.json.dashboard/package-lock.json.POST /api/portfolio/mutation.git diff --checkpassed.node_modules,.next,dist, and Playwrighttest-resultsartifacts are not staged.Before Marking Ready
n8n-workflows/workflow-combined.jsoninto a real n8n Cloud workspace.procurement-dashboard-snapshotandprocurement-portfolio-mutationwebhooks.