For the complete documentation index, see llms.txt. This page is also available as Markdown.

Setting up a First Value Stream

Create a Hello World value stream that sends a feedback form and completes when the recipient submits their response.

In this trail, you create a value stream that responds to a Hello World event from a sender. The value stream sends a feedback form to the sender and completes once they submit their response. The sender can be a customer from whom you are collecting feedback.

Work through each section in order from top to bottom.

Building the initial part of the value stream

A value stream starts with a trigger event, followed by process steps. External events act as triggers and are sent to an event-receiver endpoint. Process steps are actions that run in sequence to complete the flow.

1

Create a Hello World event

Create a new Hello World event with hello_world as the event name. The event name is the technical ID.

In VSM, go to Events -> Event Registry. For details, see the Event Registry and Events Authentication and Configuration guides.

Hello World event in Event Registry
Hello World event in Event Registry
2

Create a value stream with the Hello World trigger

Create a new value stream that uses the hello_world event as a trigger.

  • Go to the Value Streams dashboard and select Create value stream

  • Enter Hello World as the process name

  • Select the Hello World event as the trigger

  • Select Publish to save your changes

When you publish, your changes are saved but the process is not active yet. To activate the process, use the active/inactive toggle in the value stream dashboard.

For details on how to create a value stream, see Creating a Value Stream.

Hello World value stream with trigger configured
Hello World value stream with the trigger configured

Sending an event to trigger the value stream

Before you continue, send data to VSM to complete the event connection. You can use Postman or Celonis Action Flows.

Postman

1

Send the Hello World event

Get the Webhook Target URL and HMAC Secret and send the Hello World event following the instructions in Events Authentication and Configuration. The guide includes a Postman collection that shows how to authenticate the request by generating the HMAC signature.

Send a POST request with {"hello" : "world"} in the body. The endpoint responds with 200 OK and a confirmation payload:

{
    "status": "SUCCESS",
    "message": "Request successfully handled. Request ID: req_M4XnFkQm2aPUTGqiteyN",
    "request_id": "req_M4XnFkQm2aPUTGqiteyN"
}
2

Note the request ID

Note your request_id. You can use it later to search for the process in VSM.

Celonis Action Flows

If you are a Celonis customer, you can trigger a value stream from EMS using the Action Flow module. A public Emporix Orchestration Engine module enables you to start value streams.

1

Add the Emporix module

Add the Emporix module to your Action Flow.

2

Configure the connection

Set up the connection to include the source, secret, and COP API client and secret following the instructions in Configuring a connection between VSM and Make modules.

3

Send the Hello World payload

  • Select the Hello World event type

  • Send { "hello" : "world" } as the payload

  • Trigger the action flow

The endpoint responds with 200 OK and a confirmation payload:

{
    "status": "SUCCESS",
    "message": "Request successfully handled. Request ID: req_M4XnFkQm2aPUTGqiteyN",
    "request_id": "req_M4XnFkQm2aPUTGqiteyN"
}
4

Note the request ID

Note down your request_id. You can use it later to search for the process in VSM.

Verifying receipt of the message in the Debugger

Verify that your payload was received and that it activated a new value stream. Use the Value Streams Debugger.

1

Open debug mode

Go to Value Streams and open debug mode for your Hello World value stream. Open the process and select Go to Debugger (the bug icon). If the request worked, you see the details of the instance run.

Hello World value stream in debug mode
Hello World value stream in debug mode
2

Check the instance logs

Open the instance and check the logs to confirm the data was received as expected.

Instance logs in the debugger
Instance logs in the debugger

Creating a feedback form

After you create and validate the trigger event, add a process step in the Hello World value stream. The step includes a form for the sender to submit feedback.

Use the Form builder integrated with VSM. For details, see the Forms documentation.

1

Create the form

Create a new form named Feedback.

New Feedback form in Form builder
New Feedback form in Form builder
2

Add a Sentiment dropdown

Add a dropdown component and label it Sentiment in the Display tab.

Sentiment dropdown in the Display tab
Sentiment dropdown in the Display tab
3

Configure dropdown values

In the Data tab, configure three Data Source Values:

  • happy

  • sad

  • indifferent

Sentiment dropdown data source values
Sentiment dropdown data source values
4

Mark the dropdown as required

In the Validation tab, mark the dropdown field as Required.

Required validation for the Sentiment field
Required validation for the Sentiment field
5

Add name fields

Save the configuration, then add two text fields:

  • First Name – mark as required in the Validation tab

  • Last Name

First Name and Last Name fields on the form
First Name and Last Name fields on the form
6

Save and preview the form

Save the form and preview it to confirm all fields are present.

Feedback form preview
Feedback form preview

Creating a skeleton scenario process step

1

Update the event payload with replyTo

Update the event you sent previously to include a replyTo field with an email address:

2

Send the updated event

Send the updated event to VSM using Postman or Celonis Action Flow, as in the previous section.

3

Verify the data in the debugger

Open the debugger and confirm the data was received.

Debugger showing received event data
Debugger showing received event data
4

Copy the Instance ID

Copy the Instance ID. You use it in the next steps.

Instance ID in the debugger
Instance ID in the debugger
5

Add a new process step

Go to your Hello World value stream and add a new process step. For details, see Creating a Value Stream.

6

Create a new scenario

In the new process step, select Create New Scenario.

Create New Scenario option in the process step
Create New Scenario option in the process step

A new tab opens with a scenario step template in Make, including a starting module and a completion event.

Ensure you are working in the correct Make organization. The name should reflect your tenant name in VSM. Hover over the Make sidebar to see the organization name at the top. Then select the template directly or choose Start guided setup.

7

Name the scenario

Add a name for the scenario, for example Send a Survey on Hello World. Save the scenario to keep the name.

8

Configure the Trigger Event webhook

Add a webhook name in the Trigger Event module.

The webhook connection is established automatically. If you need to set it up manually, select Add next to the connection field in the Webhook module and provide the Connection Name, Tenant ID, and Event-Receiver Secret.

Manual webhook connection configuration in Make
Manual webhook connection configuration in Make

The tenant ID is the first part of the value stream ID. You can find it in two places:

  • VSM -> Admin -> Settings – displayed next to the Make Team name

Tenant ID in VSM Admin settings
Tenant ID in VSM Admin settings
  • The URL of your value stream instance

Tenant ID in the value stream instance URL
Tenant ID in the value stream instance URL
9

Create the Hello World Feedback Sent event

The template requires a completion event as the last Make scenario step. Create a new event in the Management Dashboard. In VSM, go to Events -> Event Registry and create an event with:

  • Display nameHello World Feedback Sent

  • Event namehello_feedback_sent

Hello World Feedback Sent event in Event Registry
Hello World Feedback Sent event in Event Registry
10

Configure the Completion Event connection

In Make, open the Completion Event module and select the connection.

If the connection is not established yet, configure it in the module:

  • Select Add next to the Connection field

  • Provide the Event-Receiver Endpoint and Environment data

Completion Event connection configuration in Make
Completion Event connection configuration in Make

Use the endpoint data from Admin settings in VSM. Use the environment data from your COP API keys in the Developer Portal.

COP API keys in the Developer Portal
COP API keys in the Developer Portal
11

Select the event type

Select the newly created event as the Event Type. If the event is not visible, refresh the list.

Hello World Feedback Sent selected as Event Type
Hello World Feedback Sent selected as Event Type
12

Save the scenario

Select Save. The scenario is created. Confirm the name is Send a Survey on Hello World.

13

Extract the replyTo email address

Use the Set Variable from Process Context module to extract the replyTo email address from the payload and assign it to a variable named email.

  • Add the Set Variable from Process Context module between the Trigger Event and Completion Event modules

  • Assign the data from the Trigger Event

  • Select the Hello World value stream

  • Use the Instance ID from the debugger (see step 4) as the Example Instance. Select the ID from the drop-down list. The ID at the top is from the latest instance

  • Enter email in the Variable Name field

Set Variable from Process Context module configuration
Set Variable from Process Context module configuration
14

Update the Completion Event payload

In the Completion Event module, select Map as JSON String in the Payload field and add a JSON string. Reference the email from the Set Variable from Process Context module, for example: { "email" : "{{3.email}}"}.

Completion Event payload with email variable
Completion Event payload with email variable
15

Save the scenario in Make

Make sure to save your updated Make configuration.

16

Add the scenario to the value stream

In VSM, go to your Hello World value stream and add the Send a Survey on Hello World scenario as the next process step. If the scenario is not visible in the drop-down list, refresh VSM.

Send a Survey on Hello World scenario added as a process step
Send a Survey on Hello World scenario added as a process step
17

Publish and activate the value stream

Select Publish, then activate the new version of the Hello World value stream.

18

Confirm the value stream status

Confirm the value stream is activated and has a validated status.

Hello World value stream with validated status
Hello World value stream with validated status

An invalid status is usually caused by a missing webhook on the trigger module or an improperly configured completion module. VSM revalidates each value stream with every publish.

Verifying if the scenario step works

1

Open the scenario in Make

Go to your scenario editor in Make. If you closed the tab, open the scenario from the process step in the Hello World value stream.

Opening the scenario from the value stream process step
Opening the scenario from the value stream process step
2

Run the scenario once

To verify the step before activating the scenario, select Run once.

Run once option in Make
Run once option in Make

You see a confirmation that the scenario loaded successfully and is waiting for data.

3

Resend the event and check the result

Confirm there are no errors in your request, then resend the event using Postman or Celonis Action Flow (as in step 2 of Creating a skeleton scenario process step). Check that the scenario works as expected. You see operation details in the Set Variable from Process Context module. After you send the request, the scenario initializes and completes.

Successful scenario completion in Make
Successful scenario completion in Make
4

Verify the debugger logs

Optionally, open the debugger and confirm the new instance includes logs for the process step you added. If there are errors in your Make scenario, navigate to the scenario logs in Make from the process step in the debugger.

Debugger showing the new process step
Debugger showing the new process step

Update the scenario process step to email the feedback survey

Use the Feedback form you created earlier and email it to the replyTo address. Pre-populate one of the fields. The recipient opens the form using a Magic Link. The value stream waits until the Feedback form is submitted (saved as draft) before completing.

1

Create the Hello World Feedback Provided event

In VSM, go to Events -> Event Registry and create a new event with:

  • Display name – Hello World Feedback Provided

  • Event namehello_feedback_provided

The event captures feedback submitted by the recipient. All submitted form data is enclosed in this event.

Hello World Feedback Provided event in Event Registry
Hello World Feedback Provided event in Event Registry
2

Open the scenario in Make

Go to your Send a Survey on Hello World scenario in Make.

3

Add the Create Form Magic Link module after the Set Variable from Process Context module.

4
  • Select the Feedback form

  • Set Assign Contact to no – you use the email address from the event

  • Select Hello_feedback_provided as the submission event type – this raises the expected event when the form is submitted

  • Set Submitted Only Once to Yes

  • In Value Stream Instance ID, select Value Stream Instance ID from the Trigger Event module items – this ensures the correct process resumes when the form is submitted

  • Leave Name and Language empty

  • Select Save

Create Form Magic Link module configuration
Create Form Magic Link module configuration
5

Add the Submit Form Draft module

Add the Submit Form Draft module after the Create Form Magic Link module.

6

Configure the Submit Form Draft module

  • Map the Magic Link ID from the previous step

  • Select the Feedback form to reveal fields available for pre-population – the fields can be left empty

Submit Form Draft module configuration
Submit Form Draft module configuration
7

Email the form to the recipient

Send a message to the recipient containing the magic link. You can use any supported mail provider. The example below uses the Gmail module with a linked account.

Gmail module sending the form magic link
Gmail module sending the form magic link

The complete Make scenario should look like this:

Complete Send a Survey on Hello World scenario in Make
Complete Send a Survey on Hello World scenario in Make
8

Add the Hello World Feedback Provided trigger

In VSM, go to your Hello World value stream and add the Hello World Feedback Provided event as a trigger after the Send a Survey on Hello World process step. This trigger completes the value stream when a form is submitted.

Hello World Feedback Provided trigger added to the value stream
Hello World Feedback Provided trigger added to the value stream
9

Publish, activate, and trigger the process

Publish the value stream and ensure it is activated. Send the event again from Postman or Celonis Action Flow to trigger the process. The email with the survey link is sent to the specified address.

Email with the feedback survey link
Email with the feedback survey link
10

Submit the form and verify completion

Submit the form response, then confirm the last step of your Hello World value stream (Hello World Feedback Provided) completed.

Troubleshooting

If the Hello World value stream trail did not work, try the following:

  • I got the email, submitted the form, but the process did not complete.

    • Check that you mapped the value stream ID in the Create Form Magic Link module

    • Confirm you selected the Hello_feedback_provided event as the submission event type in the Create Form Magic Link module

  • I created the process step with Send a Survey on Hello World and ran the test, but I did not get any email.

    • Check for errors in the Make scenario that sends the email

    • Check your junk folder

    • Check your mail provider logs

Last updated

Was this helpful?