SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗
Logout

6 - Trigger Process from Your App

Enable your app to call the SAP Build Process Automation API in order to trigger your process, as part of the SAP Build CodeJam.

Overview

🎓 beginner 15 min. SAP BuildBeginnerSAP Build AppsSAP Build Process Automation

You will learn

  • How to create a destination for SAP Build Process Automation
  • How to trigger a process from an SAP Build Apps application
Daniel Wroblewski D Daniel Wroblewski September 28, 2025
Created by December 12, 2024
Contributors

Prerequisites

Prerequisites

Steps

Step 1 Create destination for SAP Build Process Automation

To connect Build Apps to Process Automation a destination needs to be created for the Build Process Automation from the SAP BTP Cockpit.

  1. Go to your SAP BTP cockpit, enter your trial subaccount, and on the left select Instances and Subscriptions.

  2. Under Instances, find your instance of the SAP Build Process Automation service.

    Instances
    Instances

    On the right, click the three dots, and then select Create Service Key.

    Create service key
    Create service key

  3. Enter the name for service key as spa-key and choose Create.

    Key name
    Key name

    The service key is created and you can view the credentials by clicking View.

    key credentials
    key credentials

    When viewing the service key, make note of the following, which you’ll need for the destination.

    • api
    • clientid
    • clientsecret
    • url

    These values are needed next for the Destination Configuration.

    Credentials
    Credentials

  4. Download the destination definition.

    Click sap_process_automation_service_user_access to go to the GitHub download page for the destination template, and then click the download button in the GitHub menu.

    Download
    Download

  5. In the SAP BTP cockpit, click Connectivity > Destinations.

    Open destinations
    Open destinations

    Click Import Destination, and then select the sap_process_automation_service_user_access file you downloaded.

    New destination
    New destination

    The draft destination will be filled in except for the credentials and URLs.

    Add destination
    Add destination

  6. Enter values for the following fields, based on the service key information you saved earlier.

    Destination FieldValue from Service Key
    Client IDclientid
    Client Secretclientsecret
    Token Service URLurl + /oauth/token

    The skeleton destination you imported assumes you are using US10 region and setting the URL field accordingly. Double-check the URL field in the destination, which should be the same as the api field in your service key.

    Select Use default client trust store.

    Click Save.

If you click Check Connection, you will get a 401 response code. This is OK and you have successfully created the destination

Step 2 Publish your process
+
Step 3 Enable your process
+
Step 4 Create trigger for process
+
Step 5 Add reset logic
+
Step 6 Test app
+
Step 7 Further study
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Create destination for SAP Build Process Automation 2. Publish your process 3. Enable your process 4. Create trigger for process 5. Add reset logic 6. Test app 7. Further study

Learn more →