Covered in this article
Related pages
Latest Changelog
Version 1.0.6 ()
Pub-Sub component

Pub-Sub component

An open-source Component for publish–subscribe messaging pattern on platform.


An open-source Component for publish–subscribe messaging pattern on platform. This feature implements conditional logic for data flow in a loosely coupled way, using a “contract” between the Publisher and its Subscribers. Such a “contract” is called a Topic.

Technical Notes

The technical notes page gives some technical details about Pub-Sub component like changelog.


Environment variables

By default no environment variable is necessary to operate the component.


A Topic is a named JSON schema to be used to communicate in a PubSub style. Topic can be created via UI or API-call and contains following information:

  • a unique name within the Workspace
  • JSON schema describing the objects to be exchanged

For example, here is the topic that contains information about some person:

    "data": {
        "type": "topic",
        "attributes": {
            "name": "The person",
            "schema": {
                "$id": "",
                "title": "Person",
                "type": "object",
                "properties": {
                    "firstName": {
                        "type": "string",
                        "description": "The person's first name."
                    "lastName": {
                        "type": "string",
                        "description": "The person's last name."
                    "age": {
                        "description": "Age in years which must be equal to or greater than zero.",
                        "type": "number",
                        "minimum": 0



Trigger, which receives data of a certain type from a Topic as an input and starts the Flow execution after this. When you create a Subscriber Flow you must choose a Topic on which your flow will be listening for messages. You can create as many Subscriber Flows as you want, and they will process messages from the Publisher independently.

Trigger input

Please Note: Topics can only be accessed if they are already in your workspace.Topic can be created via UI or API-call.

Using the Topic schema provided in the Topics section and after step configuration your Subscriber flow can automatically generate this incoming data sample:

Trigger sample

This sample can be used later in your Flows as usual.

        "firstName": "dolore",
        "lastName": "ut enim sunt tempor eu",
        "age": 54053437



Action that publishes a message of a certain type to the topic to be later received by loosely coupled Subscribers. During the creation of a Publisher Flow you must choose a topic created earlier, by which your Publisher Flow will communicate with it’s Subscribers:

Action input

After you have chosen the topic you need, you can enter new data:

Action configure input

Connection between the Publisher and the Subscriber is loosely coupled. This means that your Publisher will never know if there any subscribers at all, and if they processed incoming message.

Get your free 14-day trial account to use this component.