Workflow integration

Driving an external workflow or automation engine from a CAP service and reacting to what it emits — triggering runs transactionally and importing the engine’s shape as a typed model.

Overview

SAP SHIPS
Node.js →

@cap-js/n8n Triggers n8n workflows from a CAP application through @n8n.process.start annotations or a programmatic n8n service, resolving credentials from local config, a Cloud Foundry binding or a BTP destination.

@cap-js/process Starts, cancels, suspends and resumes SAP Build Process Automation processes from a CAP service through entity annotations, or through a typed CDS service imported from the process definition.

Java →

com.sap.cds:cds-feature-n8n Triggers n8n workflows from a CAP Java application through @n8n.process.start annotations or a programmatic N8nService, delivered by webhook calls through the CAP outbox.

Not covered: It stops at triggering on the Node.js side. Dispatching through the transactional outbox so a workflow cannot fire on a rolled-back transaction, and importing the engine’s shape as a typed model, are what sleibach/cap-n8n adds there.

Sourcecap-js/process — repositorychecked
THE COMMUNITY ADDS

Artifacts4

4 of 4 artifacts
ArtifactSignals
CDS plugins3
@cap-js/n8nTriggers n8n workflows from a CAP application
Signals
none
@cap-js/processStarts and manages SAP Build Process Automation processes from CAP
Signals
none
cap-n8nIntegration of CAP with n8n workflows and triggers
Signals
none
Packages1
com.sap.cds:cds-feature-n8nTriggers n8n workflows from CAP Java through the outbox
Signals
none

Content10

Group by10 of 10 pieces
Piece, what it offers
Trigger an SAP Build Process Automation Workflow from CAP Using the @cap-js/process Plugin
SAP Community, Jacky Liu, BlogThe reasoningA recipe
SAP Build Process Automationで「グループ宛て承認ワークフロー」を構築する
SAP Community, takayuki_tanaka, Blog
Workflow development using SAP Cloud Application Programming Model and SAP Build Process Automation
SAP Community, Venugopal, BlogThe reasoning
Show 7 more
How to Approve/Reject Task via API in SAP Build Process Automation
SAP Community, Dan_Wroblewski, Blog
Triggering SAP Build Process Automation Processes from SAP Cloud Application Programming (CAP) Apps
SAP Community, ATheobaldt, BlogThe reasoningA recipeRunnable code
Core changed
Automate your Job Postings Using Generative AI (ChatGPT) & SAP Build Process Automation Apps
SAP Community, shivamshukla12, BlogThe reasoning
A modern workflow for SAP Cloud Integration with CAP and Azure DevOps
SAP Community, marcel_schork62, BlogThe reasoning
SAP Build Process Automation – Use Principal Propagation in Actions sample: CAP Node.js Service
SAP Community, TJe, BlogThe reasoningA recipe
Core changed
Consuming SAP Build API's made easy with SAP Cloud SDK in your CAP application
SAP Community, maheshpalavalli, BlogThe reasoningRunnable code
Core changed
Extensions for SAP Build Process Automation - Actions from CAP Node.js Service
SAP Community, TJe, Blog
Trigger an SAP Build Process Automation Workflow from CAP Using the @cap-js/process Plugin
SAP Community, Jacky Liu, BlogThe reasoningA recipe

Details

What changed — and what it makes stale2
@cap-js/n8n 0.0.1, all scopes

A second engine, n8n, gained the same first-party treatment the core had already given SAP Build Process Automation. Before it, triggering an n8n workflow from CAP meant the independent sleibach/cap-n8n plugin or a hand-wired HTTP call; after it, @n8n.process.start on an action or event, or the programmatic n8n service, triggers a workflow with credentials resolved through config, a Cloud Foundry binding or a BTP destination.

Makes stale:

Guidance that n8n triggering from CAP has no SAP-official path and is community territory only. Since August 2026 there is an SAP-published plugin alongside the independent one.

Sourcecap-js/n8n — READMEchecked
@cap-js/process 0.1.0, all scopes

The core gained a first-party way to drive SAP Build Process Automation from a CAP service. Before it, starting or managing a process meant hand-rolling calls against the workflow API through a destination; after it, a built-in generic ProcessService covers start, suspend, resume and cancel without any import, and importing a specific process additionally generates a typed CDS service with ProcessInputs, ProcessOutputs and ProcessInstance types.

Makes stale:

Guidance that calling SAP Build Process Automation from CAP is always a hand-written HTTP integration. Since March 2026 there is a first-party plugin for it — though the typed, process-specific service still does not work locally and needs a hybrid or production connection.

Sourcecap-js/process — READMEchecked
Coverage
statecore and community, CAP
assessed
relationshipcore adopted it
Sourcecap-js/process — repositorychecked Sourcecap-js/n8n — repositorychecked Sourcecap-java/cds-feature-n8n — READMEchecked
For your agent
Ref
capability:workflow-integration
JSON
/capabilities/workflow-integration.json
MCP
Connecting an agent