Skip to Content

Consume an Automated Process in a Joule Skill

Requires Customer/Partner License
Create a automated process and consume it in a Joule Skill.
You will learn
  • How to create an automated process
  • How to publish the process to the library
  • How to use the process in a Joule skill
mhplumMartin PlummerJuly 15, 2025
Created by
mhplum
July 15, 2025
Contributors
mhplum

Prerequisites

  • Access to an SAP BTP tenant with Joule and Joule Studio
  • Email has been configured for Process Automation

In order for a process to be visible in Joule Studio, the process must have been published to the library - you need to remember to release, deploy, and then publish. You publish from within the Lobby.

In this tutorial, you will create a simple automated process for sending an email. The example extends the badge scenario used in the previous tutorials but the Joule skill is not dependent on the other skills.

  • Step 1
    1. Open the SAP Build Lobby.

      The lobby is a central page for creating, accessing, and managing your projects in SAP Build.

      Lobby
    2. Choose Create.

      Create automated process

    3. Choose Automated Process then choose Next.

      Create process
    4. Choose Process, then choose Next.

      Name and description
    5. Enter InitiateSecurityChecksViaEmail for the Name, and When a badge is reported as lost or stolen, contact security via email for the Description. Choose Review.

      Create project
    6. Choose Create.

  • Step 2
    1. In the Process Automation editor, choose Create.

      Process Automation create process
    2. Enter SendEmailToSecurity and Report stolen or lost badge to security via email. Then choose Create.

      Process Automation open side panel
    3. Choose << to open the side panel.

      Process Automation variables
    4. Choose the Variables tab and then choose Configure beside Process Inputs.

    5. Choose Add Input four times and then enter:

      Name Description Required
      EmployeeID Employee ID select
      BadgeStatus Badge status select
      FirstName First name select
      LastName Last name select
      Configure Process Inputs
    6. Choose Apply.

      Process Automation save
    7. Close the side panel and choose Save.

    8. Choose the + before the End element.

      Select Email
    9. Choose Email.

    10. Enter an email address in the To field and Lost Badge in the Subject field.

      Configure Email
    11. Choose Open Mail Body Editor.

    12. Expand the Process Inputs in Value Binding. Use these to construct an email text.

      Email Editor
    13. Choose Apply.

      Process Automation finished
    14. Close the side panel and choose Save.

  • Step 3
    1. Choose Release.

      Process Automation release
    2. Choose Release.

    3. Choose Show project version to change to the released version.

      Process Automation deploy
    4. Choose Deploy. Then select your environment and choose Deploy.

      Process Automation deployed
    5. Go to the Lobby and choose the Versions tab for the project.

      Lobby publish to library
    6. Choose beside Deployed, then choose Publish to Library.

    7. In the popup, choose Publish.

      Lobby published
  • Step 4
    1. Open the SAP Build Lobby.

      Lobby
    2. Choose Create.

      Create Project joule skill
    3. Choose Joule Skill then choose Next.

      Create Project name and description
    4. Enter name BadgeSecurity and description Contact security when a badge is reported lost or stolen.

    5. Choose Review.

      Create Project review
    6. Choose Create.

  • Step 5
    1. In Joule Studio, choose Create > Joule Skill.

      Joule Studio create joule skill
      Joule Studio create joule skill popup
    2. Enter name BadgeSecurity and description Contact security when a badge is lost or stolen, then choose Create.

      Joule Studio parameters
    3. Choose the Trigger element to open the side panel and there disable Allow Joule to generate a response.

    4. Choose Parameters, then choose Configure beside Skill Inputs.

      Joule Studio parameters
    5. Choose Add Input four times and enter the following parameters:

      Name Description Required
      Employee ID Employee ID select
      BadgeStatus Badge status select
      First Name First name select
      Last Name Last name
      Joule Studio configure skill inputs
    6. Choose Apply.

      Joule Studio skill inputs
    7. Expand Skill Outputs to see that there are no outputs configured.

      Joule Studio skill outputs
    8. Close the side panel and choose Save.

  • Step 6
    1. Choose the + between Trigger and End.

      Joule Studio select process
    2. Choose Run Process.

      Joule Studio browse processes
    3. Choose Browse All Processes.

      Joule Studio add process
    4. Select your SendEmailToSecurity process and choose Add.

      Joule Studio inputs
    5. Choose the Inputs tab and choose the BadgeStatus field to open the Skill Content panel.

    6. Select BadgeStatus in the Skill Content panel to map to the input parameter.

    7. Similarly map the rest of the fields with the corresponding inputs.

      Joule Studio map inputs
    8. Close the side panel and choose Save.

  • Step 7
    1. Choose the + before End.

      Joule Studio send message
    2. Choose Send Message.

      Joule Studio open message editor
    3. Choose Open Message Editor.

      Joule Studio message configuration
    4. Enter:

      • Security has been Informed for the Title.
      • Badge status ${parameter} for employee ${parameter} has been reported to security for the Text. Replace parameter with the relevant parameter - use data mapping, <>, for entering the parameters.
      Joule Studio message configured
    5. Choose Save.

    6. Close the side panel and choose Save.

    7. Choose End element and see that you have not defined any skill outputs.

  • Step 8
    1. Choose Release.

      Joule Studio release
    2. In the Release Project popup, choose Release.

      Joule Studio show project version
    3. Choose Show project version to change to the Released version.

      Joule Studio deploy
    4. Choose Deploy.

    5. Select your environment and then choose Deploy.

  • Step 9
    1. Open the SAP Build Lobby

    2. Choose Control Tower, then choose the Environments tile.

    3. Choose your environment.

    4. Choose the Joule tab.

      Environment
    5. Choose Launch.

    6. Choose New Conversation.

      Joule new conversation
    7. Enter Please report to security that the old badge of John Doe 1003764 has the status LOST

    8. Choose Send.

      Joule conversation
    9. You can check if the process has been called by going to Monitoring > Process and Workflow Instances.

      Monitoring
  • Step 10

    To make your automated process usable in a Joule skill, you need to choose "Publish to Library". Where do you do this?

Back to top