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

Estimated read time 6 min read

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.

 

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.

 

Step 3: Start a New Action Project

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

 

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.

 

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.

 

Click on NextGive You Project Name

 

 

Create Action for the ODATA ServiceSelect required endpoint and configure it.

  

 

Test the Endpoint with destination and see the output

 

 

Create similar action for the all department data and test it

 

 

 

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

 

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

 

Open he above skill and add action like below

 

Configure destination for this action

 

Configure the Output Variable for this action

 

Set the output variable on clicking on EndCreate similar joule skill for department by following above steps

 

Once you finish, Save, Release

 

 

 

 

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

 

 

Step 7: Enable Shared Access

Go to home page and click on Control TowerChoose EnvironmentSelect Environment that we choose for our Joule Skill you will see your deployed skill there

 

 

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

 

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.

 

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

 

 

 

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.

 

 

​ Building and Deploying Custom Joule Skills for a CAP-Based Fiori Application and Integrating with SAP Build Work ZoneIn 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 SubaccountBegin 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 = CAPThis configuration allows SAP Build to consume the service. Step 2: Add Destination in the Control TowerNext, go to the Control Tower section within the SAP Build Process Automation cockpit and add the destination you just created. Step 3: Start a New Action ProjectNavigate to the Actions tab and click Create to initiate a new action project. Step 4: Choose SAP Cloud Application Programming ModelSince your action will interact with a CAP service, select SAP Cloud Application Programming Model as the project type. Step 5: Select and Configure Service EndpointsA list of available service endpoints from your CAP application will be displayed. Pick the desired endpoint and complete the necessary configuration. Click on NextGive You Project Name  Create Action for the ODATA ServiceSelect required endpoint and configure it.   Test the Endpoint with destination and see the output  Create similar action for the all department data and test it   Step 6: Build and Deploy Your Joule SkillClick Create to set up the action project. Then, select the Joule Skill tile and create the skill Open the above skill and again create joule skill and give name and description Open he above skill and add action like below Configure destination for this action Configure the Output Variable for this action Set the output variable on clicking on EndCreate similar joule skill for department by following above steps Once you finish, Save, Release    After Releasing Click on Deploy and choose the environment that you want  Step 7: Enable Shared Access Go to home page and click on Control TowerChoose EnvironmentSelect Environment that we choose for our Joule Skill you will see your deployed skill there  Click on Setting and Enable shared optionStep 8: Connect Joule with SAP Build Work ZoneAt 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 Step 9: Confirm Integration and Activate JouleVerify your setup under System Landscape → Formation.Then, log into your SAP Build Work Zone site.Step 10: Validate Your SkillsOpen your Work Zone site to see the Joule Icon appear at the top. Test your deployed skill by typing queries related to your CAP application and observe how Joule responds.   SummaryIntegrating 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 

#SAP

#SAPTechnologyblog

You May Also Like

More From Author