Building and Deploying Custom Joule Skills for a CAP-Based Fiori Application
Share

Building and Deploying Custom Joule Skills for a CAP-Based Fiori Application and Integrating with SAP Build Work Zone

In this tutorial, we will guide you through the process of creating a custom Joule skill tailored to a CAP (Cloud Application Programming) based Fiori application. You’ll learn how to deploy this skill and enable Joule functionality within SAP Build Work Zone, enabling intelligent, conversational interaction within your enterprise apps.

Step 1: Configure a Destination in Your SAP BTP Subaccount

Begin by setting up a destination in your SAP BTP subaccount where Joule Studio is subscribed. This destination should point to the endpoint of your CAP service.

Ensure you add the following property in the additional settings:

sap.processautomation.enabled = true

 

sap.applicationdevelopment.actions.enabled = true

 

sap.build.usage = CAP

This configuration allows SAP Build to consume the service.

ranjeetkumar07_0-1761058436137.png

 

Step 2: Add Destination in the Control Tower

Next, go to the Control Tower section within the SAP Build Process Automation cockpit and add the destination you just created.

ranjeetkumar07_1-1761058436150.png

 

Step 3: Start a New Action Project

Navigate to the Actions tab and click Create to initiate a new action project.

ranjeetkumar07_2-1761058436160.png

 

Step 4: Choose SAP Cloud Application Programming Model

Since your action will interact with a CAP service, select SAP Cloud Application Programming Model as the project type.

ranjeetkumar07_3-1761058436175.png

 

Step 5: Select and Configure Service Endpoints

  • A list of available service endpoints from your CAP application will be displayed. Pick the desired endpoint and complete the necessary configuration.

ranjeetkumar07_4-1761058436201.png

 

  • Click on Next
  • Give You Project Name

ranjeetkumar07_5-1761058436212.png

 

 

  • Create Action for the ODATA Service
  • Select required endpoint and configure it.

  

ranjeetkumar07_6-1761058436224.png

 

  • Test the Endpoint with destination and see the output

ranjeetkumar07_7-1761058436241.png

 

 

  • Create similar action for the all department data and test it

 

ranjeetkumar07_8-1761058436257.png

 

 

Step 6: Build and Deploy Your Joule Skill

  • Click Create to set up the action project. Then, select the Joule Skill tile and create the skill

ranjeetkumar07_9-1761058436267.png

 

  • Open the above skill and again create joule skill and give name and description

ranjeetkumar07_10-1761058436273.png

 

  • Open he above skill and add action like below

ranjeetkumar07_11-1761058436279.png

 

  • Configure destination for this action

 

  • Configure the Output Variable for this action

ranjeetkumar07_12-1761058436286.png

 

  • Set the output variable on clicking on End
  • Create similar joule skill for department by following above steps

 

  • Once you finish, Save, Release

 

ranjeetkumar07_13-1761058436298.png

 

 

 

  • After Releasing Click on Deploy and choose the environment that you want

 

ranjeetkumar07_14-1761058436304.png

 

Step 7: Enable Shared Access

  • Go to home page and click on Control Tower
  • Choose Environment
  • Select Environment that we choose for our Joule Skill you will see your deployed skill there

 

ranjeetkumar07_15-1761058436313.png

 

  • Click on Setting and Enable shared option

Step 8: Connect Joule with SAP Build Work Zone

At the global account level, access the Formations area. Select Include Systems and add SAP Build Work Zone from the appropriate subaccount.

Activate these features:

  • Enable Joule Icon in Integrated System

ranjeetkumar07_16-1761058436328.png

 

Step 9: Confirm Integration and Activate Joule

Verify your setup under System Landscape → Formation.

Then, log into your SAP Build Work Zone site.

Step 10: Validate Your Skills

Open your Work Zone site to see the Joule Icon appear at the top.

ranjeetkumar07_17-1761058436343.png

 

Test your deployed skill by typing queries related to your CAP application and observe how Joule responds.

ranjeetkumar07_18-1761058436361.png

 

ranjeetkumar07_19-1761058436370.png

 

 

Summary

Integrating custom Joule Skills into SAP Build Work Zone allows you to embed conversational AI directly within your business applications. This guide demonstrated how to connect a CAP-based Fiori app, configure necessary destinations, deploy custom skills, and enable Joule for seamless interaction.

By following these steps, you enable end users to engage naturally with enterprise data and processes—making your applications smarter, more interactive, and easier to use.

 

 

  Read More Technology Blog Posts by Members articles 

#abap

By ali