# Integration with SAP Build

> Integration with SAP Build - Connects DataRobot deployments to SAP Build Process Automation.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-05-06T18:17:09.948270+00:00` (UTC).

## Primary page

- [Integration with SAP Build](https://docs.datarobot.com/en/docs/get-started/how-to/biz-accelerators/sap-build.html): Full documentation for this topic (HTML).

## Related documentation

- [Get started](https://docs.datarobot.com/en/docs/get-started/index.html): Linked from this page.
- [How-tos](https://docs.datarobot.com/en/docs/get-started/how-to/index.html): Linked from this page.
- [Business solutions](https://docs.datarobot.com/en/docs/get-started/how-to/biz-accelerators/index.html): Linked from this page.
- [Predictions](https://docs.datarobot.com/en/docs/classic-ui/predictions/realtime/code-py.html#prediction-api-scripting-code): Linked from this page.

## Documentation content

[SAP Build](https://www.sap.com/products/technology-platform/low-code.html) is a low-code platform for visual app development and process automation. SAP Build Process Automation provides a suite of tools to easily automate business processes including data extraction, processing, and routing, with built-in tools like Intelligent Robotic Process Automation (IRPA) bots.

To connect your DataRobot deployments to SAP Build Process Automation, use the Custom Script function in Build Process Automation.

In the example process below, the “extract invoice” step parses a PDF invoice with defined elements in the “data” dataArray, and is given the variable name `doxData`. These are passed as inputs to the `detectAnomaly` process.

In the `detectAnomaly` process, the following elements call the DataRobot API using data from the previous step, and return the API response to be used downstream. To add a custom script, select it from the Automation Details Pane and drag on to the canvas

Inside the custom script, read in your data from your input and call the DataRobot API with the input data as payload.

To make the API call:

- The url is the prediction endpoint from your DataRobot deployment
- DataRobot-Key and Authorization are your API key and bearer token from the deployment, respectively. These can be found under the Predictions tab in your deployment.

To complete the script, name the output variable that will return the DataRobot API response. Below, it is named `options`.

Finally, add a step to `Call Web Service` from the Automation Details pane. Select as input the variable name for your output from the Custom Script ( `options` below). Again, define your output variable from the `Call Web Service` step ( `obj`) below. The response object from the DatraRobot API will now be available as input to subsequent steps.
